[wp-trac] [WordPress Trac] #56199: Make the warnings about critical Site Health issues more prominent
WordPress Trac
noreply at wordpress.org
Fri Aug 12 19:20:44 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 azaozz):
Replying to [comment:19 SergeyBiryukov]:
> 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.
Yep, thanks, text is pretty easy to change. Do you know what the
difference is between `is_supported` and `is_secure`, and why that would
matter to the users? (BTW `is_secure` is a very poorly named variable,
would be 1000 times better as `receives_security_updates`. Should probably
fix it.)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56199#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list