Make WordPress Core

Ticket #38176: 38176.5.diff

File 38176.5.diff, 579 bytes (added by jeremyfelt, 8 years ago)
  • src/wp-includes/option.php

     
    300300                return false;
    301301
    302302        /** This filter is documented in wp-includes/option.php */
    303         if ( apply_filters( 'default_option_' . $option, false, $option ) === $old_value ) {
     303        if ( apply_filters( 'default_option_' . $option, false, $option, false ) === $old_value ) {
    304304                // Default setting for new options is 'yes'.
    305305                if ( null === $autoload ) {
    306306                        $autoload = 'yes';