[wp-trac] [WordPress Trac] #64259: Convert emoji detection script from inline script module to external script module

WordPress Trac noreply at wordpress.org
Mon Nov 17 00:03:44 UTC 2025


#64259: Convert emoji detection script from inline script module to external script
module
-------------------------+--------------------------
 Reporter:  westonruter  |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  7.0
Component:  Emoji        |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  performance
-------------------------+--------------------------

Comment (by dd32):

 It's worth noting that deprioritising fetching/loading/execution of the
 emoji detection script would increase the load time of a page where emoji
 translation occurs - resulting in a faster initial load but resulting in a
 higher chance of a repaint or jumping of affected text.

 That might be a worthwhile tradeoff though.

 There might be other optimizations that can be done, such as detecting
 emoji-like characters in main content outputs before inlining it, to
 prevent an ASCII-only site prioritising a script that is unlikely to ever
 be used.

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


More information about the wp-trac mailing list