[wp-meta] [Making WordPress.org] #7613: Support always returning a beta or RC in core API version check

Making WordPress.org noreply at wordpress.org
Fri Apr 26 14:17:13 UTC 2024


#7613: Support always returning a beta or RC in core API version check
-----------------------------+--------------------
 Reporter:  johnbillion      |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:
Component:  API              |   Keywords:
-----------------------------+--------------------
 Previously: #5412.

 I think I am correct in saying that a `version-check` API request that
 includes `channel=beta|rc` only responds with a beta or RC if we're
 currently within the beta or RC window. Outside of that it responds with
 stable releases only.

 Ref: [https://github.com/wp-cli/core-command/issues/17 adding support for
 beta and rc to the `wp core download|update` commands].

 For example, a request to https://api.wordpress.org/core/version-
 check/1.7/?version=6.4.0&channel=rc currently only returns 6.5.2 stable
 and 6.4.4 stable, but no RC. I was expecting it to return the latest RC in
 the 6.5 branch regardless of whether it has since gone stable.

 Is that something that could be supported? The main reason I'm asking is
 because in order to implement this in WP-CLI and make it testable, we need
 to be able to perform an API request which always responds with a beta or
 RC offer.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/7613>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list