[wp-trac] [WordPress Trac] #61806: twemoji is always loaded on Windows devices

WordPress Trac noreply at wordpress.org
Thu Aug 1 19:56:54 UTC 2024


#61806: twemoji is always loaded on Windows devices
--------------------------+------------------------------
 Reporter:  Clorith       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Emoji         |     Version:
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by dmsnell):

 @Clorith do you see any browser console errors? the Twemoji detection
 should be checking if Emoji render a specific way and then determining
 whether to load the polyfill. It's always 100% client-side, and meant to
 detect very specific Emoji that come in through different updates to the
 Unicode standard.

 For example, if the script detects that your operating system doesn't yet
 have support for Unicode 15.1.0 (released in September, 2023), then it
 will load the script even if the page doesn't have Emoji that were added
 in that release.

 So I could imagine something is causing the script to fail, or the
 computer might not actually support the full Emoji set. Given that most
 Unicode releases introduce only a handful of Emoji, it would be generally
 unlikely that a page display wrong without the polyfill. On the other
 hand, a blog post with a shaking head (🙂‍↔️), a brown mushroom (🍄‍🟫),
 or a broken chain (⛓‍💥 - on my computer this displays as two emoji: a
 chain followed by an explosion) may not display correct without the
 polyfill.

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


More information about the wp-trac mailing list