Changeset 8600 for trunk/wp-admin/includes/file.php
- Timestamp:
- 08/09/2008 05:36:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r8595 r8600 286 286 287 287 $filename = wp_unique_filename( $uploads['path'], $file['name'], $unique_filename_callback ); 288 288 289 289 // Strip the query strings. 290 290 $filename = str_replace('?','-', $filename); 291 291 $filename = str_replace('&','-', $filename); 292 292 293 293 // Move the file to the uploads dir 294 294 $new_file = $uploads['path'] . "/$filename"; … … 472 472 if ( 'direct' == $type ) 473 473 return true; 474 474 475 475 if( ! $credentials = get_option('ftp_credentials') ) 476 476 $credentials = array();
Note: See TracChangeset
for help on using the changeset viewer.