[wp-trac] [WordPress Trac] #12594: Use paths in include calls

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 12 19:52:11 UTC 2010


#12594: Use paths in include calls
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  normal        |   Milestone:  3.0        
Component:  Performance   |     Version:             
 Severity:  normal        |    Keywords:  needs-patch
--------------------------+-------------------------------------------------
 We often do {{{require('admin.php')}}} where {{{require('./admin.php')}}}
 would be quicker, as it would avoid the include_path directive.

 We should audit core for instances where we include a file (it'd generally
 be a bootstrap) without specifying a relative or absolute path.

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


More information about the wp-trac mailing list