`wp_audio|video_shortcode()` doesn't allow you to pass `id`, the docs shall reflect that.
Props thorbrink. See #32855. Built from https://develop.svn.wordpress.org/trunk@33025 git-svn-id: http://core.svn.wordpress.org/trunk@32996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d03ff4b3d9
commit
2b513bf60a
|
@ -1550,7 +1550,6 @@ function wp_get_attachment_id3_keys( $attachment, $context = 'display' ) {
|
|||
* @type string $autoplay The 'autoplay' attribute for the `<audio>` element. Default empty.
|
||||
* @type string $preload The 'preload' attribute for the `<audio>` element. Default empty.
|
||||
* @type string $class The 'class' attribute for the `<audio>` element. Default 'wp-audio-shortcode'.
|
||||
* @type string $id The 'id' attribute for the `<audio>` element. Default 'audio-{$post_id}-{$instance}'.
|
||||
* @type string $style The 'style' attribute for the `<audio>` element. Default 'width: 100%'.
|
||||
* }
|
||||
* @param string $content Shortcode content.
|
||||
|
@ -1751,8 +1750,6 @@ function wp_get_video_extensions() {
|
|||
* Default 'metadata'.
|
||||
* @type string $class The 'class' attribute for the `<video>` element.
|
||||
* Default 'wp-video-shortcode'.
|
||||
* @type string $id The 'id' attribute for the `<video>` element.
|
||||
* Default 'video-{$post_id}-{$instance}'.
|
||||
* }
|
||||
* @param string $content Shortcode content.
|
||||
* @return string|void HTML content to display video.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-33024';
|
||||
$wp_version = '4.3-alpha-33025';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue