Changeset 31473 for trunk/src/wp-includes/option.php
- Timestamp:
- 02/18/2015 07:13:43 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/option.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r31414 r31473 269 269 return false; 270 270 271 if ( false === $old_value ) 271 /** This filter is documented in wp-includes/option.php */ 272 if ( apply_filters( 'default_option_' . $option, false ) === $old_value ) 272 273 return add_option( $option, $value ); 273 274 … … 371 372 $notoptions = wp_cache_get( 'notoptions', 'options' ); 372 373 if ( !is_array( $notoptions ) || !isset( $notoptions[$option] ) ) 373 if ( false !== get_option( $option ) ) 374 /** This filter is documented in wp-includes/option.php */ 375 if ( apply_filters( 'default_option_' . $option, false ) !== get_option( $option ) ) 374 376 return false; 375 377
Note: See TracChangeset
for help on using the changeset viewer.