Move wp-plugin-update-success event to after lock is released
Fixes #31978 See #31819 Props DavidAnderson git-svn-id: https://develop.svn.wordpress.org/trunk@32133 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7b0dbe06fd
commit
686b4af44d
|
@ -228,13 +228,14 @@ window.wp = window.wp || {};
|
||||||
|
|
||||||
wp.updates.updateDoneSuccessfully = true;
|
wp.updates.updateDoneSuccessfully = true;
|
||||||
|
|
||||||
$(document).trigger( 'wp-plugin-update-success', response );
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The lock can be released since the update was successful,
|
* The lock can be released since the update was successful,
|
||||||
* and any other updates can commence.
|
* and any other updates can commence.
|
||||||
*/
|
*/
|
||||||
wp.updates.updateLock = false;
|
wp.updates.updateLock = false;
|
||||||
|
|
||||||
|
$(document).trigger( 'wp-plugin-update-success', response );
|
||||||
|
|
||||||
wp.updates.queueChecker();
|
wp.updates.queueChecker();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue