[wp-trac] [WordPress Trac] #37543: Update Twemoji for pirate and rainbow flags

WordPress Trac noreply at wordpress.org
Thu Aug 4 20:50:14 UTC 2016


#37543: Update Twemoji for pirate and rainbow flags
-------------------------------------------+---------------------
 Reporter:  pento                          |       Owner:  pento
     Type:  task (blessed)                 |      Status:  closed
 Priority:  normal                         |   Milestone:  4.6
Component:  Emoji                          |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch commit dev-reviewed  |     Focuses:
-------------------------------------------+---------------------

Comment (by ocean90):

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

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

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


More information about the wp-trac mailing list