Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #63307, comment 29


Ignore:
Timestamp:
04/28/2025 09:11:23 AM (8 weeks ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63307, comment 29

    v2 v3  
    11After bumping my head with the wall to death yesterday for a good while, suddenly, a thought came to my mind: How `WP_Query` is actually handling `ignore_sticky_posts`?
    22
    3 And I got to this conclusion: https://core.trac.wordpress.org/ticket/63360
     3And I got to this conclusion: #63360
    44
    55The big problem here is related with `WP_Query` itself when using the `__in` query args (which happen to be the main query args that the REST API is using). For example, the `name` query arg works great, but the `post_name__in` generates this problem.