diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/camping-care-widget.php b/camping-care-widget.php index 4fa709f..f4dfa1e 100644 --- a/camping-care-widget.php +++ b/camping-care-widget.php @@ -1,7 +1,7 @@ */ diff --git a/src/Updates.php b/src/Updates.php index a3552d2..4e14a7b 100644 --- a/src/Updates.php +++ b/src/Updates.php @@ -16,7 +16,7 @@ class Updates * $action 'plugin_information' * $args stdClass Object ( [slug] => woocommerce [is_ssl] => [fields] => Array ( [banners] => 1 [reviews] => 1 [downloaded] => [active_installs] => 1 ) [per_page] => 24 [locale] => en_US ) */ - function get_plugin_info($res, $action, $args) + public static function get_plugin_info($res, $action, $args) { // do nothing if this is not about getting plugin information