From 96d739844ef739708b91e2458041166b3db5069a Mon Sep 17 00:00:00 2001 From: Luzius Hausammann Date: Wed, 4 Oct 2023 08:22:48 +0200 Subject: [PATCH] Rename main file and add header according to plugin conventions --- .../srf-weather-widget/SrfWeatherWidgetInstallation.php | 1 - .../{meteo.php => srf-weather-widget.php} | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) rename wp-plugin/srf-weather-widget/{meteo.php => srf-weather-widget.php} (95%) diff --git a/wp-plugin/srf-weather-widget/SrfWeatherWidgetInstallation.php b/wp-plugin/srf-weather-widget/SrfWeatherWidgetInstallation.php index dce479d..d9b0ccb 100644 --- a/wp-plugin/srf-weather-widget/SrfWeatherWidgetInstallation.php +++ b/wp-plugin/srf-weather-widget/SrfWeatherWidgetInstallation.php @@ -4,7 +4,6 @@ class SrfWeatherWidgetInstallation { public function __construct() { - // Hook, um Standardwerte beim Aktivieren des Plugins zu setzen // set defaults after activation register_activation_hook(__FILE__, array(__CLASS__, 'activate')); // remove stuff after deactivation plugin diff --git a/wp-plugin/srf-weather-widget/meteo.php b/wp-plugin/srf-weather-widget/srf-weather-widget.php similarity index 95% rename from wp-plugin/srf-weather-widget/meteo.php rename to wp-plugin/srf-weather-widget/srf-weather-widget.php index 5fb4620..de84a68 100644 --- a/wp-plugin/srf-weather-widget/meteo.php +++ b/wp-plugin/srf-weather-widget/srf-weather-widget.php @@ -1,9 +1,6 @@