Changeset 8242 for branches/crazyhorse/wp-admin/includes/file.php
- Timestamp:
- 07/02/2008 11:07:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crazyhorse/wp-admin/includes/file.php
r8103 r8242 286 286 287 287 $filename = wp_unique_filename( $uploads['path'], $file['name'], $unique_filename_callback ); 288 288 289 // Strip the query strings. 290 $filename = str_replace('?','-', $filename); 291 $filename = str_replace('&','-', $filename); 292 289 293 // Move the file to the uploads dir 290 294 $new_file = $uploads['path'] . "/$filename";
Note: See TracChangeset
for help on using the changeset viewer.