mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-22 05:43:45 +02:00
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. Merges [32780] to the 4.2 branch Fixes #32110 for 4.2 Built from https://develop.svn.wordpress.org/branches/4.2@33306 git-svn-id: http://core.svn.wordpress.org/branches/4.2@33278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
78b8290b7a
commit
c4faea356b
|
@ -266,7 +266,15 @@ window.wp = window.wp || {};
|
|||
$message.html( wp.updates.l10n.updateFailed + ': ' + 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();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
2
wp-admin/js/updates.min.js
vendored
2
wp-admin/js/updates.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user