WordPress.org

Make WordPress Core

Ticket #45633: 45633.patch

File 45633.patch, 402 bytes (added by subrataemfluence, 11 months ago)

Proposed patch

  • wp-includes/

    diff --git wp-includes/functions.php wp-includes/functions-45633.php
    index 71d42cb..29e5e75 100755
    old new function wp_get_mime_types() { 
    24722472         */
    24732473        return apply_filters( 'mime_types', array(
    24742474        // Image formats.
     2475        'json' =>'application/json',
    24752476        'jpg|jpeg|jpe' => 'image/jpeg',
    24762477        'gif' => 'image/gif',
    24772478        'png' => 'image/png',