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

WordPress Trac noreply at wordpress.org
Wed Mar 13 13:08:58 UTC 2013


#23175: Make get_home_path() return consistent slashes
----------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov              |       Owner:  SergeyBiryukov
     Type:  enhancement                 |      Status:  reopened
 Priority:  normal                      |   Milestone:  3.6
Component:  Filesystem                  |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+-----------------------------
Changes (by bananastalktome):

 * cc: bananastalktome@… (added)
 * keywords:  has-patch => has-patch needs-unit-tests
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Breaks unit test `test_get_home_path` in
 [source:/tests/trunk/tests/admin/includesFile.php
 tests/admin/includesFile.php]


 {{{
 1) Tests_Admin_includesFile::test_get_home_path
 Failed asserting that two strings are equal.
 --- Expected
 +++ Actual
 @@ @@
 -'D:\root\vhosts\site\httpdocs/'
 +'D:/root/vhosts/site/httpdocs/'
 }}}

 (I'm reopening the ticket because of this, which I think is the proper
 thing to do in these cases. Please let me know if this is not what I
 should do.)

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


More information about the wp-trac mailing list