Changeset 22310
- Timestamp:
- 10/25/2012 10:31:17 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r22255 r22310 3250 3250 */ 3251 3251 function wp_basename( $path, $suffix = '' ) { 3252 return urldecode( basename( str_replace( '%2F', '/', urlencode( $path ) ), $suffix ) );3252 return urldecode( basename( str_replace( array( '%2F', '%5C' ), '/', urlencode( $path ) ), $suffix ) ); 3253 3253 } 3254 3254
Note: See TracChangeset
for help on using the changeset viewer.