[wp-trac] Re: [WordPress Trac] #5276: Allow wp-config.php to be used without including wp-settings.php

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 30 01:04:43 GMT 2007


#5276: Allow wp-config.php to be used without including wp-settings.php
--------------------------------------+-------------------------------------
 Reporter:  mastermind                |        Owner:  anonymous
     Type:  enhancement               |       Status:  new      
 Priority:  normal                    |    Milestone:  2.5      
Component:  General                   |      Version:  2.4      
 Severity:  normal                    |   Resolution:           
 Keywords:  wp-config.php standalone  |  
--------------------------------------+-------------------------------------
Comment (by DD32):

 -1 to that.

 Look at what currently lives within wp-config.php, Defines, A Table
 prefix(Which i'm supprised isnt defined too, but there'd be reasons for
 that i'm sure), and then requiring the next file.

 What is the point in having wp-config.php if it was split off to wp-
 defines.php?

 I'd say +1 to wp-blog-header.php including wp-settings.php rather than wp-
 config.php doing so, '''OR''' [[BR]]
 something like this in wp-config.php

 {{{
 if( !defined('WP_LOAD') || WP_LOAD != false )
      require_once(ABSPATH.'wp-settings.php');
 }}}

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


More information about the wp-trac mailing list