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:
Aaron Jorbin 2015-04-15 14:37:27 +00:00
parent 20d39c8478
commit ee9adc354a
3 changed files with 5 additions and 4 deletions

View File

@ -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

View File

@ -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.