Changeset 60913 for trunk/src/wp-includes/embed.php
- Timestamp:
- 10/07/2025 11:32:04 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/embed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/embed.php
r60909 r60913 521 521 $js_path = '/js/wp-embed' . wp_scripts_get_suffix() . '.js'; 522 522 $output .= wp_get_inline_script_tag( 523 trim( file_get_contents( ABSPATH . WPINC . $js_path ) ) . "\n//# sourceURL=" . includes_url( $js_path)523 trim( file_get_contents( ABSPATH . WPINC . $js_path ) ) . "\n//# sourceURL=" . esc_url_raw( includes_url( $js_path ) ) 524 524 ); 525 525 … … 1094 1094 $js_path = '/js/wp-embed-template' . wp_scripts_get_suffix() . '.js'; 1095 1095 wp_print_inline_script_tag( 1096 trim( file_get_contents( ABSPATH . WPINC . $js_path ) ) . "\n//# sourceURL=" . includes_url( $js_path)1096 trim( file_get_contents( ABSPATH . WPINC . $js_path ) ) . "\n//# sourceURL=" . esc_url_raw( includes_url( $js_path ) ) 1097 1097 ); 1098 1098 }
Note: See TracChangeset
for help on using the changeset viewer.