From 4988b8fb0897f9a800de0c2d2e285aa022289e73 Mon Sep 17 00:00:00 2001 From: shyambaseapp Date: Tue, 5 Nov 2024 11:52:57 +0530 Subject: [PATCH] new release v1.0.0 --- .github/workflows/action.yml | 6 +++--- README.md | 4 ++-- README.txt | 4 ++-- source/README.md | 4 ++-- source/README.txt | 4 ++-- source/admin/class-wpoven-plugin-switcher-admin.php | 1 + source/wpoven-plugin-switcher.php | 9 +++------ 7 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 71fa375..80c1d52 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -133,7 +133,7 @@ jobs: - name: Create plugin zip run: | # Create zip of source folder - ZIP_NAME="wpoven-plugin-switcher.zip" + ZIP_NAME="wpoven-plugin-switcher-$(date +'%Y-%m-%d').zip" mkdir -p releases @@ -150,10 +150,10 @@ jobs: uses: softprops/action-gh-release@v1 with: files: ${{ env.zip_name }} - tag_name: '2.0.0' + tag_name: '1.0.0' name: WPOven Plugin Switcher body: | - WPOven Plugin Switcher Release 2.0.0 + WPOven Plugin Switcher Release 1.0.0 Created on: ${{ steps.date.outputs.date }} draft: false prerelease: false diff --git a/README.md b/README.md index d7cb4d3..52a8b6e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Contributors:** [WPOven](https://www.wpoven.com/) **Requires at least:** 6.6.2 **Tested up to:** 6.6.2 -**Stable tag:** 2.0.0 +**Stable tag:** 1.0.0 **License:** GPLv2 or later **License URI:** [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html) @@ -19,7 +19,7 @@ WPOven Plugin Switcher is a powerful WordPress management tool that enables user 1. **Download the Plugin:** - To get the latest version of WPOven Plugin Switcher, you can either: - [Visit WPOven's website](https://www.wpoven.com/plugins/wpoven-plugin-switcher) to learn more about the plugin. - - Download directly from the GitHub repository: [Download](https://github.com/baseapp/wpoven_pluginswitcher/releases/download/2.0.0/wpoven-plugin-switcher.zip). + - Download directly from the GitHub repository: [Download](https://github.com/baseapp/wpoven_pluginswitcher/releases/download/1.0.0/wpoven-plugin-switcher.zip). 2. **Upload the Plugin:** diff --git a/README.txt b/README.txt index 9a6a5d4..dc61283 100755 --- a/README.txt +++ b/README.txt @@ -2,7 +2,7 @@ Contributors: https://www.wpoven.com/ Requires at least: 6.6.2 Tested up to: 6.6.2 -Stable tag: 2.0.0 +Stable tag: 1.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -19,7 +19,7 @@ optimizing site performance and functionality while streamlining plugin configur 1. **Download the Plugin:** - To get the latest version of WPOven Plugin Switcher, you can either: - [Visit WPOven's website](https://www.wpoven.com/plugins/wpoven-plugin-switcher) to learn more about the plugin. - - Download directly from the GitHub repository: [Download](https://github.com/baseapp/wpoven_pluginswitcher/releases/download/2.0.0/wpoven-plugin-switcher.zip). + - Download directly from the GitHub repository: [Download](https://github.com/baseapp/wpoven_pluginswitcher/releases/download/1.0.0/wpoven-plugin-switcher.zip). 2. **Upload the Plugin:** - Log in to your WordPress admin dashboard. diff --git a/source/README.md b/source/README.md index d7cb4d3..52a8b6e 100644 --- a/source/README.md +++ b/source/README.md @@ -3,7 +3,7 @@ **Contributors:** [WPOven](https://www.wpoven.com/) **Requires at least:** 6.6.2 **Tested up to:** 6.6.2 -**Stable tag:** 2.0.0 +**Stable tag:** 1.0.0 **License:** GPLv2 or later **License URI:** [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html) @@ -19,7 +19,7 @@ WPOven Plugin Switcher is a powerful WordPress management tool that enables user 1. **Download the Plugin:** - To get the latest version of WPOven Plugin Switcher, you can either: - [Visit WPOven's website](https://www.wpoven.com/plugins/wpoven-plugin-switcher) to learn more about the plugin. - - Download directly from the GitHub repository: [Download](https://github.com/baseapp/wpoven_pluginswitcher/releases/download/2.0.0/wpoven-plugin-switcher.zip). + - Download directly from the GitHub repository: [Download](https://github.com/baseapp/wpoven_pluginswitcher/releases/download/1.0.0/wpoven-plugin-switcher.zip). 2. **Upload the Plugin:** diff --git a/source/README.txt b/source/README.txt index 9a6a5d4..dc61283 100755 --- a/source/README.txt +++ b/source/README.txt @@ -2,7 +2,7 @@ Contributors: https://www.wpoven.com/ Requires at least: 6.6.2 Tested up to: 6.6.2 -Stable tag: 2.0.0 +Stable tag: 1.0.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -19,7 +19,7 @@ optimizing site performance and functionality while streamlining plugin configur 1. **Download the Plugin:** - To get the latest version of WPOven Plugin Switcher, you can either: - [Visit WPOven's website](https://www.wpoven.com/plugins/wpoven-plugin-switcher) to learn more about the plugin. - - Download directly from the GitHub repository: [Download](https://github.com/baseapp/wpoven_pluginswitcher/releases/download/2.0.0/wpoven-plugin-switcher.zip). + - Download directly from the GitHub repository: [Download](https://github.com/baseapp/wpoven_pluginswitcher/releases/download/1.0.0/wpoven-plugin-switcher.zip). 2. **Upload the Plugin:** - Log in to your WordPress admin dashboard. diff --git a/source/admin/class-wpoven-plugin-switcher-admin.php b/source/admin/class-wpoven-plugin-switcher-admin.php index 4d49acc..3747339 100755 --- a/source/admin/class-wpoven-plugin-switcher-admin.php +++ b/source/admin/class-wpoven-plugin-switcher-admin.php @@ -408,6 +408,7 @@ function setup_gui() 'output' => false, 'output_tag' => false, //'footer_credit' => 'Please rate WPOven Plugin Switcher ★★★★★ on WordPress.org to support us. Thank you!', + 'footer_credit' => '', 'use_cdn' => false, 'admin_theme' => 'wp', 'flyout_submenus' => false, diff --git a/source/wpoven-plugin-switcher.php b/source/wpoven-plugin-switcher.php index 2eff7c8..547938f 100755 --- a/source/wpoven-plugin-switcher.php +++ b/source/wpoven-plugin-switcher.php @@ -16,7 +16,7 @@ * Plugin Name: WPOven Plugin Switcher * Plugin URI: https://www.wpoven.com/plugins/wpoven-plugin-switcher * Description: Allows users to quickly enable or disable plugins as per need. - * Version: 2.0.0 + * Version: 1.0.0 * Author: WPOven * Author URI: https://www.wpoven.com/ * License: GPL-2.0+ @@ -35,7 +35,7 @@ * Start at version 1.0.0 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define('WPOVEN_PLUGIN_SWITCHER_VERSION', '2.0.0'); +define('WPOVEN_PLUGIN_SWITCHER_VERSION', '1.0.0'); if (!defined('WPOVEN_PLUGIN_SWITCHER_SLUG')) define('WPOVEN_PLUGIN_SWITCHER_SLUG', 'wpoven-plugin-switcher'); @@ -56,10 +56,7 @@ __FILE__, 'wpoven-plugin-switcher' ); - -//Set the branch that contains the stable release. - $myUpdateChecker->setBranch('main'); -//$myUpdateChecker->getVcsApi()->enableReleaseAssets(); +$myUpdateChecker->getVcsApi()->enableReleaseAssets(); /** * The code that runs during plugin activation.