Opened 6 months ago

Last modified 3 months ago

#22772 new enhancement

Introduce HOMEPATH — at Initial Version

Reported by: WraithKenny Owned by:
Priority: normal Milestone: Awaiting Review
Component: Filesystem Version: 3.5
Severity: normal Keywords:
Cc:

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

Change History (0)

Note: See TracTickets for help on using tickets.