mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 21:00:59 +01:00
Embeds: Ensure the deprecated function print_emoji_styles isn't used
Ensure that the proper new function wp_enqueue_emoji_styles is used in embeds. Follow-up to: [56194]. Reviewed by davidbaumwald. Merges [57306] to the 6.4 branch. Props peterwilsoncc, bobbingwide, hellofromTonya. Fixes #59892. See: #58775. Built from https://develop.svn.wordpress.org/branches/6.4@57347 git-svn-id: http://core.svn.wordpress.org/branches/6.4@56853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d6deb56464
commit
4e70d5d43a
@ -687,6 +687,7 @@ add_action( 'embed_head', 'wp_print_styles', 20 );
|
||||
add_action( 'embed_head', 'wp_robots' );
|
||||
add_action( 'embed_head', 'rel_canonical' );
|
||||
add_action( 'embed_head', 'locale_stylesheet', 30 );
|
||||
add_action( 'enqueue_embed_scripts', 'wp_enqueue_emoji_styles' );
|
||||
|
||||
add_action( 'embed_content_meta', 'print_embed_comments_button' );
|
||||
add_action( 'embed_content_meta', 'print_embed_sharing_button' );
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.4.3-alpha-57346';
|
||||
$wp_version = '6.4.3-alpha-57347';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user