[wp-trac] [WordPress Trac] #61623: Site Health PHP check shows inaccurate status

WordPress Trac noreply at wordpress.org
Wed Jul 10 19:39:18 UTC 2024


#61623: Site Health PHP check shows inaccurate status
----------------------------+-----------------------------
 Reporter:  swb1192         |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Site Health     |    Version:  6.5.5
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Site Health has a PHP check that returns a string related to the status of
 the PHP version. It should state if the PHP version is the latest version,
 an older (but supported) PHP version, or an older and insecure PHP
 version.

 However, the current result states all supported versions are the "current
 version" of PHP.

 To reproduce:
 * Set up a WordPress installation
 * Configure PHP as version 7.4 (supported but insecure and not the latest
 version)
 * Go to Tools > Site Health
 * View the Passed Tests

 See:

 "Your site is running the current version of PHP (7.4.30)"

 Expected:

 "Your site is running on an outdated version of PHP 7.4, which does not
 receive security updates. It should be updated."

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61623>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list