Add note to get_allowed_mime_types() about the upload_mimes filter. props JustinSainton. fixes #20990.

git-svn-id: http://core.svn.wordpress.org/trunk@21180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-06-29 15:13:53 +00:00
parent dfa7b94b83
commit 9fb97afcdd
1 changed files with 1 additions and 1 deletions

View File

@ -1756,7 +1756,7 @@ function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) {
* Retrieve list of allowed mime types and file extensions. * Retrieve list of allowed mime types and file extensions.
* *
* @since 2.8.6 * @since 2.8.6
* * @uses apply_filters() Calls 'upload_mimes' on returned array
* @return array Array of mime types keyed by the file extension regex corresponding to those types. * @return array Array of mime types keyed by the file extension regex corresponding to those types.
*/ */
function get_allowed_mime_types() { function get_allowed_mime_types() {