[wp-trac] [WordPress Trac] #11120: Issue with ABSPATH already defined
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 30 09:27:17 UTC 2009
#11120: Issue with ABSPATH already defined
--------------------------+-------------------------------------------------
Reporter: ontic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: General | Version: 2.8.5
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by westi):
I think it might be easier and better to change admin.php to have a more
successful way of locating wp-load.php for the require_once.
wp-load.php is always going to try and define ABSPATH and IMHO it should
always do that itself as it knows for sure where ABSPATH is.
If we move to the wp-load.php require method used in install.php then we
should always be able to find it from admin.php.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11120#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list