[wp-trac] [WordPress Trac] #23175: Make get_home_path() return consistent slashes
WordPress Trac
noreply at wordpress.org
Sat Feb 16 02:30:48 UTC 2013
#23175: Make get_home_path() return consistent slashes
----------------------------+------------------
Reporter: SergeyBiryukov | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Filesystem | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Description changed by SergeyBiryukov:
Old description:
> 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/
> }}}
New description:
As noted in [comment:ticket:23073:40], `get_home_path()` doesn't return
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#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list