Skip to content

Commit 638a82c

Browse files
committed
Site Health: Fix missing error icon in dot org status test.
The error indicator in the WordPress.org communication test lost its icon class, so no icon appeared when the check failed. Restore the icon class on the error element. Props sabernhardt, valani9099, wildworks. Fixes #65014. git-svn-id: https://develop.svn.wordpress.org/trunk@62545 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1695188 commit 638a82c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ public function get_test_dotorg_communication() {
13571357
$result['description'] .= sprintf(
13581358
'<p>%s</p>',
13591359
sprintf(
1360-
'<span class="error"><span class="screen-reader-text">%s</span></span> %s',
1360+
'<span class="dashicons error" aria-hidden="true"></span><span class="screen-reader-text">%s</span> %s',
13611361
/* translators: Hidden accessibility text. */
13621362
__( 'Error' ),
13631363
sprintf(

0 commit comments

Comments
 (0)