[wp-trac] [WordPress Trac] #11834: Use require() in wp-settings.php

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 21 01:18:25 UTC 2010

#11834: Use require() in wp-settings.php
 Reporter:  scribu       |       Owner:             
     Type:  enhancement  |      Status:  new        
 Priority:  normal       |   Milestone:  3.0        
Component:  General      |     Version:             
 Severity:  normal       |    Keywords:  needs-patch

Comment(by secondv):

 The time difference between require_once() and require() is very small,
 you'd only see a significant difference if there were hundreds of
 require_once calls.

 However, I'd agree that it does seem to be used at random throughout wp-
 settings. It looks like everything uses require() except the new multisite
 code & locale stuff.

Ticket URL: <http://core.trac.wordpress.org/ticket/11834#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list