Media: Add aac to the list of allowed file types.

Props desrosj.
Merges [42697] and [43135] to the 4.9 branch.
Fixes #42919.

git-svn-id: https://develop.svn.wordpress.org/branches/4.9@43136 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-05-03 06:41:48 +00:00
parent f1bac48fb1
commit 7bfeecac51

View File

@ -2446,6 +2446,7 @@ function wp_get_mime_types() {
'dfxp' => 'application/ttaf+xml',
// Audio formats.
'mp3|m4a|m4b' => 'audio/mpeg',
'aac' => 'audio/aac',
'ra|ram' => 'audio/x-realaudio',
'wav' => 'audio/wav',
'ogg|oga' => 'audio/ogg',