[wp-trac] [WordPress Trac] #23175: Make get_home_path() return consistent slashes

WordPress Trac noreply at wordpress.org
Mon Jan 14 03:18:55 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       |
----------------------------+------------------

Comment (by SergeyBiryukov):

 I've reviewed all the instances of `get_home_path()` in core to make both
 types of slashes are allowed there (since it currently returns both types
 anyway).

 It's mostly used in `file_exists()` and `win_is_writable()` checks, which
 is fine.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23175#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list