[wp-trac] [WordPress Trac] #4212: Use require_ and include_once instead in wp-settings.php

WordPress Trac wp-trac at lists.automattic.com
Tue May 1 00:57:52 GMT 2007


#4212: Use require_ and include_once instead in wp-settings.php
--------------------------+-------------------------------------------------
 Reporter:  rob1n         |       Owner:  rob1n                
     Type:  enhancement   |      Status:  new                  
 Priority:  low           |   Milestone:  2.3                  
Component:  Optimization  |     Version:                       
 Severity:  minor         |    Keywords:  has-patch 2nd-opinion
--------------------------+-------------------------------------------------
 Use require_once and include_once instead of require and include in wp-
 settings.php. What this will accomplish is minimize the chance of files
 getting included twice, however likely.

 Ryan, however, when I brought up this idea on IRC, mentioned that the
 _once functions was slower than its cousins. Might be good if we could
 profile this.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4212>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list