From 15719075718757684e1a1203cfd07826aa46485e Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 15:46:24 +0000 Subject: [PATCH] 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 --- wp-includes/media.php | 36 ++++++++++++++++++------------------ wp-includes/version.php | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/wp-includes/media.php b/wp-includes/media.php index 0c82380fb7..79f2ace796 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -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. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 963edb140f..b393951200 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.