WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 11 months ago

#23175 closed enhancement

Make get_home_path() return consistent slashes — at Initial Version

Reported by: SergeyBiryukov Owned by:
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Filesystem API Keywords: has-patch
Focuses: Cc:

Description

As noted in 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/ 

Change History (1)

SergeyBiryukov16 months ago

Note: See TracTickets for help on using tickets.