Make WordPress Core

Opened 5 years ago

Last modified 3 years ago

#22772 new enhancement

Introduce HOMEPATH — at Version 1

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

Description (last modified by SergeyBiryukov)

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]

Change History (1)

#1 @SergeyBiryukov
5 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.