[wp-trac] [WordPress Trac] #14110: Expose height and width attributes to 'wp_get_attachment_image_attributes' filter
WordPress Trac
noreply at wordpress.org
Mon Apr 28 16:30:24 UTC 2025
#14110: Expose height and width attributes to 'wp_get_attachment_image_attributes'
filter
-------------------------------------------------+-------------------------
Reporter: divinenephron | Owner:
| adamsilverstein
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Media | Version: 3.0
Severity: minor | Resolution:
Keywords: reporter-feedback has-patch 2nd- | Focuses:
opinion |
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):
* keywords: reporter-feedback has-patch => reporter-feedback has-patch
2nd-opinion
Comment:
> Expose height and width attributes to
'wp_get_attachment_image_attributes' filter
Reviewing the PR I noticed that we already include the height and with
attributes in the data passed to `wp_get_attachment_image_attributes`
(since r58235).
@divinenephron Is this PR still needed, or can we close this ticket now as
already resolved?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14110#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list