Changeset 47306 for trunk/src/wp-admin/includes/class-wp-site-health.php
- Timestamp:
- 02/18/2020 04:46:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r47254 r47306 1864 1864 __( 'The REST API request failed due to an error.' ), 1865 1865 sprintf( 1866 /* translators: 1: The HTTP response code. 2: The error message returned. */1867 __( 'Error: [%1$s] %2$s' ),1868 wp_remote_retrieve_response_code( $r),1869 $r->get_error_ message()1866 /* translators: 1: The WordPress error message. 2: The WordPress error code. */ 1867 __( 'Error: %1$s (%2$s)' ), 1868 $r->get_error_message(), 1869 $r->get_error_code() 1870 1870 ) 1871 1871 ) … … 1879 1879 '<p>%s</p>', 1880 1880 sprintf( 1881 /* translators: 1: The HTTP response code returned. 2: The error message returned. */1881 /* translators: 1: The HTTP error code. 2: The HTTP error message. */ 1882 1882 __( 'The REST API call gave the following unexpected result: (%1$d) %2$s.' ), 1883 1883 wp_remote_retrieve_response_code( $r ), … … 2186 2186 __( 'The loopback request to your site failed, this means features relying on them are not currently working as expected.' ), 2187 2187 sprintf( 2188 /* translators: 1: The HTTP response code. 2: The error message returned. */2189 __( 'Error: [%1$s] %2$s' ),2190 wp_remote_retrieve_response_code( $r),2191 $r->get_error_ message()2188 /* translators: 1: The WordPress error message. 2: The WordPress error code. */ 2189 __( 'Error: %1$s (%2$s)' ), 2190 $r->get_error_message(), 2191 $r->get_error_code() 2192 2192 ) 2193 2193 ),
Note: See TracChangeset
for help on using the changeset viewer.