diff --git a/src/wp-admin/css/site-health.css b/src/wp-admin/css/site-health.css
index 1a9c8cd667..7112efae3d 100644
a
|
b
|
|
318 | 318 | } |
319 | 319 | |
320 | 320 | .health-check-accordion-trigger .badge { |
321 | | display: inline-block; |
| 321 | float: right; |
322 | 322 | padding: 0.1rem 0.5rem 0.15rem; |
323 | | background-color: #d7dade; |
324 | | border-radius: 3px; |
325 | 323 | color: #000; |
326 | 324 | font-weight: 600; |
327 | | margin: 0 0.5rem; |
| 325 | margin: 0 2rem 0 0.5rem; |
328 | 326 | } |
329 | 327 | |
330 | 328 | .health-check-accordion-trigger .badge.blue { |
331 | | background-color: #0073af; |
332 | | color: #fff; |
| 329 | border: 1px solid #0073af; |
333 | 330 | } |
334 | 331 | |
335 | 332 | .health-check-accordion-trigger .badge.orange { |
336 | | background-color: #ffb900; |
337 | | color: #000; |
| 333 | border: 1px solid #ffb900; |
338 | 334 | } |
339 | 335 | |
340 | 336 | .health-check-accordion-trigger .badge.red { |
341 | | background-color: #dc3232; |
342 | | color: #fff; |
| 337 | border: 1px solid #dc3232; |
343 | 338 | } |
344 | 339 | |
345 | 340 | .health-check-accordion-trigger .badge.green { |
346 | | background-color: #40860a; |
347 | | color: #fff; |
| 341 | border: 1px solid #40860a; |
348 | 342 | } |
349 | 343 | |
350 | 344 | .health-check-accordion-trigger .badge.pink { |
351 | | background-color: #f4b0fc; |
352 | | color: #000; |
| 345 | border: 1px solid #f4b0fc; |
353 | 346 | } |
354 | 347 | |
355 | 348 | .health-check-accordion-trigger .badge.gray { |
356 | | background-color: #ccc; |
357 | | color: #000; |
| 349 | border: 1px solid #ccc; |
358 | 350 | } |
359 | 351 | |
360 | 352 | .health-check-accordion-trigger .badge.light-blue { |
361 | | background-color: #10e9fb; |
362 | | color: #000; |
| 353 | border: 1px solid #10e9fb; |
363 | 354 | } |
364 | 355 | |
365 | 356 | .health-check-accordion-trigger .badge.light-green { |
366 | | background-color: #60f999; |
367 | | color: #000; |
| 357 | border: 1px solid #60f999; |
368 | 358 | } |
369 | 359 | |
370 | 360 | .health-check-accordion-trigger[aria-expanded="true"] .icon { |
diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php
index 85420f4b8d..766bc19ea5 100644
a
|
b
|
class WP_Site_Health { |
183 | 183 | 'status' => '', |
184 | 184 | 'badge' => array( |
185 | 185 | 'label' => __( 'Performance' ), |
186 | | 'color' => 'red', |
| 186 | 'color' => 'blue', |
187 | 187 | ), |
188 | 188 | 'description' => '', |
189 | 189 | 'actions' => '', |
… |
… |
class WP_Site_Health { |
283 | 283 | 'status' => 'good', |
284 | 284 | 'badge' => array( |
285 | 285 | 'label' => __( 'Security' ), |
286 | | 'color' => 'red', |
| 286 | 'color' => 'blue', |
287 | 287 | ), |
288 | 288 | 'description' => sprintf( |
289 | 289 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
399 | 399 | 'status' => 'good', |
400 | 400 | 'badge' => array( |
401 | 401 | 'label' => __( 'Security' ), |
402 | | 'color' => 'red', |
| 402 | 'color' => 'blue', |
403 | 403 | ), |
404 | 404 | 'description' => sprintf( |
405 | 405 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
623 | 623 | 'status' => 'good', |
624 | 624 | 'badge' => array( |
625 | 625 | 'label' => __( 'Performance' ), |
626 | | 'color' => 'red', |
| 626 | 'color' => 'blue', |
627 | 627 | ), |
628 | 628 | 'description' => sprintf( |
629 | 629 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
712 | 712 | 'status' => 'good', |
713 | 713 | 'badge' => array( |
714 | 714 | 'label' => __( 'Performance' ), |
715 | | 'color' => 'orange', |
| 715 | 'color' => 'blue', |
716 | 716 | ), |
717 | 717 | 'description' => sprintf( |
718 | 718 | '<p>%s</p><p>%s</p>', |
… |
… |
class WP_Site_Health { |
908 | 908 | 'status' => 'good', |
909 | 909 | 'badge' => array( |
910 | 910 | 'label' => __( 'Performance' ), |
911 | | 'color' => 'red', |
| 911 | 'color' => 'blue', |
912 | 912 | ), |
913 | 913 | 'description' => sprintf( |
914 | 914 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
988 | 988 | 'status' => 'good', |
989 | 989 | 'badge' => array( |
990 | 990 | 'label' => __( 'Performance' ), |
991 | | 'color' => 'orange', |
| 991 | 'color' => 'blue', |
992 | 992 | ), |
993 | 993 | 'description' => sprintf( |
994 | 994 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1103 | 1103 | 'status' => '', |
1104 | 1104 | 'badge' => array( |
1105 | 1105 | 'label' => __( 'Security' ), |
1106 | | 'color' => 'red', |
| 1106 | 'color' => 'blue', |
1107 | 1107 | ), |
1108 | 1108 | 'description' => sprintf( |
1109 | 1109 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1163 | 1163 | 'status' => 'good', |
1164 | 1164 | 'badge' => array( |
1165 | 1165 | 'label' => __( 'Security' ), |
1166 | | 'color' => 'red', |
| 1166 | 'color' => 'blue', |
1167 | 1167 | ), |
1168 | 1168 | 'description' => sprintf( |
1169 | 1169 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1224 | 1224 | 'status' => 'good', |
1225 | 1225 | 'badge' => array( |
1226 | 1226 | 'label' => __( 'Security' ), |
1227 | | 'color' => 'red', |
| 1227 | 'color' => 'blue', |
1228 | 1228 | ), |
1229 | 1229 | 'description' => sprintf( |
1230 | 1230 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1287 | 1287 | 'status' => '', |
1288 | 1288 | 'badge' => array( |
1289 | 1289 | 'label' => __( 'Security' ), |
1290 | | 'color' => 'red', |
| 1290 | 'color' => 'blue', |
1291 | 1291 | ), |
1292 | 1292 | 'description' => sprintf( |
1293 | 1293 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1333 | 1333 | 'status' => 'good', |
1334 | 1334 | 'badge' => array( |
1335 | 1335 | 'label' => __( 'Performance' ), |
1336 | | 'color' => 'orange', |
| 1336 | 'color' => 'blue', |
1337 | 1337 | ), |
1338 | 1338 | 'description' => sprintf( |
1339 | 1339 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1394 | 1394 | 'status' => 'good', |
1395 | 1395 | 'badge' => array( |
1396 | 1396 | 'label' => __( 'Security' ), |
1397 | | 'color' => 'red', |
| 1397 | 'color' => 'blue', |
1398 | 1398 | ), |
1399 | 1399 | 'description' => sprintf( |
1400 | 1400 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1470 | 1470 | 'status' => 'good', |
1471 | 1471 | 'badge' => array( |
1472 | 1472 | 'label' => __( 'Performance' ), |
1473 | | 'color' => 'orange', |
| 1473 | 'color' => 'blue', |
1474 | 1474 | ), |
1475 | 1475 | 'description' => sprintf( |
1476 | 1476 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1512 | 1512 | 'status' => 'good', |
1513 | 1513 | 'badge' => array( |
1514 | 1514 | 'label' => __( 'Performance' ), |
1515 | | 'color' => 'orange', |
| 1515 | 'color' => 'blue', |
1516 | 1516 | ), |
1517 | 1517 | 'description' => sprintf( |
1518 | 1518 | '<p>%s</p>', |
… |
… |
class WP_Site_Health { |
1583 | 1583 | 'status' => 'good', |
1584 | 1584 | 'badge' => array( |
1585 | 1585 | 'label' => __( 'Performance' ), |
1586 | | 'color' => 'orange', |
| 1586 | 'color' => 'blue', |
1587 | 1587 | ), |
1588 | 1588 | 'description' => sprintf( |
1589 | 1589 | '<p>%s</p>', |