Translation loading issue
-
Function loadtextdomain_just_in_time was called incorrectly. Translation loading for the simple-301-redirects 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. (This message was added in version 6.7.0.).
It happens when we ‘init’ action with priority of 1 or early.
Solution: For those, who face this issue.
\simple-301-redirects.2.0.11\simple-301-redirects\includes\Admin.php
In Admin.php,$tracker->set_notice_options(array(
‘notice’ => __( ‘Want to help make <strong>Simple 301 Redirects</strong> even more awesome? You can get a <strong>10% discount</strong> coupon on our Premium products if you allow us to track the non-sensitive usage data.’, ‘simple-301-redirects’ ),
‘extra_notice’ => __( ‘We collect non-sensitive diagnostic data and plugin usage information.
Your site URL, WordPress & PHP version, plugins & themes and email address to send you the
discount coupon. This data lets us make sure this plugin always stays compatible with the most
popular plugins and themes. No spam, I promise.’, ‘simple-301-redirects’ ),
? ? ? ? ));
REMOVE TRANSLATION OF TEXT – __()
===================
?$tracker->set_notice_options(array(? ? ? ? ? ? ‘notice’ =>’Want to help make <strong>Simple 301 Redirects</strong> even more awesome? You can get a <strong>10% discount</strong> coupon on our Premium products if you allow us to track the non-sensitive usage data.’,
? ? ? ? ? ? ‘extra_notice’ => ‘We collect non-sensitive diagnostic data and plugin usage information.
Your site URL, WordPress & PHP version, plugins & themes and email address to send you the
discount coupon. This data lets us make sure this plugin always stays compatible with the most
? ? ? ? ? ? popular plugins and themes. No spam, I promise.’,
));
- The topic ‘Translation loading issue’ is closed to new replies.