[wp-trac] [WordPress Trac] #34477: Pass the named image size to the filter in `wp_get_attachment_image_sizes()`
WordPress Trac
noreply at wordpress.org
Sat Oct 31 22:48:10 UTC 2015
#34477: Pass the named image size to the filter in
`wp_get_attachment_image_sizes()`
--------------------------+---------------------
Reporter: joemcgill | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------
Changes (by azaozz):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"35481"]:
{{{
#!CommitTicketReference repository="" revision="35481"
Responsive images: add `$image_url` parameter to
`wp_get_attachment_image_sizes()` and use it in the filter. This allows
themes and plugins to identify the image.
Props joemcgill.
Fixes #34477.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34477#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list