[wp-trac] [WordPress Trac] #58704: Image widget images do not support fetch priority or async
WordPress Trac
noreply at wordpress.org
Thu Jul 6 16:31:18 UTC 2023
#58704: Image widget images do not support fetch priority or async
--------------------------------------+--------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.3
Component: Widgets | Version: 4.8
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Changes (by flixos90):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"56154" 56154]:
{{{
#!CommitTicketReference repository="" revision="56154"
Media: Ensure that the image widget supports loading optimization
attributes.
This changeset adds support for loading optimization attributes such as
`loading="lazy"` and `fetchpriority="high"` to the image widget. A new
context `widget_media_image` is introduced for that purpose.
Props spacedmonkey, thekt12, mukesh27, westonruter.
Fixes #58704.
See #58235.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58704#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list