[wp-trac] [WordPress Trac] #10886: WordPress should not unnecessarily query posts at page load

WordPress Trac noreply at wordpress.org
Fri Jan 14 10:58:39 UTC 2022


#10886: WordPress should not unnecessarily query posts at page load
-------------------------------------------------+-------------------------
 Reporter:  junsuijin                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.0
Component:  Bootstrap/Load                       |     Version:  2.8.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-unit-tests early has-patch       |     Focuses:
  needs-dev-note                                 |  performance
-------------------------------------------------+-------------------------
Changes (by spacedmonkey):

 * keywords:  has-patch has-unit-tests early => has-unit-tests early has-
     patch needs-dev-note


Comment:

 +1 on the patch. I think we should get this in early 6.0 release.

 I did a quick review on plugins that use this filter. See
 [https://wpdirectory.net/search/01FSC39908QH1NKEMG4B9PT6JR here].Looks
 like return the value, so I don't see breakages here. But this needs a dev
 not as it may have side effects.

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


More information about the wp-trac mailing list