Docs: Add missing `@since` history in Gallery Shortcode function.
Props bengreeley, audrasjb, desrosj, mukesh27. Fixes #56206. See #55646. Built from https://develop.svn.wordpress.org/trunk@54172 git-svn-id: http://core.svn.wordpress.org/trunk@53731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
11fdb19ae3
commit
83a2c2428a
|
@ -2330,6 +2330,25 @@ add_shortcode( 'gallery', 'gallery_shortcode' );
|
|||
* WordPress images on a post.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @since 2.8.0 Added the `$attr` parameter to set the shortcode output. New attributes included
|
||||
* such as `size`, `itemtag`, `icontag`, `captiontag`, and columns. Changed markup from
|
||||
* `div` tags to `dl`, `dt` and `dd` tags. Support more than one gallery on the
|
||||
* same page.
|
||||
* @since 2.9.0 Added support for `include` and `exclude` to shortcode.
|
||||
* @since 3.5.0 Use get_post() instead of global `$post`. Handle mapping of `ids` to `include`
|
||||
* and `orderby`.
|
||||
* @since 3.6.0 Added validation for tags used in gallery shortcode. Add orientation information to items.
|
||||
* @since 3.7.0 Introduced the `link` attribute.
|
||||
* @since 3.9.0 `html5` gallery support, accepting 'itemtag', 'icontag', and 'captiontag' attributes.
|
||||
* @since 4.0.0 Removed use of `extract()`.
|
||||
* @since 4.1.0 Added attribute to `wp_get_attachment_link()` to output `aria-describedby`.
|
||||
* @since 4.2.0 Passed the shortcode instance ID to `post_gallery` and `post_playlist` filters.
|
||||
* @since 4.6.0 Standardized filter docs to match documentation standards for PHP.
|
||||
* @since 5.1.0 Code cleanup for WPCS 1.0.0 coding standards.
|
||||
* @since 5.3.0 Saved progress of intermediate image creation after upload.
|
||||
* @since 5.5.0 Ensured that galleries can be output as a list of links in feeds.
|
||||
* @since 5.6.0 Replaced order-style PHP type conversion functions with typecasts. Fix logic for
|
||||
* an array of image dimensions.
|
||||
*
|
||||
* @param array $attr {
|
||||
* Attributes of the gallery shortcode.
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.1-alpha-54171';
|
||||
$wp_version = '6.1-alpha-54172';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue