[wp-trac] [WordPress Trac] #37566: Update the Twemoji loader to include the rainbow flag

WordPress Trac noreply at wordpress.org
Thu Aug 4 20:52:36 UTC 2016


#37566: Update the Twemoji loader to include the rainbow flag
-------------------------------------------------+-------------------------
 Reporter:  pento                                |       Owner:  pento
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.6
Component:  Emoji                                |     Version:  trunk
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  has-patch has-screenshots commit     |     Focuses:  javascript
  dev-reviewed                                   |
-------------------------------------------------+-------------------------

Comment (by ocean90):

 In [changeset:"38195"]:
 {{{
 #!CommitTicketReference repository="" revision="38195"
 Emoji: Update the Twemoji loader to include the rainbow flag.

 [38179] added support for the rainbow flag to core, but platform
 compatibility is a bit strange, because the flag was defined out of sync
 with the usual Unicode release cycle. For example Android N supports all
 Unicode 9.0 emoji, but doesn't support the rainbow flag thus the rainbow
 flag isn't rendered.
 The Twemoji loader already has an exception for flags - it'll load if the
 browser supports everything but flags, and then only replace flag emoji,
 leaving everything else as native rendering. To provide a seamless
 experience for all flags the loader now uses the rainbow flag to test flag
 support.

 Merge of [38194] to the 4.6 branch.

 Props pento.
 See #37543.
 See #37566.
 }}}

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


More information about the wp-trac mailing list