[wp-trac] Re: [WordPress Trac] #7391: forbiddance of ini_set('include_path', ...) function causes fatal error at revision feature

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 31 16:01:05 GMT 2008


#7391: forbiddance of ini_set('include_path', ...) function causes fatal error at
revision feature
-------------------------------+--------------------------------------------
 Reporter:  codestyling        |        Owner:  anonymous
     Type:  defect             |       Status:  new      
 Priority:  high               |    Milestone:  2.6.1    
Component:  General            |      Version:  2.6      
 Severity:  blocker            |   Resolution:           
 Keywords:  reporter-feedback  |  
-------------------------------+--------------------------------------------
Comment (by santosj):

 This should be in the wp-settings.php. It should create a constant named
 WP_INCLUDE_PATH_DISABLED, in which case, the include path appears to be
 set each time the function is called. If it is called once, then no big
 deal, if it is called 20 times, then the include path is set and then
 restored 20 times. This adds overhead to the process. It is better to do
 it once outside of the function.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7391#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list