mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 18:08:09 +01:00
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 $autoplay The 'autoplay' attribute for the `<audio>` element. Default empty.
|
||||||
* @type string $preload The 'preload' 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 $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%'.
|
* @type string $style The 'style' attribute for the `<audio>` element. Default 'width: 100%'.
|
||||||
* }
|
* }
|
||||||
* @param string $content Shortcode content.
|
* @param string $content Shortcode content.
|
||||||
@ -1751,8 +1750,6 @@ function wp_get_video_extensions() {
|
|||||||
* Default 'metadata'.
|
* Default 'metadata'.
|
||||||
* @type string $class The 'class' attribute for the `<video>` element.
|
* @type string $class The 'class' attribute for the `<video>` element.
|
||||||
* Default 'wp-video-shortcode'.
|
* Default 'wp-video-shortcode'.
|
||||||
* @type string $id The 'id' attribute for the `<video>` element.
|
|
||||||
* Default 'video-{$post_id}-{$instance}'.
|
|
||||||
* }
|
* }
|
||||||
* @param string $content Shortcode content.
|
* @param string $content Shortcode content.
|
||||||
* @return string|void HTML content to display video.
|
* @return string|void HTML content to display video.
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user