Changeset 37367 for trunk/src/wp-includes/option.php
- Timestamp:
- 05/05/2016 08:23:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r37264 r37367 296 296 297 297 /** This filter is documented in wp-includes/option.php */ 298 if ( apply_filters( 'default_option_' . $option, false ) === $old_value ) {298 if ( apply_filters( 'default_option_' . $option, false, $option ) === $old_value ) { 299 299 // Default setting for new options is 'yes'. 300 300 if ( null === $autoload ) { … … 417 417 if ( !is_array( $notoptions ) || !isset( $notoptions[$option] ) ) 418 418 /** This filter is documented in wp-includes/option.php */ 419 if ( apply_filters( 'default_option_' . $option, false ) !== get_option( $option ) )419 if ( apply_filters( 'default_option_' . $option, false, $option ) !== get_option( $option ) ) 420 420 return false; 421 421
Note: See TracChangeset
for help on using the changeset viewer.