Ticket #22138: 22138.patch
File 22138.patch, 500 bytes (added by , 12 years ago) |
---|
-
wp-includes/formatting.php
3243 3243 * @return string 3244 3244 */ 3245 3245 function wp_basename( $path, $suffix = '' ) { 3246 return urldecode( basename( str_replace( '%2F', '/', urlencode( $path ) ), $suffix ) );3246 return urldecode( basename( str_replace( array( '%2F', '%5C' ), '/', urlencode( $path ) ), $suffix ) ); 3247 3247 } 3248 3248 3249 3249 /**