From e6dcab7803a9164d0344c2001768042807ba6a74 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 17 May 2019 00:06:49 +0000 Subject: [PATCH] Site Health: In PHP modules test, ensure the description is translated as a whole sentence, not as separate string parts. Props dimadin, SergeyBiryukov. Fixes #47161. git-svn-id: https://develop.svn.wordpress.org/trunk@45331 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-site-health.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index ebaeb18989..b6c5436207 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -740,13 +740,13 @@ class WP_Site_Health { '

%s

%s

', __( 'PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.' ), sprintf( - /* translators: %s: Link to the hosting group page about recommended PHP modules. */ - __( 'The WordPress Hosting Team maintains a list of those modules, both recommended and required, in %s.' ), + /* translators: 1: Link to the hosting group page about recommended PHP modules. 2: Additional link attributes. 3: Accessibility text. */ + __( 'The WordPress Hosting Team maintains a list of those modules, both recommended and required, in the team handbook %3$s.' ), + /* translators: Localized team handbook, if one exists. */ + esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ), + 'target="_blank" rel="noopener noreferrer"', sprintf( - '%2$s %3$s', - /* translators: Localized team handbook, if one exists. */ - esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ), - __( 'the team handbook' ), + '%s', /* translators: accessibility text */ __( '(opens in a new tab)' ) )