Skip to content
Permalink
Browse files

Site Health: In PHP modules test, ensure the description is translate…

…d as a whole sentence, not as separate string parts.

Props dimadin, SergeyBiryukov.
Merges [45331] to the 5.2 branch.
Fixes #47161.

git-svn-id: https://develop.svn.wordpress.org/branches/5.2@45332 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed May 17, 2019
1 parent 9f96a6b commit e5a99a4b71caf0569288f0197e58778487ecd5e9
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/wp-admin/includes/class-wp-site-health.php
@@ -740,13 +740,13 @@ public function get_test_php_extensions() {
'<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.' ),
/* 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' ) ),
'target="_blank" rel="noopener noreferrer"',
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: Localized team handbook, if one exists. */
esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ),
__( 'the team handbook' ),
'<span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span>',
/* translators: accessibility text */
__( '(opens in a new tab)' )
)

0 comments on commit e5a99a4

Please sign in to comment.
You can’t perform that action at this time.