mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
ca66a5ca21
commit
9283b786be
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user