[wp-trac] [WordPress Trac] #31701: Emoji: Avoid enqueueing JS by default

WordPress Trac noreply at wordpress.org
Wed Mar 25 01:42:27 UTC 2015


#31701: Emoji: Avoid enqueueing JS by default
------------------------------------+--------------------------------------
 Reporter:  obenland                |       Owner:  pento
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  4.2
Component:  General                 |     Version:  trunk
 Severity:  major                   |  Resolution:  fixed
 Keywords:  emoji has-patch commit  |     Focuses:  javascript, performance
------------------------------------+--------------------------------------

Comment (by pento):

 In [changeset:"31879"]:
 {{{
 #!CommitTicketReference repository="" revision="31879"
 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.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31701#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list