[wp-trac] [WordPress Trac] #56206: Add missing `@since` notes to `gallery_shortcode` documentation`

WordPress Trac noreply at wordpress.org
Tue Jul 12 16:53:29 UTC 2022

#56206: Add missing `@since` notes to `gallery_shortcode` documentation`
 Reporter:  desrosj      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  Gallery      |    Version:
 Severity:  normal       |   Keywords:  needs-patch good-first-bug
  Focuses:  docs         |
 The `gallery_shortcode()` function was introduced in version 2.5. It looks
 like there are some `@since` tags that could be added for the
 `gallery_shortcode()` function to improve the historical documentation.

 A few I identified looking through the version control blame trying to
 track something else down:
 - In [27302] the HTML elements used for the `itemtag`, `icontag` and
 `captiontag` attributes were changed when HTML5 support was added through
 - #24979/[25665] introduced a `link` attribute in 3.7.
 - #6368/[7496] switched to actually using the `$attr` parameter to shape
 the output of the shortcode, introduced several new attributes in
 including `size`, `itemtag`, `icontag`, `captiontag`, and `columns`, and
 also changed the markup from `<div>` tags to `<dl>`, `<dt>` and `<dd>`
 tags, etc. for 2.8.

Ticket URL: <https://core.trac.wordpress.org/ticket/56206>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list