feat: add translations loading compatible with WP 6.7
Compare changes
+ 7
− 12
@@ -153,18 +153,13 @@ final class PluginBootstrap {
@@ -153,18 +153,13 @@ final class PluginBootstrap {
add_filter( 'doing_it_wrong_trigger_error', function( $doing_it_wrong, $function, $message, $version ) use ( $text_domain ) {
if ( wp_get_environment_type() === 'production' && $function === '_load_textdomain_just_in_time' && strpos( $message, '<code>' . $text_domain . '</code>' ) !== false ) {