Opened 7 weeks ago
Closed 7 weeks ago
#8116 closed defect (bug) (invalid)
PHP8.2.29 is shown as an old PHP version
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | API | Keywords: | needs-patch 2nd-opinion |
| Cc: |
Description
In site Health, PJP version 8.2.29 is shown as an old PHP version:
At https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/misc.php#L1582, WordPress is querying https://api.wordpress.org/core/serve-happy/1.0/?php_version=8.2.29 which is reporting PHP8.2.29 as not supported
Attachments (1)
Change History (3)
#2
@
7 weeks ago
- Component changed from Browse Happy to API
- Resolution set to invalid
- Status changed from new to closed
This is correct, PHP 8.2 is no longer actively supported by PHP.
It's still receiving Security updates, but is considered EOL by PHP.
https://github.com/WordPress/wordpress.org/pull/497
To quote #6612
For context, the relevant ServeHappy API constants are:
- RECOMMENDED_PHP is the latest branch of PHP which WordPress.org recommends.
- SUPPORTED_PHP is the lowest branch of PHP which is actively supported.
- SECURE_PHP is the lowest branch of PHP which is receiving security updates.
- ACCEPTABLE_PHP is the lowest branch of PHP which is still considered "acceptable" in WordPress. Sites with a version lower than this will see the ServeHappy dashboard widget urging them to update.
If you disagree with the messaging used by core, this should be raised with the core PHP team.
Note: See
TracTickets for help on using
tickets.
I went further in debug and I think the mistake is around https://github.com/WordPress/wordpress.org/blob/trunk/api.wordpress.org/public_html/core/serve-happy/1.0/include.php#L33 but do not have enough skills I think to understand what is wrong !