Customize: Fix clearing of `fresh_site` option flag when editing sidebars on widgets admin screen.
Amends [38991]. See #38114, #38533. Fixes #40722. Built from https://develop.svn.wordpress.org/trunk@40608 git-svn-id: http://core.svn.wordpress.org/trunk@40478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b952bf4eae
commit
7349c22b73
|
@ -190,7 +190,7 @@ add_filter( 'wp_mail', 'wp_staticize_emoji_for_email' );
|
|||
|
||||
// Mark site as no longer fresh
|
||||
foreach ( array( 'publish_post', 'publish_page', 'wp_ajax_save-widget', 'wp_ajax_widgets-order', 'customize_save_after' ) as $action ) {
|
||||
add_action( $action, '_delete_option_fresh_site' );
|
||||
add_action( $action, '_delete_option_fresh_site', 0 );
|
||||
}
|
||||
|
||||
// Misc filters
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-40607';
|
||||
$wp_version = '4.8-alpha-40608';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue