[wp-trac] Re: [WordPress Trac] #9444: Allow to read wp-config.php without loading WP

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 5 19:02:04 GMT 2009


#9444: Allow to read wp-config.php without loading WP
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:  anonymous                    
     Type:  defect (bug)  |      Status:  new                          
 Priority:  normal        |   Milestone:  2.8                          
Component:  General       |     Version:  2.7.1                        
 Severity:  normal        |    Keywords:  has-patch tested dev-feedback
--------------------------+-------------------------------------------------

Comment(by hakre):

 Replying to [comment:14 DD32]:
 > Its a good thing for the time-being, But i think we also need to
 encourage people who use >2.7 to remove the require from the wp-config.php
 file, the sooner thatsdone, the sooner plugins will change to stop using
 t, the sooner the constant wont even be needed.

 as far as I see, this is not possible, isn't it? i commented the include
 and wordpress does not find core functions any longer (get_option here in
 admin e.g.).

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


More information about the wp-trac mailing list