diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 20af7419e0..cb85c05eca 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -224,6 +224,7 @@ function validate_file_to_edit( $file, $allowed_files = '' ) { * Handle PHP uploads in WordPress, sanitizing file names, checking extensions for mime type, * and moving the file to the appropriate directory within the uploads directory. * + * @access private * @since 4.0.0 * * @see wp_handle_upload_error