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

WordPress Trac noreply at wordpress.org
Tue Mar 24 23:32:25 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
------------------------------------+--------------------------------------
Changes (by pento):

 * owner:   => pento
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31875"]:
 {{{
 #!CommitTicketReference repository="" revision="31875"
 Emoji: Instead of loading the emoji JS files automatically, we now include
 a small JS shim in the header, to test if the user's browser needs
 Twemoji. It then loads the emoji JS files only if they're needed.

 Props pento, azaozz.

 Fixes #31701.
 }}}

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


More information about the wp-trac mailing list