[wp-trac] [WordPress Trac] #22138: wp_basname wrong on Windows Systems
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 9 14:12:50 UTC 2012
#22138: wp_basname wrong on Windows Systems
-----------------------------+--------------------------
Reporter: sebber | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Formatting
Version: 3.4.2 | Severity: normal
Keywords: needs-patch |
-----------------------------+--------------------------
On Windows System the Directory Seperator is \ instead of Unix /.
So the urlencode in wp_basename() encodes the \ and it is not removed in
basename().
WP_basename is not working properly on Windows Systems.
Just take a look in the Support Forum:
http://wordpress.org/support/topic/function-wp_basename-is-wrong-in-
windows?replies=3
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22138>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list