From da8c9d6c7e5700b0c82aa21f3fbb41798b8c06b6 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 12 Oct 2015 15:45:23 +0000 Subject: [PATCH] Docs: Normalize spacing in the `$attr` hash notation for `gallery_shortcode()` following [35045]. See #34257. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35046 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 0c82380fb7..79f2ace796 100644 --- a/src/wp-includes/media.php +++ b/src/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. */