From f82cca94600d293bee36acbdea44305b2ebeb20c Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 23 Jan 2025 14:50:26 -0800 Subject: [PATCH] Remove blockquote Co-authored-by: felixarntz --- .../site-health/bfcache-compatibility-headers/helper.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/performance-lab/includes/site-health/bfcache-compatibility-headers/helper.php b/plugins/performance-lab/includes/site-health/bfcache-compatibility-headers/helper.php index 7eacbaa69..2a5077337 100644 --- a/plugins/performance-lab/includes/site-health/bfcache-compatibility-headers/helper.php +++ b/plugins/performance-lab/includes/site-health/bfcache-compatibility-headers/helper.php @@ -46,12 +46,13 @@ function perflab_bfcache_compatibility_headers_check(): array { $result['status'] = 'recommended'; $result['description'] = '

' . wp_kses( sprintf( - /* translators: %s is the error code */ - __( 'The request to check the Cache-Control response header responded with error code %s and the following error message:', 'performance-lab' ), - esc_html( (string) $response->get_error_code() ) + /* translators: 1: the error code, 2: the error message */ + __( 'The request to check the Cache-Control response header responded with error code %1$s and the following error message: %2$s.', 'performance-lab' ), + esc_html( (string) $response->get_error_code() ), + esc_html( rtrim( $response->get_error_message(), '.' ) ) ), array( 'code' => array() ) - ) . '

' . esc_html( $response->get_error_message() ) . '
'; + ) . '

'; return $result; }