Skip to content

Commit 28e3449

Browse files
committed
Fix typo in comment regarding unhooking all_options in NoTransients class
1 parent 7bfc5bf commit 28e3449

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

default-no-db-transients.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,10 @@ public function remove_transients_from_alloptions( $alloptions ) {
9797
}
9898

9999
/**
100-
* Since all_options is called at each WordPres get_option, we need to unhook to not parse it each time.
100+
* Since all_options is called at each WordPress get_option, we need to unhook to not parse it each time.
101101
**/
102102
remove_filter( 'alloptions', [ $this, 'remove_transients_from_alloptions' ] );
103103

104-
105104
return $alloptions;
106105
}
107106

0 commit comments

Comments
 (0)