Ticket #46623: 46623.2.patch
File 46623.2.patch, 5.3 KB (added by , 6 years ago) |
---|
-
src/wp-admin/css/site-health.css
330 330 } 331 331 332 332 .health-check-accordion-trigger .badge { 333 display: inline-block;333 float: right; 334 334 padding: 0.1rem 0.5rem 0.15rem; 335 background-color: #d7dade;336 border-radius: 3px;337 335 color: #000; 338 336 font-weight: 600; 339 margin: 0 0.5rem;337 margin: 0 2rem 0 0.5rem; 340 338 } 341 339 342 340 .health-check-accordion-trigger .badge.blue { 343 background-color: #0073af; 344 color: #fff; 341 border: 1px solid #0073af; 345 342 } 346 343 347 344 .health-check-accordion-trigger .badge.orange { 348 background-color: #ffb900; 349 color: #000; 345 border: 1px solid #ffb900; 350 346 } 351 347 352 348 .health-check-accordion-trigger .badge.red { 353 background-color: #dc3232; 354 color: #fff; 349 border: 1px solid #dc3232; 355 350 } 356 351 357 352 .health-check-accordion-trigger .badge.green { 358 background-color: #40860a; 359 color: #fff; 353 border: 1px solid #40860a; 360 354 } 361 355 362 356 .health-check-accordion-trigger .badge.pink { 363 background-color: #f4b0fc; 364 color: #000; 357 border: 1px solid #f4b0fc; 365 358 } 366 359 367 360 .health-check-accordion-trigger .badge.gray { 368 background-color: #ccc; 369 color: #000; 361 border: 1px solid #ccc; 370 362 } 371 363 372 364 .health-check-accordion-trigger .badge.light-blue { 373 background-color: #10e9fb; 374 color: #000; 365 border: 1px solid #10e9fb; 375 366 } 376 367 377 368 .health-check-accordion-trigger .badge.light-green { 378 background-color: #60f999; 379 color: #000; 369 border: 1px solid #60f999; 380 370 } 381 371 382 372 .health-check-accordion-trigger[aria-expanded="true"] .icon { -
src/wp-admin/includes/class-wp-site-health.php
183 183 'status' => '', 184 184 'badge' => array( 185 185 'label' => __( 'Security' ), 186 'color' => ' red',186 'color' => 'blue', 187 187 ), 188 188 'description' => '', 189 189 'actions' => '', … … 282 282 'status' => 'good', 283 283 'badge' => array( 284 284 'label' => __( 'Security' ), 285 'color' => ' red',285 'color' => 'blue', 286 286 ), 287 287 'description' => sprintf( 288 288 '<p>%s</p>', … … 398 398 'status' => 'good', 399 399 'badge' => array( 400 400 'label' => __( 'Security' ), 401 'color' => ' red',401 'color' => 'blue', 402 402 ), 403 403 'description' => sprintf( 404 404 '<p>%s</p>', … … 622 622 'status' => 'good', 623 623 'badge' => array( 624 624 'label' => __( 'Security' ), 625 'color' => ' red',625 'color' => 'blue', 626 626 ), 627 627 'description' => sprintf( 628 628 '<p>%s</p>', … … 710 710 'status' => 'good', 711 711 'badge' => array( 712 712 'label' => __( 'Performance' ), 713 'color' => ' orange',713 'color' => 'blue', 714 714 ), 715 715 'description' => sprintf( 716 716 '<p>%s</p><p>%s</p>', … … 906 906 'status' => 'good', 907 907 'badge' => array( 908 908 'label' => __( 'Security' ), 909 'color' => ' red',909 'color' => 'blue', 910 910 ), 911 911 'description' => sprintf( 912 912 '<p>%s</p>', … … 985 985 'status' => 'good', 986 986 'badge' => array( 987 987 'label' => __( 'Performance' ), 988 'color' => ' orange',988 'color' => 'blue', 989 989 ), 990 990 'description' => sprintf( 991 991 '<p>%s</p>', … … 1100 1100 'status' => '', 1101 1101 'badge' => array( 1102 1102 'label' => __( 'Security' ), 1103 'color' => ' red',1103 'color' => 'blue', 1104 1104 ), 1105 1105 'description' => sprintf( 1106 1106 '<p>%s</p>', … … 1160 1160 'status' => 'good', 1161 1161 'badge' => array( 1162 1162 'label' => __( 'Security' ), 1163 'color' => ' red',1163 'color' => 'blue', 1164 1164 ), 1165 1165 'description' => sprintf( 1166 1166 '<p>%s</p>', … … 1221 1221 'status' => 'good', 1222 1222 'badge' => array( 1223 1223 'label' => __( 'Security' ), 1224 'color' => ' red',1224 'color' => 'blue', 1225 1225 ), 1226 1226 'description' => sprintf( 1227 1227 '<p>%s</p>', … … 1284 1284 'status' => '', 1285 1285 'badge' => array( 1286 1286 'label' => __( 'Security' ), 1287 'color' => ' red',1287 'color' => 'blue', 1288 1288 ), 1289 1289 'description' => sprintf( 1290 1290 '<p>%s</p>', … … 1330 1330 'status' => 'good', 1331 1331 'badge' => array( 1332 1332 'label' => __( 'Performance' ), 1333 'color' => ' orange',1333 'color' => 'blue', 1334 1334 ), 1335 1335 'description' => sprintf( 1336 1336 '<p>%s</p>', … … 1391 1391 'status' => 'good', 1392 1392 'badge' => array( 1393 1393 'label' => __( 'Security' ), 1394 'color' => ' red',1394 'color' => 'blue', 1395 1395 ), 1396 1396 'description' => sprintf( 1397 1397 '<p>%s</p>', … … 1467 1467 'status' => 'good', 1468 1468 'badge' => array( 1469 1469 'label' => __( 'Performance' ), 1470 'color' => ' orange',1470 'color' => 'blue', 1471 1471 ), 1472 1472 'description' => sprintf( 1473 1473 '<p>%s</p>', … … 1509 1509 'status' => 'good', 1510 1510 'badge' => array( 1511 1511 'label' => __( 'Performance' ), 1512 'color' => ' orange',1512 'color' => 'blue', 1513 1513 ), 1514 1514 'description' => sprintf( 1515 1515 '<p>%s</p>', … … 1580 1580 'status' => 'good', 1581 1581 'badge' => array( 1582 1582 'label' => __( 'Performance' ), 1583 'color' => ' orange',1583 'color' => 'blue', 1584 1584 ), 1585 1585 'description' => sprintf( 1586 1586 '<p>%s</p>',