diff --git a/src/wp-admin/css/site-health.css b/src/wp-admin/css/site-health.css index 93e90a6cfd..4294924bf9 100644 --- a/src/wp-admin/css/site-health.css +++ b/src/wp-admin/css/site-health.css @@ -153,32 +153,23 @@ .health-check-body .pass::before, .health-check-body .good::before { content: "\f147"; - display: inline-block; color: #46b450; - font-family: dashicons; - vertical-align: top; } .health-check-body .warning::before { content: "\f460"; - display: inline-block; color: #ffb900; - font-family: dashicons; } .health-check-body .info::before { content: "\f348"; - display: inline-block; color: #00a0d2; - font-family: dashicons; } .health-check-body .fail::before, .health-check-body .error::before { content: "\f335"; - display: inline-block; color: #dc3232; - font-family: dashicons; } .site-health-copy-buttons { diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index a0137f798a..d7432eb371 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -889,7 +889,7 @@ class WP_Site_Health { $result['status'] = 'recommended'; } - $failures[ $library ] = "$screen_reader $message"; + $failures[ $library ] = "$screen_reader $message"; } } @@ -1487,7 +1487,7 @@ class WP_Site_Health { } $output .= sprintf( - '
  • %s %s
  • ', + '
  • %s %s
  • ', esc_attr( $test->severity ), $severity_string, $test->description