From aee17a059f48bac2e648b44efe0e52297845a233 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 12 Feb 2018 21:39:40 +0000 Subject: [PATCH] Docs: Use code formatting for tags in `img_caption_shortcode()` DocBlock. See #34595. git-svn-id: https://develop.svn.wordpress.org/trunk@42705 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index f92ecbd1c7..ade1114d16 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -1503,8 +1503,8 @@ add_shortcode( 'caption', 'img_caption_shortcode' ); * @param array $attr { * Attributes of the caption shortcode. * - * @type string $id ID of the image and caption container element, i.e.
or
. - * @type string $caption_id ID of the caption element, i.e.
or

. + * @type string $id ID of the image and caption container element, i.e. `

` or `
`. + * @type string $caption_id ID of the caption element, i.e. `
` or `

`. * @type string $align Class name that aligns the caption. Default 'alignnone'. Accepts 'alignleft', * 'aligncenter', alignright', 'alignnone'. * @type int $width The width of the caption, in pixels.