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:
Aaron Jorbin 2024-01-24 19:26:11 +00:00
parent d6deb56464
commit 4e70d5d43a
2 changed files with 2 additions and 1 deletions

View File

@ -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' );

View File

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