From 87e372299d3efdbeaa07e867be6886ebedc7e0af Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 25 Mar 2015 01:42:25 +0000 Subject: [PATCH] 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 --- src/wp-admin/admin-header.php | 3 --- src/wp-includes/default-filters.php | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/admin-header.php b/src/wp-admin/admin-header.php index d0f3be6d7a..59b8f121cd 100644 --- a/src/wp-admin/admin-header.php +++ b/src/wp-admin/admin-header.php @@ -50,9 +50,6 @@ _wp_admin_html_begin(); <?php echo $admin_title; ?>