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

WordPress Trac noreply at wordpress.org
Mon Sep 8 12:16:12 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 selnomeria):

 havent you read my question?
 Why have you mentioned abspath? its too much different thing, then i have
 requested.
 ABSPATH is for php , to include file i.e.
 '''home/mysite/public_html/wp_dir'''/something_file.php

 and i want to get path for browsers, starting only with WP installed
 directory (maybe root, or maybe subfolder. if subfolder wp_dir, then i
 want:
 <img src="'''/wp_dir'''/something_file.png" />

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


More information about the wp-trac mailing list