Problems WordPress 3.9.x or mqTranslate -> Fixed
-
Hi,
fix it, I have changed this line:
return ( version_compare($wp_version, “3.3”, “<” ) || !is_plugin_active(‘qtranslate/qtranslate.php’) );
with:
if ( version_compare($wp_version, ‘3.3’) >= 0 ) {
if ( is_plugin_active(‘qtranslate/qtranslate.php’) || is_plugin_active(‘mqtranslate/mqtranslate.php’) ) {
return 0;
} else {
return 1;
}
} else {
return 1;
}and it working, fix it please.
the notice line changed with:
echo “<p>” . __(‘This plugin requires WordPress 3.3 or higher and Qtranslate(2.5.8 or newer) or mQtranlate(2.6.2.2 or newer)‘, ‘qts’) . “</p>” . PHP_EOL;
Thanks.
- The topic ‘Problems WordPress 3.9.x or mqTranslate -> Fixed’ is closed to new replies.