From 9fb97afcdde3434fdd5a1d73c3210fcd4516f2b1 Mon Sep 17 00:00:00 2001 From: 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: http://core.svn.wordpress.org/trunk@21180 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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() {