[wp-trac] [WordPress Trac] #22772: Introduce HOMEPATH
WordPress Trac
noreply at wordpress.org
Thu Dec 6 03:11:13 UTC 2012
#22772: Introduce HOMEPATH
-------------------------+------------------------------
Reporter: WraithKenny | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Filesystem | Version: trunk
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> I was poking around with get_home_path() and wondering if there's any
> reason to not set a constant HOMEPATH (like ABSPATH) in the root
> index.php
>
> I'd seem to be more reliable then get_home_path() and that function could
> simply return the new constant.
>
> get_home_path has it's origins 8 years ago when the code was very
> different: http://core.trac.wordpress.org/changeset/1567
New description:
I was poking around with get_home_path() and wondering if there's any
reason to not set a constant HOMEPATH (like ABSPATH) in the root index.php
I'd seem to be more reliable then get_home_path() and that function could
simply return the new constant.
get_home_path has it's origins 8 years ago when the code was very
different: [1567]
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22772#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list