[wp-trac] [WordPress Trac] #22772: Introduce HOMEPATH

WordPress Trac noreply at wordpress.org
Thu Dec 6 03:05:42 UTC 2012


#22772: Introduce HOMEPATH
-----------------------------+-------------------------
 Reporter:  WraithKenny      |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Filesystem
  Version:  trunk            |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22772>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list