Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51909


Ignore:
Timestamp:
12/01/2020 06:27:23 PM (5 years ago)
Author:
SergeyBiryukov
Comment:

Hi there, welcome to WordPress Trac! Thanks for the report.

[39967] went into WordPress 4.8, setting the Version field accordingly to reflect that as the earliest applicable version.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51909

    • Property Version changed from to 4.8
  • Ticket #51909 – Description

    initial v1  
    1 Changeset 39967 introduced a new behavior in parts of the API.  A request for posts with a page parameter that is out of range results in a status 400 and rest_post_invalid_page_number error response.
     1Changeset [39967] introduced a new behavior in parts of the API.  A request for posts with a page parameter that is out of range results in a status 400 and rest_post_invalid_page_number error response.
    22
    33This is different behavior than the class-wp-rest-users-controller, which happily returns a status 200 with an empty array, and it always has. Status 200 with an empty array is the more correct behavior, in my opinion.