[wp-meta] [Making WordPress.org] #6334: Stable check API major versions don't match the download zip

Making WordPress.org noreply at wordpress.org
Sat May 28 07:26:29 UTC 2022


#6334: Stable check API major versions don't match the download zip
-----------------------------+--------------------------------------
 Reporter:  dingo_d          |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:
Component:  API              |   Keywords:  needs-patch dev-feedback
-----------------------------+--------------------------------------
 The API endpoint for checking the stable verssions:

 https://api.wordpress.org/core/stable-check/1.0/

 Returns a JSON with the latest, outdated, and insecure versions of WP. The
 new major versions are listed as 5.0, 6.0, without the third version for
 the security (at least according to semver which WP doesn't really
 follow).

 The tags located on GH: https://github.com/WordPress/wordpress-
 develop/tags do have these minor version numbers even in the case of the
 major versions. For instance:

 https://github.com/WordPress/wordpress-develop/archive/refs/tags/6.0.0.zip

 So if you want to use the API to match the zip file (like what I'm doing),
 you get an error for the missing zip file, because the version number
 won't match (6.0 vs 6.0.0).

 The API should just add this zero, especially since WP is releasing the
 security fixes regularly.

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


More information about the wp-meta mailing list