Changeset 60909 for trunk/src/wp-includes/embed.php
- Timestamp:
- 10/07/2025 01:23:00 AM (2 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/embed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/embed.php
r60783 r60909 519 519 * back to WordPress 4.4, so in order to not break older installs this script must come at the end. 520 520 */ 521 $js_path = '/js/wp-embed' . wp_scripts_get_suffix() . '.js'; 521 522 $output .= wp_get_inline_script_tag( 522 file_get_contents( ABSPATH . WPINC . '/js/wp-embed' . wp_scripts_get_suffix() . '.js')523 trim( file_get_contents( ABSPATH . WPINC . $js_path ) ) . "\n//# sourceURL=" . includes_url( $js_path ) 523 524 ); 524 525 … … 1091 1092 */ 1092 1093 function print_embed_scripts() { 1094 $js_path = '/js/wp-embed-template' . wp_scripts_get_suffix() . '.js'; 1093 1095 wp_print_inline_script_tag( 1094 file_get_contents( ABSPATH . WPINC . '/js/wp-embed-template' . wp_scripts_get_suffix() . '.js')1096 trim( file_get_contents( ABSPATH . WPINC . $js_path ) ) . "\n//# sourceURL=" . includes_url( $js_path ) 1095 1097 ); 1096 1098 }
Note: See TracChangeset
for help on using the changeset viewer.