[wp-trac] [WordPress Trac] #35498: Add a filter to enable twemoji all the time

WordPress Trac noreply at wordpress.org
Mon Nov 15 00:10:10 UTC 2021


#35498: Add a filter to enable twemoji all the time
-------------------------+--------------------------
 Reporter:  iseulde      |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Emoji        |     Version:
 Severity:  normal       |  Resolution:  maybelater
 Keywords:  needs-patch  |     Focuses:  performance
-------------------------+--------------------------

Comment (by pento):

 Replying to [comment:7 westonruter]:
 > I wonder should we now not ''disable'' emoji detection by default (along
 with the `s.w.org` dns-prefetch)? It seems all platforms now support emoji
 natively: https://caniemoji.com/

 That site doesn't tell the full story: the issue isn't about whether
 platforms support emoji natively, it's about what emoji version they
 support. As Twemoji usually add support for new emoji earlier than other
 platforms, we're frequently able to roll out rendering support for new
 emoji versions to display on devices that don't yet support that version.

 So, I doubt it will ever be possible to disable emoji detection by
 default. Personally, I'd love to see this detection done by the UA, it'd
 be much better for everyone if we could just check
 `window.navigator.emojiVersion` instead of doing our own rendering test.

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


More information about the wp-trac mailing list