[wp-trac] [WordPress Trac] #20449: get_home_path() error on windows with different home and site_url values
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 16 01:02:58 UTC 2012
#20449: get_home_path() error on windows with different home and site_url values
--------------------------+------------------------------
Reporter: iturgeon | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: => has-patch
Comment:
For some reason, `$_SERVER['SCRIPT_FILENAME']` contains forward slashes on
my Windows install:
{{{
S:/home/wordpress/trunk/wp/wp-admin/options-permalink.php
}}}
So the bug didn't reproduce as is. `ABSPATH` contains backslashes though:
{{{
S:\home\wordpress\trunk\wp/
}}}
The patch also handles #10447.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20449#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list