[wp-trac] [WordPress Trac] #57303: wp_get_posts() for post_type="any" + post__in creates not optimized database query

WordPress Trac noreply at wordpress.org
Wed Sep 10 11:25:27 UTC 2025


#57303: wp_get_posts() for post_type="any" + post__in creates not optimized
database query
-------------------------+------------------------------
 Reporter:  madeinua     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:  6.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+------------------------------
Changes (by SirLouen):

 * component:  Posts, Post Types => Query


-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57303#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list