WordPress/wp-includes/widgets
Felix Arntz 5b91824af0 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.

Built from https://develop.svn.wordpress.org/trunk@56154


git-svn-id: http://core.svn.wordpress.org/trunk@55666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-07-06 16:33:27 +00:00
..
class-wp-nav-menu-widget.php
class-wp-widget-archives.php
class-wp-widget-block.php Code Modernization: Replace usage of `strpos()` with `str_starts_with()`. 2023-05-02 15:45:22 +00:00
class-wp-widget-calendar.php
class-wp-widget-categories.php
class-wp-widget-custom-html.php Widgets: Defer register inline script in `WP_Widget_Custom_HTML` and `WP_Widget_Text`. 2023-03-15 11:38:20 +00:00
class-wp-widget-links.php Customize: Prevent JS error in Links widget when selective refresh is enabled 2022-09-11 21:57:09 +00:00
class-wp-widget-media-audio.php
class-wp-widget-media-gallery.php
class-wp-widget-media-image.php Media: Ensure that the image widget supports loading optimization attributes. 2023-07-06 16:33:27 +00:00
class-wp-widget-media-video.php
class-wp-widget-media.php
class-wp-widget-meta.php
class-wp-widget-pages.php
class-wp-widget-recent-comments.php
class-wp-widget-recent-posts.php
class-wp-widget-rss.php Widgets: Match variable types in rss feed link filter. 2023-02-22 22:02:23 +00:00
class-wp-widget-search.php
class-wp-widget-tag-cloud.php
class-wp-widget-text.php Code Modernization: Replace usage of `strpos()` with `str_contains()`. 2023-06-22 14:36:26 +00:00