From 9283b786be673d9876e55b9b765951d17aa6d721 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 29 Jun 2012 15:13:53 +0000 Subject: [PATCH] Add note to get_allowed_mime_types() about the upload_mimes filter. props JustinSainton. fixes #20990. git-svn-id: https://develop.svn.wordpress.org/trunk@21180 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index ec437da018..8699ce7d9e 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1756,7 +1756,7 @@ function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) { * Retrieve list of allowed mime types and file extensions. * * @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. */ function get_allowed_mime_types() {