WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/11/2018 04:39:54 PM (4 years ago)
Author:
SergeyBiryukov
Message:

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

Props desrosj.
Fixes #42919.

File:
1 edited

Legend:

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

    r42696 r42697  
    22442244     *
    22452245     * @param array $extensions An array of supported audio formats. Defaults are
    2246      *                          'mp3', 'ogg', 'flac', 'm4a', 'wav'.
    2247      */
    2248     return apply_filters( 'wp_audio_extensions', array( 'mp3', 'ogg', 'flac', 'm4a', 'wav' ) );
     2246     *                          'mp3', 'aac', 'ogg', 'flac', 'm4a', 'wav'.
     2247     */
     2248    return apply_filters( 'wp_audio_extensions', array( 'mp3', 'aac', 'ogg', 'flac', 'm4a', 'wav' ) );
    22492249}
    22502250
Note: See TracChangeset for help on using the changeset viewer.