[wp-trac] [WordPress Trac] #36982: Add image attributes and additional context to the wp_calculate_image_srcset and wp_calculate_image_sizes filters
WordPress Trac
noreply at wordpress.org
Tue Feb 2 14:42:31 UTC 2021
#36982: Add image attributes and additional context to the
wp_calculate_image_srcset and wp_calculate_image_sizes filters
-------------------------------------------------+-------------------------
Reporter: kylereicks | Owner:
| adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.7
Component: Media | Version: 4.6
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion has-unit- | Focuses: template
tests |
-------------------------------------------------+-------------------------
Comment (by adamsilverstein):
I see the issue, we are using $image_attr in wp_calculate_image_sizes
without actually passing it in. Checking history to see where that was
lost.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36982#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list