Embeds: After [35235], replace some missed `oembed` references with `embed`.

Props peterwilsoncc.
Fixes #34272.
Built from https://develop.svn.wordpress.org/trunk@35253


git-svn-id: http://core.svn.wordpress.org/trunk@35219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-10-17 23:26:47 +00:00
parent 5576cd3978
commit d76d340036
4 changed files with 4 additions and 4 deletions

View File

@ -456,7 +456,7 @@ add_action( 'embed_head', 'wp_no_robots' );
add_action( 'embed_head', 'rel_canonical' );
add_action( 'embed_head', 'locale_stylesheet' );
add_action( 'oembed_footer', 'wp_print_footer_scripts', 20 );
add_action( 'embed_footer', 'wp_print_footer_scripts', 20 );
add_filter( 'excerpt_more', 'wp_embed_excerpt_more', 20 );
add_filter( 'the_excerpt_embed', 'wptexturize' );

View File

@ -370,7 +370,7 @@ function wp_oembed_add_discovery_links() {
* @since 4.4.0
*/
function wp_oembed_add_host_js() {
wp_enqueue_script( 'wp-oembed' );
wp_enqueue_script( 'wp-embed' );
}

View File

@ -466,7 +466,7 @@ function wp_default_scripts( &$scripts ) {
),
) );
$scripts->add( 'wp-oembed', "/wp-includes/js/wp-oembed$suffix.js" );
$scripts->add( 'wp-embed', "/wp-includes/js/wp-embed$suffix.js" );
// To enqueue media-views or media-editor, call wp_enqueue_media().
// Both rely on numerous settings, styles, and templates to operate correctly.

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-35252';
$wp_version = '4.4-alpha-35253';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.