WordPress.org

Make WordPress Core

Changeset 27634


Ignore:
Timestamp:
03/20/14 02:54:26 (4 years ago)
Author:
nacin
Message:

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

see #26937.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/load.php

    r27557 r27634  
    378378    if ( null !== $using ) 
    379379        $_wp_using_ext_object_cache = $using; 
    380     return $current_using; 
     380    return (bool) $current_using; 
    381381} 
    382382 
Note: See TracChangeset for help on using the changeset viewer.