wordpress-develop/tests/phpunit/tests/widgets
Felix Arntz 21490c6ba4 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@56154 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-06 16:31:02 +00:00
..
wpBlockThemeRegisterClassicSidebar.php Widgets: Preserve classic sidebars when switching to a block theme. 2023-02-03 00:13:52 +00:00
wpWidgetCustomHtml.php Widgets: Defer register inline script in WP_Widget_Custom_HTML and WP_Widget_Text. 2023-03-15 11:36:52 +00:00
wpWidgetMedia.php Code Modernization: Rename parameters that use reserved keywords in phpunit/tests/widgets/wpWidgetMedia.php. 2023-01-23 16:52:36 +00:00
wpWidgetMediaAudio.php Build/Test Tools: Correct the order and naming of expected and actual values in various tests. 2021-11-25 19:39:31 +00:00
wpWidgetMediaGallery.php Tests: Rename classes in phpunit/tests/widgets/ per the naming conventions. 2021-07-26 19:25:09 +00:00
wpWidgetMediaImage.php Media: Ensure that the image widget supports loading optimization attributes. 2023-07-06 16:31:02 +00:00
wpWidgetMediaVideo.php Build/Test Tools: Correct the order and naming of expected and actual values in various tests. 2021-11-25 19:39:31 +00:00
wpWidgetRss.php HTTP API: Fix request header inconsistencies. 2023-02-03 13:33:18 +00:00
wpWidgetText.php Widgets: Defer register inline script in WP_Widget_Custom_HTML and WP_Widget_Text. 2023-03-15 11:36:52 +00:00