[wp-meta] [Making WordPress.org] #3114: The credits API responds with latest version data for old versions
Making WordPress.org
noreply at wordpress.org
Sun Sep 10 14:48:52 UTC 2017
#3114: The credits API responds with latest version data for old versions
-------------------------+-------------------------
Reporter: johnbillion | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: API | Keywords: needs-patch
-------------------------+-------------------------
The response to requesting
https://api.wordpress.org/core/credits/1.1/?version=3.1 and earlier
versions is credits data for the latest version of WordPress, but this is
not immediately obvious unless you check the `data.version` property.
Requests for credits information prior to 3.2 should respond with
something more appropriate, for example a `404`.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3114>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list