WordPress.org

WordPress build repository browser

Changeset 42525


Ignore:
Timestamp:
02/11/18 16:40:31 (11 days ago)
Author:
SergeyBiryukov
Message:

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

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

Location:
trunk/wp-includes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r42506 r42525  
    25572557            // Audio formats. 
    25582558            'mp3|m4a|m4b'                  => 'audio/mpeg', 
     2559            'aac'                          => 'audio/aac', 
    25592560            'ra|ram'                       => 'audio/x-realaudio', 
    25602561            'wav'                          => 'audio/wav', 
  • trunk/wp-includes/media.php

    r42524 r42525  
    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 
  • trunk/wp-includes/version.php

    r42524 r42525  
    55 * @global string $wp_version 
    66 */ 
    7 $wp_version = '5.0-alpha-42696'; 
     7$wp_version = '5.0-alpha-42697'; 
    88 
    99/** 
Note: See TracChangeset for help on using the changeset viewer.