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.
Built from https://develop.svn.wordpress.org/trunk@45331


git-svn-id: http://core.svn.wordpress.org/trunk@45142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-17 00:07:54 +00:00
parent 9c1a666249
commit a9fc042377
2 changed files with 7 additions and 7 deletions

View File

@ -740,13 +740,13 @@ class WP_Site_Health {
'<p>%s</p><p>%s</p>',
__( '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.' ),
sprintf(
'<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
/* 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 <a href="%1$s" %2$s>the team handbook %3$s</a>.' ),
/* translators: Localized team handbook, if one exists. */
esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ),
__( 'the team handbook' ),
'target="_blank" rel="noopener noreferrer"',
sprintf(
'<span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span>',
/* translators: accessibility text */
__( '(opens in a new tab)' )
)

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45328';
$wp_version = '5.3-alpha-45331';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.