Embeds: Include locale stylesheets after default styles.
Fire `locale_stylesheet` action after the `wp_print_styles` action in the embeds header to match the order in `wp_head`. Props swissspidy. Fixes #36839. git-svn-id: https://develop.svn.wordpress.org/trunk@38010 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
437d80e56c
commit
c611f9a514
|
@ -468,7 +468,7 @@ add_action( 'embed_head', 'wp_print_head_scripts', 20 );
|
||||||
add_action( 'embed_head', 'wp_print_styles', 20 );
|
add_action( 'embed_head', 'wp_print_styles', 20 );
|
||||||
add_action( 'embed_head', 'wp_no_robots' );
|
add_action( 'embed_head', 'wp_no_robots' );
|
||||||
add_action( 'embed_head', 'rel_canonical' );
|
add_action( 'embed_head', 'rel_canonical' );
|
||||||
add_action( 'embed_head', 'locale_stylesheet' );
|
add_action( 'embed_head', 'locale_stylesheet', 30 );
|
||||||
|
|
||||||
add_action( 'embed_content_meta', 'print_embed_comments_button' );
|
add_action( 'embed_content_meta', 'print_embed_comments_button' );
|
||||||
add_action( 'embed_content_meta', 'print_embed_sharing_button' );
|
add_action( 'embed_content_meta', 'print_embed_sharing_button' );
|
||||||
|
|
Loading…
Reference in New Issue