From d50d124333554d1feb28270f9feb6acfbb8833de Mon Sep 17 00:00:00 2001 From: John Spellman Date: Mon, 5 Dec 2022 10:16:36 -0700 Subject: [PATCH] Fix broken wp_cache_supports() (#382) --- object-cache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/object-cache.php b/object-cache.php index 04b9948..1179e00 100644 --- a/object-cache.php +++ b/object-cache.php @@ -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; }