WordPress.org

Make WordPress Core

Ticket #45633: 45633.2.patch

File 45633.2.patch, 450 bytes (added by mukesh27, 11 months ago)

@subrataemfluence, update patch because you have added 'json' =>'application/json', in Image formats instead of Misc application formats

  • src/wp-includes/functions.php

     
    25122512        'wax' => 'audio/x-ms-wax',
    25132513        'mka' => 'audio/x-matroska',
    25142514        // Misc application formats.
     2515        'json' =>'application/json',
    25152516        'rtf' => 'application/rtf',
    25162517        'js' => 'application/javascript',
    25172518        'pdf' => 'application/pdf',