[wp-trac] [WordPress Trac] #22267: Make trailingslashit() and untrailingslashit() work with backslashes

WordPress Trac noreply at wordpress.org
Fri Oct 26 21:22:39 UTC 2012


#22267: Make trailingslashit() and untrailingslashit() work with backslashes
-------------------------+------------------------------
 Reporter:  knutsp       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Filesystem   |     Version:  2.2
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |
-------------------------+------------------------------

Comment (by SergeyBiryukov):

 I guess [attachment:22267.c.patch] might actually be acceptable. At least
 it doesn't break any of our current unit tests.

 Perhaps explicit `\\` notation would be more readable than `chr( 92 )`.

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


More information about the wp-trac mailing list