Skip to content

Commit

Permalink
Remove blockquote
Browse files Browse the repository at this point in the history
Co-authored-by: felixarntz <[email protected]>
  • Loading branch information
westonruter and felixarntz committed Jan 23, 2025
1 parent c9a7134 commit f82cca9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,13 @@ function perflab_bfcache_compatibility_headers_check(): array {
$result['status'] = 'recommended';
$result['description'] = '<p>' . wp_kses(
sprintf(
/* translators: %s is the error code */
__( 'The request to check the Cache-Control response header responded with error code <code>%s</code> 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 <code>%1$s</code> 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() )
) . '</p><blockquote>' . esc_html( $response->get_error_message() ) . '</blockquote>';
) . '</p>';
return $result;
}

Expand Down

0 comments on commit f82cca9

Please sign in to comment.