[wp-meta] [Making WordPress.org] #4699: Provide compatible WP core updates depending on server PHP version from API
Making WordPress.org
noreply at wordpress.org
Thu Oct 17 02:59:07 UTC 2019
#4699: Provide compatible WP core updates depending on server PHP version from API
-------------------------+-----------------------------
Reporter: afragen | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: API | Resolution: fixed
Keywords: servehappy |
-------------------------+-----------------------------
Changes (by dd32):
* keywords: needs-patch 2nd-opinion servehappy => servehappy
* status: accepted => closed
* resolution: => fixed
Comment:
I've made an API change which returns multiple versions for users on
WordPress 3.7~5.1 running PHP 5.2.4~5.6.20.
We can make a similar addition for when PHP 5.6 support is dropped (It
won't be automatic, as I hard-coded the PHP and WP versions)
The above attachment shows the experience, it's not ''fantastic''
especially as the string in core doesn't expect that this could ever
occur.
I figured showing both would at least allow the user to update to a recent
WordPress, while at the same time also making it clear there's a newer
version of WordPress that has a more modern PHP requirement.
Fixed via r15417-dotorg:
{{{
API: Core Update endpoint: Offer WordPress 5.1.x as an update destination
for < 5.1.latest and PHP 5.2.4~5.6.19 users.
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4699#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list