WordPress.org

Make WordPress Core

Ticket #45622: 45622.diff

File 45622.diff, 519 bytes (added by birgire, 4 months ago)
  • src/wp-includes/functions.php

    diff --git src/wp-includes/functions.php src/wp-includes/functions.php
    index d4af13f..03508e8 100644
    function wp_get_mime_types() { 
    24912491        '3gp|3gpp' => 'video/3gpp', // Can also be audio
    24922492        '3g2|3gp2' => 'video/3gpp2', // Can also be audio
    24932493        // Text formats.
    2494         'txt|asc|c|cc|h|srt' => 'text/plain',
     2494        'txt|asc|c|cc|h|srt|vtt' => 'text/plain',
    24952495        'csv' => 'text/csv',
    24962496        'tsv' => 'text/tab-separated-values',
    24972497        'ics' => 'text/calendar',