diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index f46572e3cc..ffafea79da 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -377,7 +377,7 @@ function wp_using_ext_object_cache( $using = null ) { $current_using = $_wp_using_ext_object_cache; if ( null !== $using ) $_wp_using_ext_object_cache = $using; - return $current_using; + return (bool) $current_using; } /**