[wp-trac] [WordPress Trac] #29582: Home Folder variable
WordPress Trac
noreply at wordpress.org
Mon Sep 8 15:15:39 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):
WHY??
100% of local files and images and script need that path, and not abspath.
are not you programmers? I am surprised so much, havent you ever viewed
the website sources with
<img src="/wp_dir/wp-content/uploads......" />
instead of
<img src="http://mysite.com/wp_dir/wp-content/uploads......" />
and according to you, if i use ABSPATH,browser will get:
<img src="home/mysite/public_html/wp_dir/wp-content/uploads......" />
so, the simplest solution is to add just home folder path too in
wp_options.
i always (and professional programmers), use the first type of urls.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29582#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list