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

WordPress Trac noreply at wordpress.org
Thu Dec 6 03:17:34 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):

 (thanks Sergey)

 Alternatively, it could be named WP_HOME_DIR to fit the other constants:
 http://codex.wordpress.org/Determining_Plugin_and_Content_Directories#Constants
 even though WP_HOME isn't WP_HOME_URL...

 Another alternative is to not set the constant in the root index.php but
 leave the check in get_home_path so that it can be set instead in the wp-
 config.php

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


More information about the wp-trac mailing list