[wp-trac] [WordPress Trac] #56199: Make the warnings about critical Site Health issues more prominent

WordPress Trac noreply at wordpress.org
Fri Aug 5 22:53:37 UTC 2022


#56199: Make the warnings about critical Site Health issues more prominent
-------------------------------------+---------------------
 Reporter:  azaozz                   |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.1
Component:  Site Health              |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  servehappy needs-design  |     Focuses:
-------------------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:18 azaozz]:
 > Replying to [comment:17 SergeyBiryukov]:
 >
 > > Hmm, how would that be different from the existing widget displayed in
 that case?
 >
 > Thinking the text should be different. Should clearly explain that the
 site owner will not be able to upgrade WordPress if they do not get PHP
 upgraded first. Can probably keep the warning that the old version may
 become insecure too.

 OK, the text should be easy to change :) It's in `wp_dashboard_php_nag()`
 and can differentiate based on these flags in `$response`, coming from
 `wp_check_php_version()`:

 * `string 'recommended_version'` — The PHP version recommended by
 WordPress.
 * `bool 'is_supported'` — Whether the PHP version is actively supported.
 * `bool 'is_secure'` — Whether the PHP version receives security updates.
 * `bool 'is_acceptable'` — Whether the PHP version is still acceptable for
 WordPress.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56199#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list