Changeset 5700 for trunk/wp-admin/includes/file.php
- Timestamp:
- 06/14/2007 02:25:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r5566 r5700 139 139 if ( ( !$type || !$ext ) && !current_user_can( 'unfiltered_upload' ) ) 140 140 return $upload_error_handler( $file, __( 'File type does not meet security guidelines. Try another.' )); 141 141 142 142 if ( !$ext ) 143 143 $ext = strrchr($file['name'], '.');
Note: See TracChangeset
for help on using the changeset viewer.