WordPress.org

Make WordPress Core

Changeset 30422


Ignore:
Timestamp:
11/20/2014 01:10:45 PM (5 years ago)
Author:
nacin
Message:

Playlists are video by default. props duck_

File:
1 edited

Legend:

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

    r30342 r30422  
    12271227    $id = intval( $atts['id'] );
    12281228
     1229    if ( $atts['type'] !== 'audio' ) {
     1230        $atts['type'] = 'video';
     1231    }
     1232
    12291233    $args = array(
    12301234        'post_status' => 'inherit',
Note: See TracChangeset for help on using the changeset viewer.