PluginProbe
CSS & JavaScript Toolbox / 12.0.4
CSS & JavaScript Toolbox v12.0.4
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
← All changes | framework/extensions/extensions.class.php +2 -1 12.012.0.4 View file →
@@ -325,10 +325,11 @@
325 325 DIRECTORY_SEPARATOR . 'includes' .
326 326 DIRECTORY_SEPARATOR . 'plugin.php';
327 327
328 328 $incomapatibleAddon = $this->incompatibleAddons[$extension['name']];
329 + // Pass 'false' as the third parameter to get_plugin_data to prevent translation
329 330 $addonVersion = get_plugin_data($extension['pluginFile'], false, false)['Version'];
330 - $currentVersion = get_plugin_data( CJTOOLBOX_PLUGIN_FILE )['Version'];
331 + $currentVersion = get_plugin_data(CJTOOLBOX_PLUGIN_FILE, false, false)['Version'];
331 332
332 333 // Only show notice if addon version is less than 11.
333 334 if ( $addonVersion < 11) {
334 335