[wp-trac] [WordPress Trac] #51362: Allow gallery_shortcode() and get_image_tag() to accept an array of image dimensions
WordPress Trac
noreply at wordpress.org
Sun Oct 11 19:59:30 UTC 2020
#51362: Allow gallery_shortcode() and get_image_tag() to accept an array of image
dimensions
--------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+--------------------------
Changes (by johnbillion):
* owner: (none) => johnbillion
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"49128" 49128]:
{{{
#!CommitTicketReference repository="" revision="49128"
Media: Allow the `gallery_shortcode()` and `get_image_tag()` functions to
correctly accept an array of image dimensions.
These functions did previously accept an array of image dimensions but
their class attributes were not properly constructed.
Fixes #51362
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51362#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list