Move wp-plugin-update-success event to after lock is released
Fixes #31978 See #31819 Props DavidAnderson Built from https://develop.svn.wordpress.org/trunk@32133 git-svn-id: http://core.svn.wordpress.org/trunk@32112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
20d39c8478
commit
ee9adc354a
|
@ -228,13 +228,14 @@ window.wp = window.wp || {};
|
|||
|
||||
wp.updates.updateDoneSuccessfully = true;
|
||||
|
||||
$(document).trigger( 'wp-plugin-update-success', response );
|
||||
|
||||
/*
|
||||
* The lock can be released since the update was successful,
|
||||
* and any other updates can commence.
|
||||
*/
|
||||
wp.updates.updateLock = false;
|
||||
|
||||
$(document).trigger( 'wp-plugin-update-success', response );
|
||||
|
||||
wp.updates.queueChecker();
|
||||
};
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-beta4-32132';
|
||||
$wp_version = '4.2-beta4-32133';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue