Changeset 56748 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 09/29/2023 07:45:53 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r56687 r56748 475 475 </script> 476 476 <?php 477 $message .= wp_get_inline_script_tag( str_replace( array( '<script>', '</script>' ), '',ob_get_clean() ) );477 $message .= wp_get_inline_script_tag( wp_remove_surrounding_empty_script_tags( ob_get_clean() ) ); 478 478 } 479 479 … … 2110 2110 </script> 2111 2111 <?php 2112 wp_print_inline_script_tag( str_replace( array( '<script>', '</script>' ), '',ob_get_clean() ) );2112 wp_print_inline_script_tag( wp_remove_surrounding_empty_script_tags( ob_get_clean() ) ); 2113 2113 } 2114 2114 … … 2231 2231 </script> 2232 2232 <?php 2233 wp_print_inline_script_tag( str_replace( array( '<script>', '</script>' ), '',ob_get_clean() ) );2233 wp_print_inline_script_tag( wp_remove_surrounding_empty_script_tags( ob_get_clean() ) ); 2234 2234 } 2235 2235 … … 5020 5020 </script> 5021 5021 <?php 5022 wp_print_inline_script_tag( str_replace( array( '<script>', '</script>' ), '',ob_get_clean() ) );5022 wp_print_inline_script_tag( wp_remove_surrounding_empty_script_tags( ob_get_clean() ) ); 5023 5023 } 5024 5024
Note: See TracChangeset
for help on using the changeset viewer.