I18N: Correct translator comment for response error message in WP_Community_Events::get_events().

Props Soean, tfirdaus.
Fixes #40939.

git-svn-id: https://develop.svn.wordpress.org/trunk@40909 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-06-15 12:06:06 +00:00
parent c40cbe75de
commit 01e2b8b1e2

View File

@ -107,7 +107,7 @@ class WP_Community_Events {
} elseif ( 200 !== $response_code ) {
$response_error = new WP_Error(
'api-error',
/* translators: %s is a numeric HTTP status code; e.g., 400, 403, 500, 504, etc. */
/* translators: %d: numeric HTTP status code, e.g. 400, 403, 500, 504, etc. */
sprintf( __( 'Invalid API response code (%d)' ), $response_code )
);
} elseif ( ! isset( $response_body['location'], $response_body['events'] ) ) {