[wp-trac] [WordPress Trac] #63307: REST API posts return 2 posts

WordPress Trac noreply at wordpress.org
Fri Apr 18 11:26:57 UTC 2025


#63307: REST API posts return 2 posts
------------------------------+------------------------------
 Reporter:  wpmudevsupport13  |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  REST API          |     Version:  6.8
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:  rest-api
------------------------------+------------------------------
Changes (by nikunj8866):

 * Attachment "wp6.7.2-rest-api.png" added.

 I tested the same steps on WordPress 6.7.2, and the issue does not occur
 there. The correct post is returned when querying by slug, even with
 sticky posts present.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63307>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list