mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00: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]. Props peterwilsoncc, bobbingwide, hellofromTonya. Fixes #59892. See: #58775. git-svn-id: https://develop.svn.wordpress.org/trunk@57306 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -10,8 +10,6 @@ class Tests_Embed_Template extends WP_UnitTestCase {
|
||||
|
||||
global $wp_scripts;
|
||||
$wp_scripts = null;
|
||||
|
||||
remove_action( 'wp_print_styles', 'print_emoji_styles' );
|
||||
}
|
||||
|
||||
public function tear_down() {
|
||||
|
||||
Reference in New Issue
Block a user