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

Use script_loader_src hook for temporary Categories fix #223

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

sabernhardt
Copy link

Fixes #222

Maintains the original post handle for translations, but changes the src to the plugin's file.

@sabernhardt
Copy link
Author

There is plenty of room for improvement :)

For example, I was lazy and did not create a name for the function.

@azaozz
Copy link
Contributor

azaozz commented Nov 28, 2024

Thanks for the patch!

Moved the fix to its own function (so plugins are able to remove the filter), and prepared for release. Please have a look if it works as expected after the changes.

@jonathanbossenger
Copy link

I came here via this support thread for the Classic Editor plugin, and I can confirm that this fixes that issue as well.

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 6.7.1 script replacement does not have JS translations
3 participants