WordPress.org

Make WordPress Core

Changeset 5842


Ignore:
Timestamp:
08/02/2007 10:51:42 PM (11 years ago)
Author:
markjaquith
Message:

Allow pre_option_ filters to return values that evaluate as false. fixes #4695

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r5829 r5842  
    184184    // Allow plugins to short-circuit options.
    185185    $pre = apply_filters( 'pre_option_' . $setting, false );
    186     if ( $pre )
     186    if ( false !== $pre )
    187187        return $pre;
    188188
Note: See TracChangeset for help on using the changeset viewer.