PluginProbe
CSS & JavaScript Toolbox / 9.0
CSS & JavaScript Toolbox v9.0
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 | models/setup.php +2 -2 trunk9.0 View file →
@@ -49,9 +49,9 @@
49 49 $cache =& $this->getLicenses();
50 50 // Add action to the state object!
51 51 $state['action'] = $action;
52 52 // Cache Plugin data!
53 - $state['plugin'] = get_plugin_data(WP_PLUGIN_DIR . "/{$component['pluginBase']}", false);
53 + $state['plugin'] = get_plugin_data(ABSPATH . PLUGINDIR . "/{$component['pluginBase']}", false);
54 54 // Cache object!
55 55 $cache[$component['name']] = $state;
56 56 update_option(self::LICENSES_CACHE, $cache);
57 57 // update local Cache!
@@ -122,9 +122,9 @@
122 122 # Use XML
123 123 $exDef = new SimpleXMLElement(file_get_contents($pluginXMLFile));
124 124 # Register XPath namespace
125 125 $license = $exDef->license;
126 - $license->registerXPathNamespace('ext', 'https://css-javascript-toolbox.com/extensions/xmldeffile');
126 + $license->registerXPathNamespace('ext', 'http://css-javascript-toolbox.com/extensions/xmldeffile');
127 127 # Get types
128 128 $typesSrc = $exDef->license->xpath('name');
129 129 foreach ($typesSrc as $type) {
130 130 # Product name