Make WordPress Core

Changeset 43135 for trunk


Ignore:
Timestamp:
05/03/2018 06:37:23 AM (7 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r43062 r43135  
    22492249     *
    22502250     * @param array $extensions An array of supported audio formats. Defaults are
    2251      *                          'mp3', 'aac', 'ogg', 'flac', 'm4a', 'wav'.
    2252      */
    2253     return apply_filters( 'wp_audio_extensions', array( 'mp3', 'aac', 'ogg', 'flac', 'm4a', 'wav' ) );
     2251     *                          'mp3', 'ogg', 'flac', 'm4a', 'wav'.
     2252     */
     2253    return apply_filters( 'wp_audio_extensions', array( 'mp3', 'ogg', 'flac', 'm4a', 'wav' ) );
    22542254}
    22552255
Note: See TracChangeset for help on using the changeset viewer.