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

WordPress Trac noreply at wordpress.org
Fri Sep 9 18:55:06 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 has-patch  |     Focuses:
-----------------------------------------------+---------------------

Comment (by ironprogrammer):

 == Test Report

 Patch tested: attachment:56199-dashboard-widget.diff 👍🏻

 === Steps to Test
 1. Configure environment to use PHP 5.6 (or ''less than'' PHP 7.2).
 Includes "lower than future minimum" (7.2) supported versions.
 2. Navigate to ''Dashboard''.
 3. Observe **PHP Update Required** widget.
 4. Configure environment to use PHP 7.2 (or PHP 7.3). Includes supported,
 but not recommended, PHP versions.
 5. Navigate to ''Dashboard''.
 6. Observe **PHP Update Recommended** widget.

 === Expected Results
 - ✅ Under PHP <7.2, the **PHP Update Required** widget displays an
 updated warning notice (exact PHP version indicated may differ):

   **Your site is running on an outdated version of PHP (5.6.40), which
 does not receive security updates and soon will not be supported by
 WordPress. Ensure that PHP is updated on your server as soon as possible.
 Otherwise you will not be able to upgrade WordPress.**

 - ✅ Under PHP 7.2 and 7.3, the **PHP Update Recommended** widget displays
 an updated warning notice (exact PHP version indicated may differ):

   **Your site is running on an outdated version of PHP (7.2.34), which
 does not receive security updates. It should be updated.**

 === Environment
 - OS: macOS 12.5.1
 - Browser: Safari 15.6.1
 - Browser: Google Chrome 105.0.5195.102
 - Server: nginx/1.23.1
 - PHP: 5.6.40, 7.2.34
 - WordPress: 6.1-alpha-53344-src
 - Theme: twentytwentytwo v1.2

 === Actual Results
 - ✅ The **PHP Update Required** widget displays the updated security and
 WordPress upgrade warning.
 - ✅ The **PHP Update Recommended** widget displays the updated security
 warning.

 === Supplemental Artifacts
 ''Figure 1: **PHP Update Required** widget under PHP 5.6
 ([https://cldup.com/o3UIWJ7Hef.png compare with before patch])''
 [[Image(https://cldup.com/nmkcydRMry.png, 600px)]]

 ''Figure 2: **PHP Update Recommended** widget under PHP 7.2
 ([https://cldup.com/lZoIzv6nUx.png compare with before patch])''
 [[Image(https://cldup.com/1CbHzzYz_R.png, 600px)]]

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


More information about the wp-trac mailing list