You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After updating to WordPress 6.7 and swapping your language to a non-english language (i.e. Spanish) you will start seeing the following notices:
I haven't yet sourced where which area of Stripe specifically is causing this, however, as of WP 6.7, we shouldn't translate anything any earlier than the init hook.
Considering that our main WC_Stripe plugin instance is instantiated on plugins_loaded which is well before the init hook (see hook reference/order) we'll need to go through all files/classes loaded within our WC_Stripe->init() and ensure any translated strings are ran after init.
To Reproduce
Install WordPress 6.7
Go to your Edit User Profile page and set your language to Español
Save the settings and reload any admin page
You should see the following notice calling out Stripe at the top of the page:
The text was updated successfully, but these errors were encountered:
Describe the bug
After updating to WordPress 6.7 and swapping your language to a non-english language (i.e. Spanish) you will start seeing the following notices:
I haven't yet sourced where which area of Stripe specifically is causing this, however, as of WP 6.7, we shouldn't translate anything any earlier than the
init
hook.Considering that our main
WC_Stripe
plugin instance is instantiated onplugins_loaded
which is well before theinit
hook (see hook reference/order) we'll need to go through all files/classes loaded within ourWC_Stripe->init()
and ensure any translated strings are ran afterinit
.To Reproduce
The text was updated successfully, but these errors were encountered: