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

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 2 06:50:24 UTC 2009


#10886: WordPress should not unnecessarily query posts at page load
--------------------------+-------------------------------------------------
 Reporter:  junsuijin     |       Owner:  junsuijin                       
     Type:  defect (bug)  |      Status:  new                             
 Priority:  normal        |   Milestone:  2.9                             
Component:  Optimization  |     Version:  2.8.4                           
 Severity:  normal        |    Keywords:  has-patch, tested, needs-testing
--------------------------+-------------------------------------------------
Changes (by westi):

 * cc: westi (added)


Comment:

 Replying to [comment:1 ryan]:
 > Perhaps wp() shouldn't be called at all for those pages.

 Possibly a good idea.

 Whatever I think a filter to which you return false to disable stuff may
 be better here than a define.

 We don't want to create something that people put into wp-config.php by
 accident defines should be reserved for things configured there IMHO

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10886#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list