[wp-trac] [WordPress Trac] #63307: REST API: Returns incorrect post when querying by slug if sticky posts exist
WordPress Trac
noreply at wordpress.org
Mon Apr 28 16:47:58 UTC 2025
#63307: REST API: Returns incorrect post when querying by slug if sticky posts
exist
-------------------------------------------------+-------------------------
Reporter: wpmudevsupport13 | Owner: jorbin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8.1
Component: REST API | Version: 6.8
Severity: critical | Resolution: fixed
Keywords: changes-requested has-testing-info | Focuses: rest-api
has-unit-tests has-patch fixed-major dev- |
reviewed commit |
-------------------------------------------------+-------------------------
Changes (by jorbin):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"60200" 60200]:
{{{
#!CommitTicketReference repository="" revision="60200"
REST API: Change posts endpoint to ignore_sticky=true by default
This restores the 6.7 and below behavior for the posts endpoint which did
not include sticky posts by default.
Follow-up to [59801].
Reviewed by desrosj.
Merges [60197] to the 6.8 branch.
Props nikunj8866, SirLouen, ankitmaru, wildworks, karthikeya01, Mamaduka,
spacedmonkey, jorbin.
Fixes #63307. See #35907.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63307#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list