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

WordPress Trac noreply at wordpress.org
Thu Dec 6 04:11:05 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:               |
-------------------------+------------------------------

Comment (by WraithKenny):

 Tested it this time instead of doing it live. It's set just like ABSPATH
 (`define('HOMEPATH', dirname(__FILE__) . '/');` or whatever works for the
 setup) in wp-config.php and doesn't bother to try and set from the root
 index (since that isn't loaded by wp-admin, :-/ my brain misfired there).
 If it's set `get_home_path()` simply returns it. Not sure how to do a unit
 test for something like this tho...

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


More information about the wp-trac mailing list