diff --git a/.github/workflows/zip-wp-plugin.yml b/.github/workflows/zip-wp-plugin.yml index 98b658a..ba79017 100644 --- a/.github/workflows/zip-wp-plugin.yml +++ b/.github/workflows/zip-wp-plugin.yml @@ -13,12 +13,12 @@ jobs: uses: thedoctor0/zip-release@0.7.1 with: type: 'zip' - filename: "wp-srf-weather-widget.zip" + filename: "srf-weather-widget.zip" directory: "./wp-plugin" path: "./srf-weather-widget" - name: Upload zip uses: actions/upload-artifact@v3 with: - name: 'wp-srf-weather-widget' - path: './wp-plugin/wp-srf-weather-widget.zip' + name: 'srf-weather-widget' + path: './wp-plugin/srf-weather-widget.zip' 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 98% rename from wp-plugin/srf-weather-widget/meteo.php rename to wp-plugin/srf-weather-widget/srf-weather-widget.php index 5fb4620..d5fde5c 100644 --- a/wp-plugin/srf-weather-widget/meteo.php +++ b/wp-plugin/srf-weather-widget/srf-weather-widget.php @@ -1,11 +1,9 @@