WordPress.org

Make WordPress Core

Ticket #20990: 20990.patch

File 20990.patch, 515 bytes (added by JustinSainton, 3 years ago)
  • wp-includes/functions.php

     
    17561756 * Retrieve list of allowed mime types and file extensions. 
    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 */ 
    17621762function get_allowed_mime_types() {