Customize: Remove `theme_installing` notification when installation fails.
Amends [41648]. Props celloexpressions. See #42184, #37661. Built from https://develop.svn.wordpress.org/trunk@42018 git-svn-id: http://core.svn.wordpress.org/trunk@41852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3cd984f024
commit
d19c79fa21
|
@ -1193,7 +1193,7 @@
|
|||
$button = $( '.theme-install[data-slug="' + response.slug + '"]' );
|
||||
$card = $button.closest( '.theme' ).addClass( 'theme-install-failed' ).append( $message );
|
||||
}
|
||||
$( '.wp-full-overlay' ).removeClass( 'customize-loading' );
|
||||
wp.customize.notifications.remove( 'theme_installing' );
|
||||
} else {
|
||||
if ( $document.find( 'body' ).hasClass( 'full-overlay-active' ) ) {
|
||||
$button = $( '.theme-install[data-slug="' + response.slug + '"]' );
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-beta3-42017';
|
||||
$wp_version = '4.9-beta3-42018';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue