Changeset 19593 for trunk/wp-admin/includes/file.php
- Timestamp:
- 12/13/2011 11:45:31 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/file.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r19225 r19593 241 241 $upload_error_handler = 'wp_handle_upload_error'; 242 242 243 // You may have had one or more 'wp_handle_upload_prefilter' functions error out the file. Handle that gracefully.243 // You may have had one or more 'wp_handle_upload_prefilter' functions error out the file. Handle that gracefully. 244 244 if ( isset( $file['error'] ) && !is_numeric( $file['error'] ) && $file['error'] ) 245 245 return $upload_error_handler( $file, $file['error'] ); … … 365 365 /** 366 366 * Handle sideloads, which is the process of retrieving a media item from another server instead of 367 * a traditional media upload. This process involves sanitizing the filename, checking extensions367 * a traditional media upload. This process involves sanitizing the filename, checking extensions 368 368 * for mime type, and moving the file to the appropriate directory within the uploads directory. 369 369 *
Note: See TracChangeset
for help on using the changeset viewer.