Changeset 39891 for trunk/src/wp-includes/functions.php
- Timestamp:
- 01/12/2017 06:28:32 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r39850 r39891 2140 2140 $wp_filetype = wp_check_filetype( $name ); 2141 2141 if ( ! $wp_filetype['ext'] && ! current_user_can( 'unfiltered_upload' ) ) 2142 return array( 'error' => __( ' Invalid file type' ) );2142 return array( 'error' => __( 'Sorry, this file type is not permitted for security reasons.' ) ); 2143 2143 2144 2144 $upload = wp_upload_dir( $time );
Note: See TracChangeset
for help on using the changeset viewer.