Updates: When a connection failure occurs, and no credential form is present client side, allow it to fall through to the normal failure handlers.

See #32435

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


git-svn-id: http://core.svn.wordpress.org/trunk@32747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2015-06-15 02:48:28 +00:00
parent 947eef9468
commit a4b4918377
3 changed files with 3 additions and 3 deletions

View File

@ -250,7 +250,7 @@ window.wp = window.wp || {};
wp.updates.updateError = function( response ) { wp.updates.updateError = function( response ) {
var $message, name; var $message, name;
wp.updates.updateDoneSuccessfully = false; wp.updates.updateDoneSuccessfully = false;
if ( response.errorCode && response.errorCode == 'unable_to_connect_to_filesystem' ) { if ( response.errorCode && response.errorCode == 'unable_to_connect_to_filesystem' && wp.updates.shouldRequestFilesystemCredentials ) {
wp.updates.credentialError( response, 'update-plugin' ); wp.updates.credentialError( response, 'update-plugin' );
return; return;
} }

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32775'; $wp_version = '4.3-alpha-32776';
/** /**
* 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.