WordPress.org

Make WordPress Core

Changeset 40608


Ignore:
Timestamp:
05/10/2017 09:24:29 PM (13 months ago)
Author:
westonruter
Message:

Customize: Fix clearing of fresh_site option flag when editing sidebars on widgets admin screen.

Amends [38991].
See #38114, #38533.
Fixes #40722.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r40360 r40608  
    191191// Mark site as no longer fresh
    192192foreach ( array( 'publish_post', 'publish_page', 'wp_ajax_save-widget', 'wp_ajax_widgets-order', 'customize_save_after' ) as $action ) {
    193     add_action( $action, '_delete_option_fresh_site' );
     193    add_action( $action, '_delete_option_fresh_site', 0 );
    194194}
    195195
Note: See TracChangeset for help on using the changeset viewer.