Changeset 7630
- Timestamp:
- 04/08/2008 05:21:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-includes/functions.php
r7508 r7630 1143 1143 1144 1144 $filename = str_replace( $ext, '', $filename ); 1145 $filename = sanitize_title_with_dashes( $filename ) . $ext; 1145 // Strip % so the server doesn't try to decode entities. 1146 $filename = str_replace('%', '', sanitize_title_with_dashes( $filename ) ) . $ext; 1146 1147 1147 1148 while ( file_exists( $dir . "/$filename" ) ) {
Note: See TracChangeset
for help on using the changeset viewer.