[wp-trac] [WordPress Trac] #29626: Ability to set ABSPATH to something else then the directory where wp-load.php is
WordPress Trac
noreply at wordpress.org
Thu Sep 11 19:02:02 UTC 2014
#29626: Ability to set ABSPATH to something else then the directory where wp-
load.php is
----------------------------+------------------------
Reporter: mark-k | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Bootstrap/Load | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
----------------------------+------------------------
Comment (by nacin):
wp-config-sample.php includes code that defines ABSPATH for plugins and
implementations directly including wp-config.php, which was the "right"
way before wp-load.php existed. (Of course, it is never the right way for
plugins, but there are some cases where you want to include wp-load.php to
do things.) It's purely for back compat at this point.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29626#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list