mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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:
parent
b271e36f47
commit
c2f334bf3c
@ -1226,6 +1226,10 @@ function wp_playlist_shortcode( $attr ) {
|
|||||||
|
|
||||||
$id = intval( $atts['id'] );
|
$id = intval( $atts['id'] );
|
||||||
|
|
||||||
|
if ( $atts['type'] !== 'audio' ) {
|
||||||
|
$atts['type'] = 'video';
|
||||||
|
}
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'post_status' => 'inherit',
|
'post_status' => 'inherit',
|
||||||
'post_type' => 'attachment',
|
'post_type' => 'attachment',
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user