Changeset 52032 for trunk/src/wp-includes/functions.php
- Timestamp:
- 11/07/2021 11:28:48 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r51957 r52032 2809 2809 $wp_filetype = wp_check_filetype( $name ); 2810 2810 if ( ! $wp_filetype['ext'] && ! current_user_can( 'unfiltered_upload' ) ) { 2811 return array( 'error' => __( 'Sorry, this file type is not permitted for security reasons.' ) );2811 return array( 'error' => __( 'Sorry, you are not allowed to upload this file type.' ) ); 2812 2812 } 2813 2813
Note: See TracChangeset
for help on using the changeset viewer.