From b498d919f02e80d94c26f8852a44896819b782bc Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 13 Apr 2020 14:24:35 -0700 Subject: [PATCH] Fix translators comment --- includes/amp-helper-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/amp-helper-functions.php b/includes/amp-helper-functions.php index a366c2946e4..6a5ca77cb5c 100644 --- a/includes/amp-helper-functions.php +++ b/includes/amp-helper-functions.php @@ -573,8 +573,8 @@ function is_amp_endpoint() { $warned = false; $error_message = sprintf( - /* translators: %1$s: is_amp_endpoint(), %2$s: the current action, %3$s: the wp action, %4$s: the parse_request action, %5$s: the WP_Query class, %6$s: the amp_skip_post() function */ - __( '%1$s was called too early and so it will not work properly. WordPress is currently doing the "%2$s" action. Calling this function before the "%3$s" action means it will not have access to %4$s and the queried object to determine if it is an AMP response, thus neither the %5$s filter nor the AMP enabled toggle will be considered.', 'amp' ), + /* translators: %1$s: is_amp_endpoint(), %2$s: the current action, %3$s: the wp action, %4$s: the WP_Query class, %5$s: the amp_skip_post() function */ + __( '%1$s was called too early and so it will not work properly. WordPress is currently doing the "%2$s" action. Calling this function before the "%3$s" action means it will not have access to %4$s and the queried object to determine if it is an AMP response, thus neither the "%5$s" filter nor the AMP enabled toggle will be considered.', 'amp' ), __FUNCTION__ . '()', current_action(), 'wp',