WordPress.org

Make WordPress Core

Ticket #11864: t11864-m4b-mime-type.diff

File t11864-m4b-mime-type.diff, 457 bytes (added by demetris, 8 years ago)

Adds m4b (audiobook) to allowed MIME types for media uploading

  • wp-includes/functions.php

     
    22842284                'rtx' => 'text/richtext',
    22852285                'css' => 'text/css',
    22862286                'htm|html' => 'text/html',
    2287                 'mp3|m4a' => 'audio/mpeg',
     2287                'mp3|m4a|m4b' => 'audio/mpeg',
    22882288                'mp4|m4v' => 'video/mp4',
    22892289                'ra|ram' => 'audio/x-realaudio',
    22902290                'wav' => 'audio/wav',