WordPress.org

Make WordPress Core

Changeset 18589


Ignore:
Timestamp:
08/23/11 21:12:14 (3 years ago)
Author:
duck_
Message:

Allow update_site_option to add false-y values. Fixes #15497

File:
1 edited

Legend:

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

    r18588 r18589  
    38873887        return false; 
    38883888 
    3889     if ( $value && false === $oldvalue ) 
     3889    if ( false === $oldvalue ) 
    38903890        return add_site_option( $option, $value ); 
    38913891 
Note: See TracChangeset for help on using the changeset viewer.