You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Site Health: Improve the appearance of Site Health Status dashboard widget.
This better utilizes the available screen space on wider screens.
Props mblach, hedgefield, Clorith.
Fixes #52966.
git-svn-id: https://develop.svn.wordpress.org/trunk@50833 602fd350-edb4-49c9-b593-d223f7449a82
Copy file name to clipboardExpand all lines: src/wp-admin/includes/dashboard.php
+43-41Lines changed: 43 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -1907,48 +1907,50 @@ function wp_dashboard_site_health() {
1907
1907
</div>
1908
1908
</div>
1909
1909
1910
-
<?phpif ( false === $get_issues ) : ?>
1911
-
<p>
1912
-
<?php
1913
-
printf(
1914
-
/* translators: %s: URL to Site Health screen. */
1915
-
__( 'Site health checks will automatically run periodically to gather information about your site. You can also <a href="%s">visit the Site Health screen</a> to gather information about your site now.' ),
1916
-
esc_url( admin_url( 'site-health.php' ) )
1917
-
);
1918
-
?>
1919
-
</p>
1920
-
<?phpelse : ?>
1921
-
<p>
1922
-
<?phpif ( $issues_total <= 0 ) : ?>
1923
-
<?php_e( 'Great job! Your site currently passes all site health checks.' ); ?>
<?php_e( 'Your site’s health is looking good, but there is still one thing you can do to improve its performance and security.' ); ?>
1930
-
<?phpelse : ?>
1931
-
<?php_e( 'Your site’s health is looking good, but there are still some things you can do to improve its performance and security.' ); ?>
1932
-
<?phpendif; ?>
1933
-
</p>
1934
-
<?phpendif; ?>
1910
+
<div class="site-health-details">
1911
+
<?phpif ( false === $get_issues ) : ?>
1912
+
<p>
1913
+
<?php
1914
+
printf(
1915
+
/* translators: %s: URL to Site Health screen. */
1916
+
__( 'Site health checks will automatically run periodically to gather information about your site. You can also <a href="%s">visit the Site Health screen</a> to gather information about your site now.' ),
1917
+
esc_url( admin_url( 'site-health.php' ) )
1918
+
);
1919
+
?>
1920
+
</p>
1921
+
<?phpelse : ?>
1922
+
<p>
1923
+
<?phpif ( $issues_total <= 0 ) : ?>
1924
+
<?php_e( 'Great job! Your site currently passes all site health checks.' ); ?>
0 commit comments