[wp-trac] [WordPress Trac] #58704: Image widget images do not support fetch priority or async
WordPress Trac
noreply at wordpress.org
Mon Jul 3 13:46:06 UTC 2023
#58704: Image widget images do not support fetch priority or async
--------------------------+-----------------------------
Reporter: spacedmonkey | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version:
Severity: normal | Keywords:
Focuses: performance |
--------------------------+-----------------------------
Steps to replicate:
- Enable classic widget plugin.
- Activate theme that supports widgets.
- Insert image widget into sidebar.
- Click add image.
- Click Insert from URL.
- In url field, insert an image url like
https://placehold.co/600x400/EEE/31343C.
- Click add widget
- Save widget.
View widgets on front end.
Image tag in manually built in image widget like
[https://github.com/WordPress/wordpress-
develop/blob/d1f9292a14daae966f03809785af4566d3d773a6/src/wp-
includes/widgets/class-wp-widget-media-image.php#L242-L249 this]. This
means that new image features like fetch priority or async.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58704>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list