Media: Remove media player support for `.aac` files due to only partial support in Firefox.

This still allows `.aac` files to be uploaded, but does not explicitly declare support for use in the editor and within embeds to prevent bad UX.

Props desrosj.
See #42919.
Built from https://develop.svn.wordpress.org/trunk@43135


git-svn-id: http://core.svn.wordpress.org/trunk@42964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-05-03 06:38:21 +00:00
parent 267d4ef5a5
commit 074535cac3
2 changed files with 3 additions and 3 deletions

View File

@ -2248,9 +2248,9 @@ function wp_get_audio_extensions() {
* @since 3.6.0 * @since 3.6.0
* *
* @param array $extensions An array of supported audio formats. Defaults are * @param array $extensions An array of supported audio formats. Defaults are
* 'mp3', 'aac', 'ogg', 'flac', 'm4a', 'wav'. * 'mp3', 'ogg', 'flac', 'm4a', 'wav'.
*/ */
return apply_filters( 'wp_audio_extensions', array( 'mp3', 'aac', 'ogg', 'flac', 'm4a', 'wav' ) ); return apply_filters( 'wp_audio_extensions', array( 'mp3', 'ogg', 'flac', 'm4a', 'wav' ) );
} }
/** /**

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-43132'; $wp_version = '5.0-alpha-43135';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.