Docs: Normalize spacing in the `$attr` hash notation for `gallery_shortcode()` following [35045].
See #34257. See #32246. Built from https://develop.svn.wordpress.org/trunk@35046 git-svn-id: http://core.svn.wordpress.org/trunk@35011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e4f9e334ea
commit
1571907571
|
@ -1377,24 +1377,24 @@ add_shortcode('gallery', 'gallery_shortcode');
|
|||
* @param array $attr {
|
||||
* Attributes of the gallery shortcode.
|
||||
*
|
||||
* @type string $order Order of the images in the gallery. Default 'ASC'. Accepts 'ASC', 'DESC'.
|
||||
* @type string $orderby The field to use when ordering the images. Default 'menu_order ID'.
|
||||
* Accepts any valid SQL ORDERBY statement.
|
||||
* @type int $id Post ID.
|
||||
* @type string $itemtag HTML tag to use for each image in the gallery.
|
||||
* Default 'dl', or 'figure' when the theme registers HTML5 gallery support.
|
||||
* @type string $icontag HTML tag to use for each image's icon.
|
||||
* Default 'dt', or 'div' when the theme registers HTML5 gallery support.
|
||||
* @type string $captiontag HTML tag to use for each image's caption.
|
||||
* Default 'dd', or 'figcaption' when the theme registers HTML5 gallery support.
|
||||
* @type int $columns Number of columns of images to display. Default 3.
|
||||
* @type string|array $size Size of the images to display. Accepts any valid image size, or an array of width
|
||||
* and height values in pixels (in that order). Default 'thumbnail'.
|
||||
* @type string $ids A comma-separated list of IDs of attachments to display. Default empty.
|
||||
* @type string $include A comma-separated list of IDs of attachments to include. Default empty.
|
||||
* @type string $exclude A comma-separated list of IDs of attachments to exclude. Default empty.
|
||||
* @type string $link What to link each image to. Default empty (links to the attachment page).
|
||||
* Accepts 'file', 'none'.
|
||||
* @type string $order Order of the images in the gallery. Default 'ASC'. Accepts 'ASC', 'DESC'.
|
||||
* @type string $orderby The field to use when ordering the images. Default 'menu_order ID'.
|
||||
* Accepts any valid SQL ORDERBY statement.
|
||||
* @type int $id Post ID.
|
||||
* @type string $itemtag HTML tag to use for each image in the gallery.
|
||||
* Default 'dl', or 'figure' when the theme registers HTML5 gallery support.
|
||||
* @type string $icontag HTML tag to use for each image's icon.
|
||||
* Default 'dt', or 'div' when the theme registers HTML5 gallery support.
|
||||
* @type string $captiontag HTML tag to use for each image's caption.
|
||||
* Default 'dd', or 'figcaption' when the theme registers HTML5 gallery support.
|
||||
* @type int $columns Number of columns of images to display. Default 3.
|
||||
* @type string|array $size Size of the images to display. Accepts any valid image size, or an array of width
|
||||
* and height values in pixels (in that order). Default 'thumbnail'.
|
||||
* @type string $ids A comma-separated list of IDs of attachments to display. Default empty.
|
||||
* @type string $include A comma-separated list of IDs of attachments to include. Default empty.
|
||||
* @type string $exclude A comma-separated list of IDs of attachments to exclude. Default empty.
|
||||
* @type string $link What to link each image to. Default empty (links to the attachment page).
|
||||
* Accepts 'file', 'none'.
|
||||
* }
|
||||
* @return string HTML content to display gallery.
|
||||
*/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-35045';
|
||||
$wp_version = '4.4-alpha-35046';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue