[wp-trac] [WordPress Trac] #23175: Make get_home_path() return consistent slashes
WordPress Trac
noreply at wordpress.org
Fri Jan 11 03:00:34 UTC 2013
#23175: Make get_home_path() return consistent slashes
----------------------------+-------------------------
Reporter: SergeyBiryukov | Type: enhancement
Status: new | Priority: normal
Milestone: 3.6 | Component: Filesystem
Version: | Severity: normal
Keywords: has-patch |
----------------------------+-------------------------
As noted in [comment:ticket:23073:40], `get_home_path()` doesn't
consistent slashes.
If `home` and `siteurl` are identical, it falls back to `ABSPATH`:
{{{
C:\wamp\www\multitest/
}}}
If `home` and `siteurl` are different:
{{{
C:/wamp/www/wordpress/test_subd/
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23175>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list