[wp-trac] [WordPress Trac] #37817: Emoji code not loaded responsibly

WordPress Trac noreply at wordpress.org
Sun Oct 9 07:02:09 UTC 2016


#37817: Emoji code not loaded responsibly
---------------------------+--------------------------
 Reporter:  superpoincare  |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  4.7
Component:  Emoji          |     Version:  4.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  performance
---------------------------+--------------------------
Changes (by peterwilsoncc):

 * keywords:  needs-patch => has-patch


Comment:

 In [attachment:37817.diff]

 * add defer attribute to inserted scripts
 * retain only flag, pride flag and emoji4 tests (@pento, correct me if I
 misunderstood comment:17)
 * creates canvas element once only

 I'm in two minds as to whether the parsing event should be delayed until
 the window.onload event runs.

 I agree re: delaying the tests until render.

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


More information about the wp-trac mailing list