[wp-trac] [WordPress Trac] #54530: Don't print the emoji-detection script

WordPress Trac noreply at wordpress.org
Mon Nov 29 07:49:55 UTC 2021


#54530: Don't print the emoji-detection script
-------------------------+-----------------------------
 Reporter:  aristath     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Emoji        |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The emoji-detection script is currently added on all pages in WP. That
 script was added for backwards-compatibility with browsers that (at the
 time) did not support emojis.
 All browsers currently supported by WP have supported emojis for years so
 the script is no longer needed.I propose we remove the script hooks - but
 leave the scripts themselves for a while in core. This way if a
 plugin/theme explicitly needs to support a 15-year-old browser, they can
 manually re-add the hooks.
 Alternatively, we could completely remove the scripts and all accompanying
 logic, and release them in the form of a plugin that can be installed and
 activated.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54530>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list