Vergleich inc/class_plugins.php - 1.8.12 - 1.8.30

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 60Zeile 60
			}

if(is_string($function[0]))

			}

if(is_string($function[0]))

			{ // Static class method


			{
// Static class method

				$method_representation = sprintf('%s::%s', $function[0], $function[1]);

				$method_representation = sprintf('%s::%s', $function[0], $function[1]);

			}

			}

			elseif(is_object($function[0]))

			elseif(is_object($function[0]))

			{ // Instance class method
$method_representation = sprintf('%s->%s', get_class($function[0]), $function[1]);


			{
// Instance class method
$method_representation = sprintf('%s->%s', spl_object_hash($function[0]), $function[1]);

			}
else

			}
else

			{ // Unknown array type


			{
// Unknown array type

				return false;
}


				return false;
}


Zeile 222Zeile 225
		$plugin_info = $info_func();

// No compatibility set or compatibility = * - assume compatible

		$plugin_info = $info_func();

// No compatibility set or compatibility = * - assume compatible

		if(!$plugin_info['compatibility'] || $plugin_info['compatibility'] == "*")

		if(empty($plugin_info['compatibility']) || $plugin_info['compatibility'] == "*")

		{
return true;
}

		{
return true;
}