Skip to content

Commit

Permalink
Fix broken wp_cache_supports() (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
John Spellman authored Dec 5, 2022
1 parent ff9e820 commit cad918b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,14 +301,14 @@ function wp_cache_reset() {
*/
function wp_cache_supports( $feature ) {
switch ( $feature ) {
case 'get_multiple':
return true;

case 'add_multiple':
case 'set_multiple':
case 'get_multiple':
case 'delete_multiple':
case 'flush_runtime':
case 'flush_group':
return true;

default:
return false;
}
Expand Down

0 comments on commit cad918b

Please sign in to comment.