- Timestamp:
- 05/15/2019 02:24:15 PM (6 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/site-health.css
r45229 r45309 154 154 .health-check-body .good::before { 155 155 content: "\f147"; 156 display: inline-block;157 156 color: #46b450; 158 font-family: dashicons;159 vertical-align: top;160 157 } 161 158 162 159 .health-check-body .warning::before { 163 160 content: "\f460"; 164 display: inline-block;165 161 color: #ffb900; 166 font-family: dashicons;167 162 } 168 163 169 164 .health-check-body .info::before { 170 165 content: "\f348"; 171 display: inline-block;172 166 color: #00a0d2; 173 font-family: dashicons;174 167 } 175 168 … … 177 170 .health-check-body .error::before { 178 171 content: "\f335"; 179 display: inline-block;180 172 color: #dc3232; 181 font-family: dashicons;182 173 } 183 174 -
trunk/src/wp-admin/includes/class-wp-site-health.php
r45308 r45309 890 890 } 891 891 892 $failures[ $library ] = "<span class=' $class'><span class='screen-reader-text'>$screen_reader</span></span> $message";892 $failures[ $library ] = "<span class='dashicons $class'><span class='screen-reader-text'>$screen_reader</span></span> $message"; 893 893 } 894 894 } … … 1488 1488 1489 1489 $output .= sprintf( 1490 '<li><span class=" %s"><span class="screen-reader-text">%s</span></span> %s</li>',1490 '<li><span class="dashicons %s"><span class="screen-reader-text">%s</span></span> %s</li>', 1491 1491 esc_attr( $test->severity ), 1492 1492 $severity_string,
Note: See TracChangeset
for help on using the changeset viewer.