Shiny Updates: Don't translate an error code string.

props ericlewis.
fixes #31606.
Built from https://develop.svn.wordpress.org/trunk@31751


git-svn-id: http://core.svn.wordpress.org/trunk@31732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-03-12 13:09:27 +00:00
parent b7546d798f
commit e8a600ac94
2 changed files with 3 additions and 3 deletions

View File

@ -2914,7 +2914,7 @@ function wp_ajax_install_plugin() {
$status['error'] = $result->get_error_message();
wp_send_json_error( $status );
} else if ( is_null( $result ) ) {
$status['errorCode'] = __( 'unable_to_connect_to_filesystem' );
$status['errorCode'] = 'unable_to_connect_to_filesystem';
$status['error'] = __( 'Unable to connect to the filesystem. Please confirm your credentials.' );
wp_send_json_error( $status );
}
@ -2964,7 +2964,7 @@ function wp_ajax_update_plugin() {
$status['error'] = $result->get_error_message();
wp_send_json_error( $status );
} else if ( is_bool( $result ) && ! $result ) {
$status['errorCode'] = __( 'unable_to_connect_to_filesystem' );
$status['errorCode'] = 'unable_to_connect_to_filesystem';
$status['error'] = __( 'Unable to connect to the filesystem. Please confirm your credentials.' );
wp_send_json_error( $status );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31750';
$wp_version = '4.2-alpha-31751';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.