Skip to content

Commit cad918b

Browse files
author
John Spellman
authored
Fix broken wp_cache_supports() (#382)
1 parent ff9e820 commit cad918b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

object-cache.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,14 @@ function wp_cache_reset() {
301301
*/
302302
function wp_cache_supports( $feature ) {
303303
switch ( $feature ) {
304+
case 'get_multiple':
305+
return true;
306+
304307
case 'add_multiple':
305308
case 'set_multiple':
306-
case 'get_multiple':
307309
case 'delete_multiple':
308310
case 'flush_runtime':
309311
case 'flush_group':
310-
return true;
311-
312312
default:
313313
return false;
314314
}

0 commit comments

Comments
 (0)