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. |