[wp-meta] [Making WordPress.org] #577: credits API should return the correct version

Making WordPress.org noreply at wordpress.org
Wed Mar 8 20:14:10 UTC 2017

#577: credits API should return the correct version
 Reporter:  markoheijnen      |       Owner:  coffee2code
     Type:  defect            |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  API               |  Resolution:  fixed
 Keywords:  has-patch commit  |
Changes (by coffee2code):

 * owner:   => coffee2code
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"5133"]:
 #!CommitTicketReference repository="" revision="5133"
 Credits API: Return 'version' value that matches the data being returned.

 For invalid version requests (e.g. something pre-3.2 or post-
 WP_CORE_STABLE_BRANCH), the Credits API returns data for
 WP_CORE_STABLE_BRANCH. In such cases the 'version' value in the response
 was the invalid version being requested.

 The returned 'version' should instead reflect the version that matches the
 data. API consumers can compare their requested version to the response
 version to see if the fallback (current stable) is being returned.

 Props markoheijnen.
 Fixes #577.

Ticket URL: <https://meta.trac.wordpress.org/ticket/577#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list