diff --git a/wp-includes/media.php b/wp-includes/media.php index ed5d363f08..04605512e8 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1063,9 +1063,8 @@ function wp_get_playlist( $attr, $type ) { $url = wp_get_attachment_url( $attachment->ID ); $ftype = wp_check_filetype( $url, wp_get_mime_types() ); $track = array( - 'type' => $type, 'src' => $url, - 'type' => $ftype['ext'], + 'type' => $ftype['type'], 'title' => get_the_title( $attachment->ID ), 'caption' => wptexturize( $attachment->post_excerpt ), 'description' => wptexturize( $attachment->post_content )