[wp-trac] Re: [WordPress Trac] #6933: Allow wp-config.php to exist
one level up from WordPress root directory
WordPress Trac
wp-trac at lists.automattic.com
Sat May 24 07:15:50 GMT 2008
#6933: Allow wp-config.php to exist one level up from WordPress root directory
-------------------------+--------------------------------------------------
Reporter: sambauers | Owner: anonymous
Type: enhancement | Status: reopened
Priority: normal | Milestone: 2.6
Component: General | Version: 2.5.1
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------------------------------------
Comment (by sambauers):
The ABSPATH define in wp-load.php comes before the define in wp-config.php
so wrapping it in a conditional won't help.
The reason ABSPATH and the include are still at the bottom of conifg.php
is to allow backwards compatibility for plugins that might directly
include wp-config.php and expect that definition and the loading of
WordPress would occur. I think it should be in wp-load.php exclusively
too. Subsequent plugin breakage could possibly be assessed, but not known
for sure. None of this would help with the problem of old configs needing
to be edited like in your situation. They would just have to be edited
differently instead.
I agree it isn't nice breaking things for people on SVN up, but the
audience using SVN aren't generally the audience who couldn't troubleshoot
that error.
--
Ticket URL: <http://trac.wordpress.org/ticket/6933#comment:18>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list