[wp-trac] [WordPress Trac] #54530: Don't print the emoji-detection script
WordPress Trac
noreply at wordpress.org
Mon Nov 29 13:18:46 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 | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------------------
Comment (by swissspidy):
I'm -1 on the suggestion to not print it at all, for the reason @ocean90
mentioned.
It would be better to conditionally load the script (if there are any
emoji on the page) rather than not printing it at all. Not that such an
emoji detection would be much easier with FSE, and I think @westonruter
wanted to look into that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54530#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list