mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
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:
parent
b7546d798f
commit
e8a600ac94
@ -2914,7 +2914,7 @@ function wp_ajax_install_plugin() {
|
|||||||
$status['error'] = $result->get_error_message();
|
$status['error'] = $result->get_error_message();
|
||||||
wp_send_json_error( $status );
|
wp_send_json_error( $status );
|
||||||
} else if ( is_null( $result ) ) {
|
} 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.' );
|
$status['error'] = __( 'Unable to connect to the filesystem. Please confirm your credentials.' );
|
||||||
wp_send_json_error( $status );
|
wp_send_json_error( $status );
|
||||||
}
|
}
|
||||||
@ -2964,7 +2964,7 @@ function wp_ajax_update_plugin() {
|
|||||||
$status['error'] = $result->get_error_message();
|
$status['error'] = $result->get_error_message();
|
||||||
wp_send_json_error( $status );
|
wp_send_json_error( $status );
|
||||||
} else if ( is_bool( $result ) && ! $result ) {
|
} 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.' );
|
$status['error'] = __( 'Unable to connect to the filesystem. Please confirm your credentials.' );
|
||||||
wp_send_json_error( $status );
|
wp_send_json_error( $status );
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user