Site Health: Merge duplicate "Error" strings.

Props ramiy.
Fixes #46915.

git-svn-id: https://develop.svn.wordpress.org/trunk@45195 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-04-13 18:11:46 +00:00
parent 68ac2e4998
commit 7d54ac58cc

View File

@ -1668,7 +1668,7 @@ class WP_Site_Health {
__( 'The REST API request failed due to an error.' ),
sprintf(
/* translators: 1: The HTTP response code. 2: The error message returned. */
__( 'Error encountered: (%1$d) %2$s' ),
__( 'Error: [%1$s] %2$s' ),
wp_remote_retrieve_response_code( $r ),
$r->get_error_message()
)
@ -1949,7 +1949,7 @@ class WP_Site_Health {
__( 'The loopback request to your site failed, this means features relying on them are not currently working as expected.' ),
sprintf(
// translators: 1: The HTTP response code. 2: The error message returned.
__( 'Error encountered: (%1$d) %2$s' ),
__( 'Error: [%1$s] %2$s' ),
wp_remote_retrieve_response_code( $r ),
$r->get_error_message()
)