wordpress-develop/tests/phpunit/tests/widgets
Jonny Harris 767f16f6a5 Widgets: Defer register inline script in WP_Widget_Custom_HTML and WP_Widget_Text.
In [41376] an inline script was added to push `idBases` for the custom html and text widgets. However, this script is not used unless the widget script is output in the widget screen / customizer. Deferring registering this script until it is needed, results in a faster server response times. 


Props spacedmonkey, sakibmd, flixos90, westonruter.
Fixes #57864.

git-svn-id: https://develop.svn.wordpress.org/trunk@55553 602fd350-edb4-49c9-b593-d223f7449a82
2023-03-15 11:36:52 +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 Build/Test Tools: Correct the order and naming of expected and actual values in various tests. 2021-11-25 19:39:31 +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