Third parameter for shortcode_atts() for audio and video shortcodes. props obenland, see #23282.

git-svn-id: http://core.svn.wordpress.org/trunk@23921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2013-04-05 17:46:31 +00:00
parent 01ac7891b6
commit 47b7e15f2a
1 changed files with 2 additions and 2 deletions

View File

@ -854,7 +854,7 @@ function wp_audio_shortcode( $attr ) {
foreach ( $default_types as $type )
$defaults_atts[$type] = '';
$atts = shortcode_atts( $defaults_atts, $attr );
$atts = shortcode_atts( $defaults_atts, $attr, 'audio' );
extract( $atts );
$primary = false;
@ -961,7 +961,7 @@ function wp_video_shortcode( $attr ) {
foreach ( $default_types as $type )
$defaults_atts[$type] = '';
$atts = shortcode_atts( $defaults_atts, $attr );
$atts = shortcode_atts( $defaults_atts, $attr, 'video' );
extract( $atts );
$primary = false;