WordPress/wp-includes/widgets
Weston Ruter a20cb28d14 Script Loader: Harden removal of script tag wrappers.
* Add `wp_remove_surrounding_empty_script_tags()` to more precisely remove script tag wrappers and warn when doing it wrong.
* Add clarifying comments for XML escaping logic in `wp_get_inline_script_tag()`.
* Leverage `WP_HTML_Tag_Processor` in `test_remove_frameless_preview_messenger_channel`.
* Reuse `assertEqualMarkup` in `test_blocking_dependent_with_delayed_dependency`.
* Normalize whitespace in `parse_markup_fragment` for `assertEqualMarkup`.

Follow-up to [56687].
Props dmsnell, westonruter, flixos90.
See #58664.

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


git-svn-id: http://core.svn.wordpress.org/trunk@56260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-29 19:47:21 +00:00
..
class-wp-nav-menu-widget.php
class-wp-widget-archives.php
class-wp-widget-block.php
class-wp-widget-calendar.php
class-wp-widget-categories.php
class-wp-widget-custom-html.php
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
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
class-wp-widget-search.php
class-wp-widget-tag-cloud.php
class-wp-widget-text.php