Skip to content

Conversation

@akirk
Copy link
Member

@akirk akirk commented Apr 3, 2024

Fixes #247.

We don't need to register and enqueue our scripts at init, it's enough at wp_enqueue_scripts. A side-effect is that this won't be enqueued in embeds as reported in #247.

@akirk akirk requested a review from psrpinto April 3, 2024 14:22
Copy link
Member

@psrpinto psrpinto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@akirk akirk merged commit 36f5b58 into main Apr 3, 2024
@akirk akirk deleted the fix-enqueued-scripts-embed branch April 3, 2024 14:27
ashfame added a commit that referenced this pull request Apr 17, 2025
@ashfame ashfame mentioned this pull request Apr 17, 2025
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.

WordPress embeds mistakenly load Chatrix JavaScript

3 participants