<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[45071] trunk/src: Coding Standards: Clean up the Site Health stylesheet.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/45071">45071</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/45071","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>afercia</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2019-03-29 18:43:09 +0000 (Fri, 29 Mar 2019)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Coding Standards: Clean up the Site Health stylesheet.
- reduces selectors specificity to avoid over-qualified selectors
- removes unused rulesets / properties
- renames some CSS classes
Fixes <a href="https://core.trac.wordpress.org/ticket/46685">#46685</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcjs_enqueuesadminsitehealthjs">trunk/src/js/_enqueues/admin/site-health.js</a></li>
<li><a href="#trunksrcwpadmincsssitehealthcss">trunk/src/wp-admin/css/site-health.css</a></li>
<li><a href="#trunksrcwpadminsitehealthinfophp">trunk/src/wp-admin/site-health-info.php</a></li>
<li><a href="#trunksrcwpadminsitehealthphp">trunk/src/wp-admin/site-health.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcjs_enqueuesadminsitehealthjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/admin/site-health.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/admin/site-health.js 2019-03-29 18:26:28 UTC (rev 45070)
+++ trunk/src/js/_enqueues/admin/site-health.js 2019-03-29 18:43:09 UTC (rev 45071)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -68,7 +68,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function RecalculateProgression() {
</span><span class="cx" style="display: block; padding: 0 10px"> var r, c, pct;
</span><span class="cx" style="display: block; padding: 0 10px"> var $progress = $( '.site-health-progress' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var $progressCount = $progress.find( '.progress-count' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var $progressCount = $progress.find( '.site-health-progress-count' );
</ins><span class="cx" style="display: block; padding: 0 10px"> var $circle = $( '.site-health-progress svg #bar' );
</span><span class="cx" style="display: block; padding: 0 10px"> var totalTests = parseInt( SiteHealth.site_status.issues.good, 0 ) + parseInt( SiteHealth.site_status.issues.recommended, 0 ) + ( parseInt( SiteHealth.site_status.issues.critical, 0 ) * 1.5 );
</span><span class="cx" style="display: block; padding: 0 10px"> var failedTests = parseInt( SiteHealth.site_status.issues.recommended, 0 ) + ( parseInt( SiteHealth.site_status.issues.critical, 0 ) * 1.5 );
</span></span></pre></div>
<a id="trunksrcwpadmincsssitehealthcss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/css/site-health.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/css/site-health.css 2019-03-29 18:26:28 UTC (rev 45070)
+++ trunk/src/wp-admin/css/site-health.css 2019-03-29 18:43:09 UTC (rev 45071)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,44 +1,40 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health #wpcontent {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-health #wpcontent {
</ins><span class="cx" style="display: block; padding: 0 10px"> padding-left: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .wrap {
- margin-right: 0;
- margin-left: 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/* Emulates .wrap h1 styling */
+.health-check-header h1 {
+ display: inline-block;
+ font-weight: 600;
+ margin: 1rem 0.8rem;
+ font-size: 23px;
+ padding: 9px 0 4px 0;
+ line-height: 29px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .wrap h2 {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-body h2 {
</ins><span class="cx" style="display: block; padding: 0 10px"> padding: 1rem 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- font-size: 1.3em;
</del><span class="cx" style="display: block; padding: 0 10px"> line-height: 1.4;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- font-weight: 600;
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health ul li,
-body.site-health ol li {
- line-height: 1.5;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-body h3 {
+ padding: 0;
+ font-weight: 400;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-header {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-header {
</ins><span class="cx" style="display: block; padding: 0 10px"> text-align: center;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin-top: 0;
- margin-bottom: 1rem;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: 0 0 1rem;
</ins><span class="cx" style="display: block; padding: 0 10px"> background: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom: 1px solid #e2e4e7;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-header .title-section {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-title-section {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: flex;
</span><span class="cx" style="display: block; padding: 0 10px"> align-items: center;
</span><span class="cx" style="display: block; padding: 0 10px"> justify-content: center;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-header .title-section h1 {
- display: inline-block;
- font-weight: 600;
- margin: 1rem 0.8rem 1rem 0.8rem;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .site-health-progress {
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 40px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -50,7 +46,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 0.4rem;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.site-health-progress .progress-count {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-health-progress-count {
</ins><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="cx" style="display: block; padding: 0 10px"> display: block;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 80px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -64,15 +60,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 2em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.site-health-progress .progress-count::after {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-health-progress-count::after {
</ins><span class="cx" style="display: block; padding: 0 10px"> content: "";
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.site-health-progress.hidden {
- display: none;
-}
-
-.site-health-progress.loading .progress-count::after {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-health-progress.loading .site-health-progress-count::after {
</ins><span class="cx" style="display: block; padding: 0 10px"> animation: loadingEllipsis 3s infinite ease-in-out;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -126,12 +118,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-header .tabs-wrapper {
- display: block;
-}
-
-body.site-health .health-check-header .tabs-wrapper .tab {
- float: none;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-tab {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> text-decoration: none;
</span><span class="cx" style="display: block; padding: 0 10px"> color: inherit;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -140,42 +127,41 @@
</span><span class="cx" style="display: block; padding: 0 10px"> transition: box-shadow 0.5s ease-in-out;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-header .tabs-wrapper .tab:focus {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-tab:focus {
</ins><span class="cx" style="display: block; padding: 0 10px"> color: #191e23;
</span><span class="cx" style="display: block; padding: 0 10px"> outline: 1px solid #6c7781;
</span><span class="cx" style="display: block; padding: 0 10px"> box-shadow: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-header .tabs-wrapper .tab.active {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-tab.active {
</ins><span class="cx" style="display: block; padding: 0 10px"> box-shadow: inset 0 -3px #007cba;
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: 600;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-body {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-body {
</ins><span class="cx" style="display: block; padding: 0 10px"> max-width: 800px;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 auto;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-table thead th:first-child,
-body.site-health .health-check-table thead td:first-child {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-table td:first-child {
</ins><span class="cx" style="display: block; padding: 0 10px"> width: 30%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-table tbody td {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-table td {
</ins><span class="cx" style="display: block; padding: 0 10px"> width: 70%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-table tbody td:first-child {
- width: 30%;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-table ul,
+.health-check-table ol {
+ margin: 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .health-check-table tbody td ul,
-body.site-health .health-check-table tbody td ol {
- margin: 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-body li {
+ line-height: 1.5;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.site-health .pass::before,
-.site-health .good::before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-body .pass::before,
+.health-check-body .good::before {
</ins><span class="cx" style="display: block; padding: 0 10px"> content: "\f147";
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #46b450;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -183,7 +169,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> vertical-align: top;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.site-health .warning::before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-body .warning::before {
</ins><span class="cx" style="display: block; padding: 0 10px"> content: "\f460";
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #ffb900;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -190,7 +176,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-family: dashicons;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.site-health .info::before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-body .info::before {
</ins><span class="cx" style="display: block; padding: 0 10px"> content: "\f348";
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #00a0d2;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -197,8 +183,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-family: dashicons;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.site-health .fail::before,
-.site-health .error::before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-body .fail::before,
+.health-check-body .error::before {
</ins><span class="cx" style="display: block; padding: 0 10px"> content: "\f335";
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #dc3232;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -205,12 +191,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-family: dashicons;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .spinner {
- float: none;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .site-health-copy-buttons {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- display: block;
</del><span class="cx" style="display: block; padding: 0 10px"> margin: 1rem 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -228,36 +209,27 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .site-health-copy-buttons .success.visible {
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 28px;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- line-height: 28px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ line-height: 28px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .site-status-has-issues {
- display: block;
-}
-
-body.site-health .site-status-has-issues.hide {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-status-has-issues.hide {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health h3 {
- padding: 0;
- font-weight: 400;
-}
-
-body.site-health .view-more {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-health-view-more {
</ins><span class="cx" style="display: block; padding: 0 10px"> text-align: center;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .issues-wrapper:first-of-type {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-health-issues-wrapper:first-of-type {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-top: 3rem;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .issues-wrapper {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-health-issues-wrapper {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 3rem;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-top: 2rem;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .site-status-all-clear {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-status-all-clear {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: flex;
</span><span class="cx" style="display: block; padding: 0 10px"> flex-direction: column;
</span><span class="cx" style="display: block; padding: 0 10px"> align-items: center;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -269,45 +241,44 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> @media all and (min-width: 784px) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- body.site-health .site-status-all-clear {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .site-status-all-clear {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 5rem 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .site-status-all-clear.hide {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-status-all-clear.hide {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .site-status-all-clear .dashicons {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-status-all-clear .dashicons {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-size: 150px;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 130px;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 150px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .site-status-all-clear .encouragement {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-status-all-clear .encouragement {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-size: 1.5rem;
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: 600;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.site-health .site-status-all-clear p {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.site-status-all-clear p {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion {
</ins><span class="cx" style="display: block; padding: 0 10px"> border: 1px solid #e2e4e7;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion dt {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion dt {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-weight: 600;
</span><span class="cx" style="display: block; padding: 0 10px"> border-top: 1px solid #e2e4e7;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion dt:first-child {
- border-radius: 0.3em 0.3em 0 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion dt:first-child {
</ins><span class="cx" style="display: block; padding: 0 10px"> border-top: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger {
</ins><span class="cx" style="display: block; padding: 0 10px"> background: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> border: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #212121;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -321,12 +292,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger:hover,
-body .health-check-accordion .health-check-accordion-trigger:active {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger:hover,
+.health-check-accordion-trigger:active {
</ins><span class="cx" style="display: block; padding: 0 10px"> background: #f8f9f9;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger:focus {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger:focus {
</ins><span class="cx" style="display: block; padding: 0 10px"> color: #191e23;
</span><span class="cx" style="display: block; padding: 0 10px"> border: none;
</span><span class="cx" style="display: block; padding: 0 10px"> box-shadow: none;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -334,13 +305,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> outline: 1px dotted #555d66;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .title {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .title {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> pointer-events: none;
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: 600;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .icon {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .icon {
</ins><span class="cx" style="display: block; padding: 0 10px"> border: solid #191e23;
</span><span class="cx" style="display: block; padding: 0 10px"> border-width: 0 2px 2px 0;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 0.5rem;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -352,7 +323,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 0.5rem;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0.1rem 0.5rem 0.15rem;
</span><span class="cx" style="display: block; padding: 0 10px"> background-color: #d7dade;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -362,79 +333,71 @@
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 0.5rem;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge.blue {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge.blue {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #0073af;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge.orange {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge.orange {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #ffb900;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #000;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge.red {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge.red {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #dc3232;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge.green {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge.green {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #40860a;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge.pink {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge.pink {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #f4b0fc;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #000;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge.gray {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge.gray {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #ccc;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #000;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge.light-blue {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge.light-blue {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #10e9fb;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #000;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger .badge.light-green {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger .badge.light-green {
</ins><span class="cx" style="display: block; padding: 0 10px"> background-color: #60f999;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #000;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-trigger[aria-expanded="true"] .icon {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-trigger[aria-expanded="true"] .icon {
</ins><span class="cx" style="display: block; padding: 0 10px"> transform: translateY(-30%) rotate(-135deg)
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-panel {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-panel {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 1em 1.5em;
</span><span class="cx" style="display: block; padding: 0 10px"> background: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion .health-check-accordion-panel > div {
- display: block;
-}
-
-body .health-check-accordion .health-check-accordion-panel[hidden] {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.health-check-accordion-panel[hidden] {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body .health-check-accordion dl dd {
- margin: 0 0 0.5em 2em;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> @media screen and (max-width: 782px) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- body.site-health .health-check-body {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .health-check-body {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0 12px;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- width: initial;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ width: auto;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* The breakpoint is usually at 960px, the additional space is to allow for the margin. */
</span><span class="cx" style="display: block; padding: 0 10px"> @media only screen and (max-width: 1004px) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- body.site-health .health-check-body {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .health-check-body {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0 22px;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- width: initial;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ width: auto;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpadminsitehealthinfophp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/site-health-info.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/site-health-info.php 2019-03-29 18:26:28 UTC (rev 45070)
+++ trunk/src/wp-admin/site-health-info.php 2019-03-29 18:43:09 UTC (rev 45071)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,8 +30,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> require_once( ABSPATH . 'wp-admin/admin-header.php' );
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="wrap health-check-header">
- <div class="title-section">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="health-check-header">
+ <div class="health-check-title-section">
</ins><span class="cx" style="display: block; padding: 0 10px"> <h1>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php _ex( 'Site Health', 'Menu, Section and Page Title' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </h1>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,16 +42,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <circle id="bar" r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle>
</span><span class="cx" style="display: block; padding: 0 10px"> </svg>
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="screen-reader-text"><?php _e( 'Current health score:' ); ?></span>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <span class="progress-count"></span>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <span class="site-health-progress-count"></span>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <nav class="tabs-wrapper" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
- <a href="<?php echo esc_url( admin_url( 'site-health.php' ) ); ?>" class="tab">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <nav class="health-check-tabs-wrapper" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
+ <a href="<?php echo esc_url( admin_url( 'site-health.php' ) ); ?>" class="health-check-tab">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php _e( 'Status' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <a href="<?php echo esc_url( admin_url( 'site-health.php?tab=debug' ) ); ?>" class="tab active" aria-current="true">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <a href="<?php echo esc_url( admin_url( 'site-health.php?tab=debug' ) ); ?>" class="health-check-tab active" aria-current="true">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php _e( 'Info' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><span class="cx" style="display: block; padding: 0 10px"> </nav>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -59,7 +59,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-clearfix"></div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="wrap health-check-body">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="health-check-body">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> WP_Debug_Data::check_for_updates();
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminsitehealthphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/site-health.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/site-health.php 2019-03-29 18:26:28 UTC (rev 45070)
+++ trunk/src/wp-admin/site-health.php 2019-03-29 18:43:09 UTC (rev 45071)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,8 +35,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> require_once( ABSPATH . 'wp-admin/admin-header.php' );
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<div class="wrap health-check-header">
- <div class="title-section">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<div class="health-check-header">
+ <div class="health-check-title-section">
</ins><span class="cx" style="display: block; padding: 0 10px"> <h1>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php _ex( 'Site Health', 'Menu, Section and Page Title' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </h1>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -47,16 +47,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <circle id="bar" r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle>
</span><span class="cx" style="display: block; padding: 0 10px"> </svg>
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="screen-reader-text"><?php _e( 'Current health score:' ); ?></span>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <span class="progress-count"></span>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <span class="site-health-progress-count"></span>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <nav class="tabs-wrapper" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
- <a href="<?php echo esc_url( admin_url( 'site-health.php' ) ); ?>" class="tab active" aria-current="true">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <nav class="health-check-tabs-wrapper" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
+ <a href="<?php echo esc_url( admin_url( 'site-health.php' ) ); ?>" class="health-check-tab active" aria-current="true">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php _e( 'Status' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <a href="<?php echo esc_url( admin_url( 'site-health.php?tab=debug' ) ); ?>" class="tab">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <a href="<?php echo esc_url( admin_url( 'site-health.php?tab=debug' ) ); ?>" class="health-check-tab">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php _e( 'Info' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </a>
</span><span class="cx" style="display: block; padding: 0 10px"> </nav>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -64,7 +64,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wp-clearfix"></div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<div class="wrap health-check-body">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<div class="health-check-body">
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="site-status-all-clear hide">
</span><span class="cx" style="display: block; padding: 0 10px"> <p class="icon">
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="dashicons dashicons-yes"></span>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,7 +86,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <p><?php _e( 'The site health check shows critical information about your WordPress configuration and items that require your attention.' ); ?></p>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="issues-wrapper" id="health-check-issues-critical">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="site-health-issues-wrapper" id="health-check-issues-critical">
</ins><span class="cx" style="display: block; padding: 0 10px"> <h3>
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="issue-count">0</span> <?php _e( 'Critical issues' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </h3>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -94,7 +94,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <dl id="health-check-site-status-critical" role="presentation" class="health-check-accordion issues"></dl>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="issues-wrapper" id="health-check-issues-recommended">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="site-health-issues-wrapper" id="health-check-issues-recommended">
</ins><span class="cx" style="display: block; padding: 0 10px"> <h3>
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="issue-count">0</span> <?php _e( 'Recommended improvements' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </h3>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -103,13 +103,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="view-more">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="site-health-view-more">
</ins><span class="cx" style="display: block; padding: 0 10px"> <button type="button" class="button site-health-view-passed" aria-expanded="false" aria-controls="health-check-issues-good">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php _e( 'Passed tests' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </button>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="issues-wrapper hidden" id="health-check-issues-good">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="site-health-issues-wrapper hidden" id="health-check-issues-good">
</ins><span class="cx" style="display: block; padding: 0 10px"> <h3>
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="issue-count">0</span> <?php _e( 'Items with no issues detected' ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </h3>
</span></span></pre>
</div>
</div>
</body>
</html>