Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#22772 new enhancement

Introduce HOMEPATH — at Initial Version

Reported by: WraithKenny Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5
Component: Filesystem API Keywords: needs-patch
Focuses: Cc:


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

Change History (0)

Note: See TracTickets for help on using tickets.