Skip to content

Commit

Permalink
Remove all options cache too.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Dec 22, 2024
1 parent feb1c31 commit c711e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/tests/option/option.php
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ public function test_get_option_does_not_hit_the_external_cache_multiple_times_f
add_option( $option_name, 'value' );
}

wp_cache_delete_multiple( array( $option_name, 'notoptions' ), 'options' );
wp_cache_delete_multiple( array( $option_name, 'notoptions', 'alloptions' ), 'options' );

if ( wp_using_ext_object_cache() ) {
/*
Expand Down

0 comments on commit c711e04

Please sign in to comment.