diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php
index 31284d5..f3f7114 100644
|
a
|
b
|
add_action( 'embed_head', 'wp_no_robots' ); |
| 456 | 456 | add_action( 'embed_head', 'rel_canonical' ); |
| 457 | 457 | add_action( 'embed_head', 'locale_stylesheet' ); |
| 458 | 458 | |
| 459 | | add_action( 'oembed_footer', 'wp_print_footer_scripts', 20 ); |
| | 459 | add_action( 'embed_footer', 'wp_print_footer_scripts', 20 ); |
| 460 | 460 | |
| 461 | 461 | add_filter( 'excerpt_more', 'wp_embed_excerpt_more', 20 ); |
| 462 | 462 | add_filter( 'the_excerpt_embed', 'wptexturize' ); |
diff --git a/src/wp-includes/embed-functions.php b/src/wp-includes/embed-functions.php
index eff7ae4..b9eeee0 100644
|
a
|
b
|
function wp_oembed_add_discovery_links() { |
| 370 | 370 | * @since 4.4.0 |
| 371 | 371 | */ |
| 372 | 372 | function wp_oembed_add_host_js() { |
| 373 | | wp_enqueue_script( 'wp-oembed' ); |
| | 373 | wp_enqueue_script( 'wp-embed' ); |
| 374 | 374 | } |
| 375 | 375 | |
| 376 | 376 | |
diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php
index d0fd4a3..09a9fac 100644
|
a
|
b
|
function wp_default_scripts( &$scripts ) { |
| 466 | 466 | ), |
| 467 | 467 | ) ); |
| 468 | 468 | |
| 469 | | $scripts->add( 'wp-oembed', "/wp-includes/js/wp-oembed$suffix.js" ); |
| | 469 | $scripts->add( 'wp-embed', "/wp-includes/js/wp-embed$suffix.js" ); |
| 470 | 470 | |
| 471 | 471 | // To enqueue media-views or media-editor, call wp_enqueue_media(). |
| 472 | 472 | // Both rely on numerous settings, styles, and templates to operate correctly. |