mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Embeds: Move the embed iframe script to the footer, as it isn't being run until DOMContentLoaded
is fired.
Props brainstormforce, pratikchaskar. Fixes #344444. Built from https://develop.svn.wordpress.org/trunk@35395 git-svn-id: http://core.svn.wordpress.org/trunk@35359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cbcecfaaeb
commit
1ebff5d223
@ -446,13 +446,13 @@ add_action( 'wp_head', 'wp_oembed_add_host_js' );
|
||||
add_action( 'embed_head', 'print_emoji_detection_script' );
|
||||
add_action( 'embed_head', 'print_emoji_styles' );
|
||||
add_action( 'embed_head', 'print_embed_styles' );
|
||||
add_action( 'embed_head', 'print_embed_scripts' );
|
||||
add_action( 'embed_head', 'wp_print_head_scripts', 20 );
|
||||
add_action( 'embed_head', 'wp_print_styles', 20 );
|
||||
add_action( 'embed_head', 'wp_no_robots' );
|
||||
add_action( 'embed_head', 'rel_canonical' );
|
||||
add_action( 'embed_head', 'locale_stylesheet' );
|
||||
|
||||
add_action( 'embed_footer', 'print_embed_scripts' );
|
||||
add_action( 'embed_footer', 'wp_print_footer_scripts', 20 );
|
||||
|
||||
add_filter( 'excerpt_more', 'wp_embed_excerpt_more', 20 );
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta1-35394';
|
||||
$wp_version = '4.4-beta1-35395';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user