Return a bool from wp_using_ext_object_cache(), never a null.
see #26937. git-svn-id: https://develop.svn.wordpress.org/trunk@27634 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5a49e9f4bf
commit
fb0adf94b3
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user