Reminder: if your plugin or theme is hosted on WordPress.org and is still using load_*_textdomain(), you can remove this call. Since WordPress 4.6, plugins and themes no longer need load_plugin_textdomain() or load_theme_textdomain().
Not sure though why this deprecation notice is being triggered on wc-donation-platform, since translations are loaded correctly in init action AFAICT.
I'm getting this when testing WordPress 6.7 in staging:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wc-donation-platform domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later.
https://make.wordpress.org/core/2024/10/21/i18n-improvements-6-7/
Not sure though why this deprecation notice is being triggered on
wc-donation-platform
, since translations are loaded correctly ininit
action AFAICT.I'm getting this when testing WordPress 6.7 in staging: