[wp-trac] [WordPress Trac] #57086: Omit or filter decoding attribute in wp_get_attachment_image()
WordPress Trac
noreply at wordpress.org
Tue Nov 15 17:59:04 UTC 2022
#57086: Omit or filter decoding attribute in wp_get_attachment_image()
--------------------------------------+--------------------------
Reporter: maximej | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.2
Component: Media | Version: 6.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Comment (by adamsilverstein):
[attachment:"57086.diff"] offers an approach that avoids adding the
decoding attribute when passed as false or an empty string and also adds
tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57086#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list