From 123b9738894edec3775b3f89005c92f6718486e7 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sat, 30 Mar 2019 15:37:28 +0000 Subject: [PATCH] Administration: Display a notice in the Site Health pages when JavaScript is off. - displays an error notice when JavaScript is off, consistently with other admin screens that depend on JavaScript - keeps the main `h1` visible Minor clean-ups: - makes code indentation consistent in `site-health.php` and `site-health-info.php` - removes a couple of `
` as that's not the intended usage of `wp-clearfix` (those divs didn't do anything anyways) Fixes #46717. git-svn-id: https://develop.svn.wordpress.org/trunk@45076 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/site-health-info.php | 231 +++++++++++++++--------------- src/wp-admin/site-health.php | 13 +- 2 files changed, 123 insertions(+), 121 deletions(-) diff --git a/src/wp-admin/site-health-info.php b/src/wp-admin/site-health-info.php index 3370f72624..713bc255f6 100644 --- a/src/wp-admin/site-health-info.php +++ b/src/wp-admin/site-health-info.php @@ -29,141 +29,142 @@ $health_check_site_status = new WP_Site_Health(); require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> +
+
+

+ +

-
-
-

- -

- -
- - - -
+
+ + +
- - - -
-
- "> + + + - $info = WP_Debug_Data::debug_data(); - $english_info = ''; - if ( 0 !== strpos( get_locale(), 'en' ) ) { - $english_info = WP_Debug_Data::debug_data( 'en_US' ); - } - ?> + + + + +
-

- -

+
+

+
-

- -

-

- -

+
+ + $info = WP_Debug_Data::debug_data(); + $english_info = ''; + if ( 0 !== strpos( get_locale(), 'en' ) ) { + $english_info = WP_Debug_Data::debug_data( 'en_US' ); + } + ?> + +

+ +

+ +

+ +

+

+ +

+ +
+
+ + +
+
- +
- -
- - -
+ +
+ +
+ + + + - -
+ + + + + +
check_wp_version_check_exists(); require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?> -

-
+
-
-
+
+

+
+ +