Return a bool from wp_using_ext_object_cache(), never a null.

see #26937.

Built from https://develop.svn.wordpress.org/trunk@27634


git-svn-id: http://core.svn.wordpress.org/trunk@27477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-03-20 02:55:14 +00:00
parent f75e5a023c
commit 2061a3aa5f

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