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

WordPress Trac noreply at wordpress.org
Mon Aug 5 20:20:43 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:  performance
--------------------------+------------------------------

Comment (by Clorith):

 So there are no JavaScript errors, it can be replicated on a svanilla
 Playground instance, so I'm confident it's not an issue with any plugins
 or theme.

 Again though, the back-end seems to do things  correctly, as it loads the
 system emoji within the block editor, its just the front-end render that
 pulls in the twemoji solution.

 So either we're not enqueuing that in the back-end, which may or may not
 be a degraded experience for editors, or it's incorrectly triggering on
 the front-end, and thus causing additional requests to load up unnecessary
 JavaScript handling 🤔

 As an example, I used the "👩🏻‍🦰" emoji in my test post (fair skinned,
 red haired woman), which I know is technically 2 (possibly 3?) combined,
 but renders just fine with system emoji, but still loads up. To be on the
 safe side and check if it's just weirdness, I did also load up the most
 basic emoji there is, the smileing face; "😀", which again renders using
 the system version in wp-admin, but front-end as a site visitor twemoji
 kicks in again.

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


More information about the wp-trac mailing list