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

Don't load the delete cache JS on the frontend #824

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

donnchawp
Copy link
Contributor

Loading JS on the frontend causes problems with AMP, and probably other issues. This patch stops it as it's not needed for this simple link to work. Still using it in /wp-admin/

Even if for logged in users, it's loading extra JS that's not 100%
needed.
@donnchawp donnchawp merged commit 3df6bba into master Jun 7, 2022
@kraftbj kraftbj deleted the update/no_js_on_frontend branch August 16, 2022 15:11
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.

1 participant