Changeset 16577 for trunk/wp-admin/includes/file.php
- Timestamp:
- 11/24/2010 08:45:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/file.php
r16438 r16577 339 339 340 340 if ( ( !$type || !$ext ) && !current_user_can( 'unfiltered_upload' ) ) 341 return call_user_func($upload_error_handler, $file, __( ' File type does not meet security guidelines. Try another.' ));341 return call_user_func($upload_error_handler, $file, __( 'Sorry, this file type is not permitted for security reasons.' )); 342 342 343 343 if ( !$ext ) … … 459 459 460 460 if ( ( !$type || !$ext ) && !current_user_can( 'unfiltered_upload' ) ) 461 return $upload_error_handler( $file, __( ' File type does not meet security guidelines. Try another.' ));461 return $upload_error_handler( $file, __( 'Sorry, this file type is not permitted for security reasons.' )); 462 462 463 463 if ( !$ext )
Note: See TracChangeset
for help on using the changeset viewer.