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

Move payment methods and integrations registration from plugins_loaded to init action #202

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

Conversation

rvdsteege
Copy link
Member

This PR aims to fix loading the text domain too early, as described in #201.

@remcotolsma I'm not 100% sure if we can safely move from plugins_loaded to init. If this PR gets merged, we would also need to update for example (and maybe also in other places?):

…ed` to `init` action to fix loading text domain too early.
Copy link
Member

@remcotolsma remcotolsma left a comment

Choose a reason for hiding this comment

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

If this PR gets merged, we would also need to update for example (and maybe also in other places?):

The integrations may be loaded in the plugins_loaded action, but should not use translations at that time? Is it possible to improve this in smaller steps? It is now a bit difficult to see what the consequences of this PR are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Notice "Function _load_textdomain_just_in_time was called incorrectly"
2 participants