Hi Mr. Plugin Author,
After unactived the plugin, there are many strings have added [tectdomain=xxx}] in some texts in our admin dashboard. How to remove them safely?
Thanks,
HuyLee
]]>I have installed plugin Text Domain Inspector (image 1), then I deactivated it, but it still affected my site, even when I deleted it (image 2 & 3). I tried to install it again and deactivate it, but it still affected my site.
Image 1: https://drive.google.com/file/d/1Ml3XvnV5jOXggdD-lmoFiIlDAJbCUr4L/view?usp=sharing
Image 2: https://drive.google.com/file/d/1VeANuUvWTl6tIIwLejmHNcmwINl3qRlQ/view?usp=drive_link
Image 3: https://drive.google.com/file/d/1XrtQU1K-aoqhDi5nviLm_1JBEjQFhhWz/view?usp=drive_link
]]>If I turn on Text Domain Inspector feature on WordPress 6.2, my site’s Dashboard -> Home always breaks down.
Other pages are well, including site frontend.
The error logs are the following.
Fatal error: Uncaught ArgumentCountError: 4 arguments are required, 2 given in /var/www/site-root/wp-admin/index.php:120
Stack Trace
1. sprintf()
/var/www/site-root/wp-admin/index.php:120
2. {main}
thrown in /var/www/site-root/wp-admin/index.php on line 120
Other warning
Warning: TextDomainInspector\Replace::TextDomainInspector\{closure}(): Argument #1 ($script) must be passed by reference, value given in /var/www/site-root/wp-content/plugins/text-domain-inspector/Replace.php on line 113
This is a great, helpful tool for localization assistants, so if possible, please improve this issue and another L10n issue I raised.
Thanks in advance.
]]>I found 2 UI strings that should be translated, but they missed their I18N code.
text-domain-inspector.php, Line 123
return $this->isTurnedOn() ? __( 'Turn off Text Domain Inspector', 'text-domain-inspector' ) : __( 'Inspect Text Domains', 'text-domain-inspector' );
I used this plugin in WordPress 6.1.1 without error, and I think it’s time to update the “Tested up to” header to 6.1.
]]>