Changeset 11227
- Timestamp:
- 05/07/2009 06:50:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r11204 r11227 284 284 if ( !$type ) 285 285 $type = $file['type']; 286 } else { 287 $type = ''; 286 288 } 287 289 … … 306 308 $url = $uploads['url'] . "/$filename"; 307 309 308 $return = apply_filters( 'wp_handle_upload', array( 'file' => $new_file, 'url' => $url, 'type' => $type ) ); 309 310 return $return; 310 return apply_filters( 'wp_handle_upload', array( 'file' => $new_file, 'url' => $url, 'type' => $type ) ); 311 311 } 312 312
Note: See TracChangeset
for help on using the changeset viewer.