[wp-trac] [WordPress Trac] #57373: WP_Query loading posts twice.

WordPress Trac noreply at wordpress.org
Thu Jan 5 01:46:16 UTC 2023


#57373: WP_Query loading posts twice.
--------------------------+--------------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.1.2
Component:  Query         |     Version:  6.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+--------------------------

Comment (by peterwilsoncc):

 I'm inclined to go with the simplest approach for the minor release and
 revert back (option 3).

 The test failures on [https://github.com/WordPress/wordpress-
 develop/pull/3815 PR#3815] show that the unnecessary database request is
 no longer made.

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


More information about the wp-trac mailing list