Playlists are video by default. props duck_

Built from https://develop.svn.wordpress.org/trunk@30422


git-svn-id: http://core.svn.wordpress.org/trunk@30417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-11-20 13:11:23 +00:00
parent b271e36f47
commit c2f334bf3c
2 changed files with 5 additions and 1 deletions

View File

@ -1226,6 +1226,10 @@ function wp_playlist_shortcode( $attr ) {
$id = intval( $atts['id'] );
if ( $atts['type'] !== 'audio' ) {
$atts['type'] = 'video';
}
$args = array(
'post_status' => 'inherit',
'post_type' => 'attachment',

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-beta1-30417';
$wp_version = '4.1-beta1-30422';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.