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

WordPress Trac noreply at wordpress.org
Thu Jan 5 23:02:42 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 spacedmonkey):

 Replying to [comment:5 peterwilsoncc]:
 > I'm inclined to go with the simplest approach for the minor release and
 revert back (option 3).

 I agree, I will create another issue, for the double cache writes issue.

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

 The PR should have tests working. If you are happy @peterwilsoncc I will
 commit tomorrow.

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


More information about the wp-trac mailing list