﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
21410,Misleading function description for check_upload_mimes,Cimmo,,"The description for check_upload_mimes is misleading.
Specifically ""This function is used to filter that list against..."" for that list seems talks about what returned by get_allowed_mime_types() but this is not true, since there is no call to get_allowed_mime_types() in the code.

Instead filter $mimes input array against the filetype whitelist provided by Multisite.
Please fix the description.


{{{

/**
 * Check an array of MIME types against a whitelist.
 *
 * WordPress ships with a set of allowed upload filetypes,
 * which is defined in wp-includes/functions.php in
 * get_allowed_mime_types(). This function is used to filter
 * that list against the filetype whitelist provided by Multisite
 * Super Admins at wp-admin/network/settings.php.
 *
 * @since MU
 *
 * @param array $mimes
 * @return array
 */
function check_upload_mimes( $mimes ) {
}}}
",enhancement,closed,normal,,Multisite,3.4.1,normal,invalid,,
