Emoji: Revert [31877], and print the emoji shim and styles during admin_print_scripts and admin_print_styles, instead. This is a few milliseconds slower, but easier to reuse in Press This, and any other code that uses admin scripts and styles, without using admin-header.php.

See #31701.



git-svn-id: https://develop.svn.wordpress.org/trunk@31879 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2015-03-25 01:42:25 +00:00
parent f6e1aeee60
commit 87e372299d
2 changed files with 2 additions and 3 deletions

View File

@@ -50,9 +50,6 @@ _wp_admin_html_begin();
<title><?php echo $admin_title; ?></title>
<?php
print_emoji_detection_script();
print_emoji_styles();
wp_enqueue_style( 'colors' );
wp_enqueue_style( 'ie' );
wp_enqueue_script('utils');