[wp-trac] [WordPress Trac] #61621: WP_Query get_posts should be call its property not again execute all caculations

WordPress Trac noreply at wordpress.org
Wed Nov 19 08:44:51 UTC 2025


#61621: WP_Query get_posts should be call its property not again execute all
caculations
--------------------------+------------------------------
 Reporter:  pexlechris    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by philipzimmerm56):

 I found out that this is a problem when my WP_Query has a Tax_Query and it
 does multiple joins with the same table!!! Again and again...

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


More information about the wp-trac mailing list