Media: Add `aac` to the list of allowed file types.
Props desrosj. Fixes #42919. Built from https://develop.svn.wordpress.org/trunk@42697 git-svn-id: http://core.svn.wordpress.org/trunk@42525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3de0634199
commit
f88dddcab5
|
@ -2556,6 +2556,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',
|
||||
|
|
|
@ -2243,9 +2243,9 @@ function wp_get_audio_extensions() {
|
|||
* @since 3.6.0
|
||||
*
|
||||
* @param array $extensions An array of supported audio formats. Defaults are
|
||||
* 'mp3', 'ogg', 'flac', 'm4a', 'wav'.
|
||||
* 'mp3', 'aac', 'ogg', 'flac', 'm4a', 'wav'.
|
||||
*/
|
||||
return apply_filters( 'wp_audio_extensions', array( 'mp3', 'ogg', 'flac', 'm4a', 'wav' ) );
|
||||
return apply_filters( 'wp_audio_extensions', array( 'mp3', 'aac', 'ogg', 'flac', 'm4a', 'wav' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-42696';
|
||||
$wp_version = '5.0-alpha-42697';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue