[wp-trac] [WordPress Trac] #12988: Modify wp-load.php to search for wp-config.php 2 directories higher

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 15 21:26:49 UTC 2010


#12988: Modify wp-load.php to search for wp-config.php 2 directories higher
--------------------------------+-------------------------------------------
 Reporter:  chipbennett         |        Owner:  ryan   
     Type:  enhancement         |       Status:  closed 
 Priority:  normal              |    Milestone:         
Component:  Security            |      Version:         
 Severity:  normal              |   Resolution:  wontfix
 Keywords:  wp-load, wp-config  |  
--------------------------------+-------------------------------------------

Comment(by strider72):

 "Sorry for the confusion, but doesn't ABSPATH get defined in this way?"

 ABSPATH is properly defined in wp-load.php.  It is conditionally defined
 in wp-config.php for backwards compatibility with plugins that call wp-
 config directly.  Plugins should not do this, but many do anyway.

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


More information about the wp-trac mailing list