[wp-trac] [WordPress Trac] #29582: Home Folder variable

WordPress Trac noreply at wordpress.org
Mon Sep 8 15:33:41 UTC 2014


#29582: Home Folder variable
-----------------------------+----------------------
 Reporter:  selnomeria       |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  General          |     Version:  4.0
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |     Focuses:
-----------------------------+----------------------

Comment (by SergeyBiryukov):

 Please ignore the `ABSPATH` reference, I misread the ticket initially.

 Most of the time, it's actually easier to use absolute URLs for local
 development, however that depends on your environment and workflow (there
 were some long discussions in older tickets, and I don't want to start
 another one).

 What's wrong with `home_url( '/', 'relative' )`?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29582#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list