Make WordPress Core

Ticket #54193: fileinfo-json-fix.diff

File fileinfo-json-fix.diff, 386 bytes (added by dashifen, 3 years ago)
  • src/wp-includes/functions.php

    diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
    index d82b2e54ba..f75c396328 100644
    a b function wp_check_filetype_and_ext( $file, $filename, $mimes = null ) { 
    30883088                                        'text/richtext',
    30893089                                        'text/tsv',
    30903090                                        'text/vtt',
    3091                                         'application/json',
    30923091                                ),
    30933092                                true
    30943093                        )