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:
parent
6eef8a8ff2
commit
629545aaf5
|
@ -266,7 +266,15 @@ window.wp = window.wp || {};
|
||||||
$message.html( wp.updates.l10n.updateFailed.replace( '%s', response.error ) );
|
$message.html( wp.updates.l10n.updateFailed.replace( '%s', response.error ) );
|
||||||
wp.a11y.speak( wp.updates.l10n.updateFailed );
|
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 );
|
$(document).trigger( 'wp-plugin-update-error', response );
|
||||||
|
|
||||||
|
wp.updates.queueChecker();
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue