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

WordPress Trac noreply at wordpress.org
Fri Apr 18 11:23:26 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.8-rest-api.png" added.

 I've verified this issue and can confirm it is reproducible in WordPress
 6.8. When querying /wp-json/wp/v2/posts?slug=test-post, the response
 includes data from newer sticky posts, which should not happen.

-- 
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