From b10d8771fb09d521c17e7255b9cc9d4930a78712 Mon Sep 17 00:00:00 2001 From: "Marius L. J" Date: Sat, 17 Sep 2022 23:49:10 +0000 Subject: [PATCH] Site Health: Improve the description for Authorization header checks. Previously the description left the user stuck with no path forward if flushing their permalinks was not enough. This change givers a clearer description of what approving an application may involve (allowing these to connect to the users site), but also an additional step towards resolution if flushing permalinks are not enough; pointing them towards their host. Props Presskopp, webcommsat. Fixes #54508. git-svn-id: https://develop.svn.wordpress.org/trunk@54196 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-site-health.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index 141745c97a..302d1d112b 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -2247,7 +2247,7 @@ class WP_Site_Health { ), 'description' => sprintf( '

%s

', - __( 'The Authorization header comes from the third-party applications you approve. Without it, those apps cannot connect to your site.' ) + __( 'The Authorization header is used by third-party applications you have approved for this site. Without this header, those apps cannot connect to your site.' ) ), 'actions' => '', 'test' => 'authorization_header', @@ -2261,7 +2261,11 @@ class WP_Site_Health { return $result; } - $result['status'] = 'recommended'; + $result['status'] = 'recommended'; + $result['description'] .= sprintf( + '

%s

', + __( 'If you are still seeing this warning after having tried the actions below, you may need to contact your hosting provider for further assistance.' ) + ); if ( ! function_exists( 'got_mod_rewrite' ) ) { require_once ABSPATH . 'wp-admin/includes/misc.php';