- Timestamp:
- 09/29/2023 07:45:53 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-archives.php
r56687 r56748 121 121 </script> 122 122 <?php 123 wp_print_inline_script_tag( str_replace( array( '<script>', '</script>' ), '',ob_get_clean() ) );123 wp_print_inline_script_tag( wp_remove_surrounding_empty_script_tags( ob_get_clean() ) ); 124 124 } else { 125 125 $format = current_theme_supports( 'html5', 'navigation-widgets' ) ? 'html5' : 'xhtml';
Note: See TracChangeset
for help on using the changeset viewer.