Skip to content

Commit 4f46537

Browse files
committed
Avoid including empty string where version is expected
1 parent 5bb378f commit 4f46537

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/wp-admin/includes/class-wp-site-health.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -739,11 +739,7 @@ public function get_test_php_version() {
739739
),
740740
'description' => sprintf(
741741
'<p>%s</p>',
742-
sprintf(
743-
/* translators: %s: The minimum recommended PHP version. */
744-
__( 'PHP is one of the programming languages used to build WordPress. Newer versions of PHP receive regular security updates and may increase your site&#8217;s performance. The minimum recommended version of PHP is %s.' ),
745-
$response ? $response['recommended_version'] : ''
746-
)
742+
__( 'PHP is one of the programming languages used to build WordPress. Newer versions of PHP receive regular security updates and may increase your site&#8217;s performance.' )
747743
),
748744
'actions' => sprintf(
749745
'<p><a href="%s" target="_blank">%s<span class="screen-reader-text"> %s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',

0 commit comments

Comments
 (0)