From 61628dbd8bf24f4a1f6bfd443735505dc3abbec2 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Sat, 30 Mar 2019 15:38:51 +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. Built from https://develop.svn.wordpress.org/trunk@45076 git-svn-id: http://core.svn.wordpress.org/trunk@44885 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/site-health-info.php | 231 +++++++++++++++++----------------- wp-admin/site-health.php | 13 +- wp-includes/version.php | 2 +- 3 files changed, 124 insertions(+), 122 deletions(-) diff --git a/wp-admin/site-health-info.php b/wp-admin/site-health-info.php index 3370f72624..713bc255f6 100644 --- a/wp-admin/site-health-info.php +++ b/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' ); ?> -

-
+
-
-
+
+

+
+ +

diff --git a/wp-includes/version.php b/wp-includes/version.php index 8ae135213c..8dfe1cb331 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45075'; +$wp_version = '5.2-beta1-45076'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.