Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(CleanHead): move emoji-detection-script removal from 'init' to 'admin_init' #552

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kunsang
Copy link

@kunsang kunsang commented Apr 28, 2024

If you use utf-8 emojis inside wp-admin, the 'print_emoji_detection_script' script was still running, and the admin page loads were slowed down due to 404s from cdn.jsdelivr.net.

Screenshot 2024-04-28 at 21 43 05

Moving the actions from 'init' to 'admin_init' fixes this.

Screenshot 2024-04-28 at 21 56 00

@kunsang kunsang changed the title fix(CleanHead): move emoji detection script removal from 'init' to 'admin_init' fix(CleanHead): move emoji-detection-script removal from 'init' to 'admin_init' Apr 28, 2024
@timohubois
Copy link
Contributor

@kunsang many thanks for the pr. Can you please provide some instructions how to reproduce the issue as seen in the screenshots?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants