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:
Andrew Nacin 2014-03-20 02:54:26 +00:00
parent 5a49e9f4bf
commit fb0adf94b3

View File

@ -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;
}
/**