Make WordPress Core

Changeset 21180


Ignore:
Timestamp:
06/29/2012 03:13:53 PM (12 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r21170 r21180  
    17571757 *
    17581758 * @since 2.8.6
    1759  *
     1759 * @uses apply_filters() Calls 'upload_mimes' on returned array
    17601760 * @return array Array of mime types keyed by the file extension regex corresponding to those types.
    17611761 */
Note: See TracChangeset for help on using the changeset viewer.