From 01e2b8b1e27088e9f61fd947ca226594a9658313 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 15 Jun 2017 12:06:06 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/class-wp-community-events.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-community-events.php b/src/wp-admin/includes/class-wp-community-events.php index cfe12fd52c..211d37ea5e 100644 --- a/src/wp-admin/includes/class-wp-community-events.php +++ b/src/wp-admin/includes/class-wp-community-events.php @@ -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'] ) ) {