[wp-meta] [Making WordPress.org] #3474: Introduce `serve-happy` API endpoint
Making WordPress.org
noreply at wordpress.org
Wed Feb 21 06:39:49 UTC 2018
#3474: Introduce `serve-happy` API endpoint
----------------------+------------------------------------------
Reporter: flixos90 | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: API | Keywords: needs-patch needs-unit-tests
----------------------+------------------------------------------
Per discussion in [this week's PHP
meeting](https://wordpress.slack.com/archives/C60K3MP2Q/p1519056088000267),
we would like to implement a basic endpoint for PHP version information
handling, particularly to be used by core to check whether to show the PHP
upgrade nag (see https://core.trac.wordpress.org/ticket/41191).
The endpoint should live at `api.wordpress.org/core/serve-happy/` and do
the following:
* Return true/false for whether the passed PHP version needs to be
upgraded.
* Return true/false for whether the passed PHP version is insecure (no
longer receives security updates).
* Display relevant PHP versions on which the above "decisions" are based,
plus WordPress' recommended PHP version.
* Maybe also the latest PHP version available?
* Maybe also the URL to the Servehappy education page? This would allow us
to tweak it more flexibly and independently from core updates, just like
the version numbers.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3474>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list