Updates: When an update fails (and it's not during the credential form) allow further updates to continue, with the assumption that the error only affects a single plugin.

Props magicroundabout. Fixes #32110 for trunk.

Built from https://develop.svn.wordpress.org/trunk@32780


git-svn-id: http://core.svn.wordpress.org/trunk@32751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2015-06-15 04:28:25 +00:00
parent 6eef8a8ff2
commit 629545aaf5
3 changed files with 10 additions and 2 deletions

View File

@ -266,7 +266,15 @@ window.wp = window.wp || {};
$message.html( wp.updates.l10n.updateFailed.replace( '%s', response.error ) );
wp.a11y.speak( wp.updates.l10n.updateFailed );
/*
* The lock can be released since this failure was
* after the credentials form.
*/
wp.updates.updateLock = false;
$(document).trigger( 'wp-plugin-update-error', 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.3-alpha-32779';
$wp_version = '4.3-alpha-32780';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.