From f94d3c8850fe658d3d90ebbfe435fff4153d9d5e Mon Sep 17 00:00:00 2001 From: Mahdi Yazdani Date: Mon, 11 Mar 2024 13:38:42 +0300 Subject: [PATCH 01/19] fix: Remove `@author` header tag --- src/Admin/Menu.php | 2 -- src/Ajax/Ajax.php | 2 -- src/Ajax/OnBoarding.php | 2 -- src/Ajax/Rate.php | 2 -- src/Ajax/Rated.php | 2 -- src/Assets.php | 2 -- src/Compatibility/WooCommerce.php | 2 -- src/Enhancements/Docs.php | 2 -- src/Enhancements/Meta.php | 2 -- src/Enhancements/Notices.php | 2 -- src/Enhancements/OnBoarding.php | 2 -- src/Enhancements/Rate.php | 2 -- src/Enhancements/Upsell.php | 2 -- src/File.php | 2 -- src/Helper/Settings.php | 2 -- src/I18n.php | 2 -- src/Installer.php | 2 -- src/Integration/Elementor/Register.php | 2 -- src/Integration/Elementor/Widget.php | 2 -- src/Plugin.php | 2 -- src/PluginServiceProvider.php | 2 -- src/Settings/Options.php | 2 -- src/Settings/Register.php | 2 -- src/Settings/Sections/Conditions.php | 2 -- src/Settings/Sections/General.php | 2 -- src/Settings/Sections/Section.php | 2 -- src/Settings/Settings.php | 2 -- src/Shortcode/Notice.php | 2 -- src/Shortcode/Shortcode.php | 2 -- src/TemplateManager.php | 2 -- src/Util/Choices.php | 2 -- src/Util/DateTime.php | 2 -- src/Util/Resolutions.php | 2 -- src/WooCommerce/Vacation.php | 2 -- uninstall.php | 4 ---- 35 files changed, 72 deletions(-) diff --git a/src/Admin/Menu.php b/src/Admin/Menu.php index d102bc2..3102ed1 100644 --- a/src/Admin/Menu.php +++ b/src/Admin/Menu.php @@ -2,8 +2,6 @@ /** * The plugin menu class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/src/Ajax/Ajax.php b/src/Ajax/Ajax.php index 8a26191..f33f648 100644 --- a/src/Ajax/Ajax.php +++ b/src/Ajax/Ajax.php @@ -2,8 +2,6 @@ /** * Abstract AJAX class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/Ajax/OnBoarding.php b/src/Ajax/OnBoarding.php index 1845726..239ebbb 100644 --- a/src/Ajax/OnBoarding.php +++ b/src/Ajax/OnBoarding.php @@ -2,8 +2,6 @@ /** * Dismiss onboarding (welcome) admin notice. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.0 * * @package woo-store-vacation diff --git a/src/Ajax/Rate.php b/src/Ajax/Rate.php index 15ceb3c..f209068 100644 --- a/src/Ajax/Rate.php +++ b/src/Ajax/Rate.php @@ -2,8 +2,6 @@ /** * Dismiss rate the plugin admin notice. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.6.1 * * @package woo-store-vacation diff --git a/src/Ajax/Rated.php b/src/Ajax/Rated.php index afa8504..6d453c4 100644 --- a/src/Ajax/Rated.php +++ b/src/Ajax/Rated.php @@ -2,8 +2,6 @@ /** * Dismiss rate the plugin admin notice. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.0 * * @package woo-store-vacation diff --git a/src/Assets.php b/src/Assets.php index d410df8..1acd0b0 100644 --- a/src/Assets.php +++ b/src/Assets.php @@ -2,8 +2,6 @@ /** * The plugin assets (static resources). * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/src/Compatibility/WooCommerce.php b/src/Compatibility/WooCommerce.php index cc3afc9..119f19e 100644 --- a/src/Compatibility/WooCommerce.php +++ b/src/Compatibility/WooCommerce.php @@ -2,8 +2,6 @@ /** * Add compatibility with WooCommerce (core) features. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.6.2 * * @package woo-store-vacation diff --git a/src/Enhancements/Docs.php b/src/Enhancements/Docs.php index d1199ba..21b5292 100644 --- a/src/Enhancements/Docs.php +++ b/src/Enhancements/Docs.php @@ -2,8 +2,6 @@ /** * Plugin documentation content. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.3.8 * * @package woo-store-vacation diff --git a/src/Enhancements/Meta.php b/src/Enhancements/Meta.php index ac798ed..f0c578f 100644 --- a/src/Enhancements/Meta.php +++ b/src/Enhancements/Meta.php @@ -2,8 +2,6 @@ /** * The plugin meta class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/src/Enhancements/Notices.php b/src/Enhancements/Notices.php index a672d9c..6fa0215 100644 --- a/src/Enhancements/Notices.php +++ b/src/Enhancements/Notices.php @@ -2,8 +2,6 @@ /** * The plugin admin notices class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/src/Enhancements/OnBoarding.php b/src/Enhancements/OnBoarding.php index 866c45e..fab1e36 100644 --- a/src/Enhancements/OnBoarding.php +++ b/src/Enhancements/OnBoarding.php @@ -2,8 +2,6 @@ /** * The onboarding class for enhancing the new user experience. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.6.1 * * @package woo-store-vacation diff --git a/src/Enhancements/Rate.php b/src/Enhancements/Rate.php index c367b62..99a8e25 100644 --- a/src/Enhancements/Rate.php +++ b/src/Enhancements/Rate.php @@ -2,8 +2,6 @@ /** * The plugin rate class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.3.8 * * @package woo-store-vacation diff --git a/src/Enhancements/Upsell.php b/src/Enhancements/Upsell.php index 9a2bd86..e6a8299 100644 --- a/src/Enhancements/Upsell.php +++ b/src/Enhancements/Upsell.php @@ -2,8 +2,6 @@ /** * Plugin upsell content. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.3.8 * * @package woo-store-vacation diff --git a/src/File.php b/src/File.php index 69665a0..e70183d 100644 --- a/src/File.php +++ b/src/File.php @@ -2,8 +2,6 @@ /** * The plugin file path class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/src/Helper/Settings.php b/src/Helper/Settings.php index 34ebbfa..08dd364 100644 --- a/src/Helper/Settings.php +++ b/src/Helper/Settings.php @@ -2,8 +2,6 @@ /** * Settings helpers. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.0 * * @package woo-store-vacation diff --git a/src/I18n.php b/src/I18n.php index 8012dcc..d600542 100644 --- a/src/I18n.php +++ b/src/I18n.php @@ -2,8 +2,6 @@ /** * The plugin internationalization class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/src/Installer.php b/src/Installer.php index 235f2e9..23b7c44 100644 --- a/src/Installer.php +++ b/src/Installer.php @@ -2,8 +2,6 @@ /** * The plugin installer class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/src/Integration/Elementor/Register.php b/src/Integration/Elementor/Register.php index 9d76b2f..d34829d 100644 --- a/src/Integration/Elementor/Register.php +++ b/src/Integration/Elementor/Register.php @@ -2,8 +2,6 @@ /** * Plugin Elementor widget registerer. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.1 * * @package woo-store-vacation diff --git a/src/Integration/Elementor/Widget.php b/src/Integration/Elementor/Widget.php index fd1b6b7..0f8ea1c 100644 --- a/src/Integration/Elementor/Widget.php +++ b/src/Integration/Elementor/Widget.php @@ -2,8 +2,6 @@ /** * The Elementor widget class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.0 * * @package woo-store-vacation diff --git a/src/Plugin.php b/src/Plugin.php index f655bcf..1121f55 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -2,8 +2,6 @@ /** * The core plugin class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/PluginServiceProvider.php b/src/PluginServiceProvider.php index 91b7873..2f637ba 100644 --- a/src/PluginServiceProvider.php +++ b/src/PluginServiceProvider.php @@ -2,8 +2,6 @@ /** * The implementation of the Pimple service provider interface. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/Settings/Options.php b/src/Settings/Options.php index 2bf83c2..47c6288 100644 --- a/src/Settings/Options.php +++ b/src/Settings/Options.php @@ -2,8 +2,6 @@ /** * Plugin options class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/Settings/Register.php b/src/Settings/Register.php index b96aac6..c988ce6 100644 --- a/src/Settings/Register.php +++ b/src/Settings/Register.php @@ -2,8 +2,6 @@ /** * Plugin settings registerer. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.0 * * @package woo-store-vacation diff --git a/src/Settings/Sections/Conditions.php b/src/Settings/Sections/Conditions.php index 24fae51..6e8591c 100644 --- a/src/Settings/Sections/Conditions.php +++ b/src/Settings/Sections/Conditions.php @@ -2,8 +2,6 @@ /** * The plugin settings fields. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.0 * * @package woo-store-vacation diff --git a/src/Settings/Sections/General.php b/src/Settings/Sections/General.php index aad9a3c..5f87236 100644 --- a/src/Settings/Sections/General.php +++ b/src/Settings/Sections/General.php @@ -2,8 +2,6 @@ /** * The plugin settings fields. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.0 * * @package woo-store-vacation diff --git a/src/Settings/Sections/Section.php b/src/Settings/Sections/Section.php index e0965ae..1f99186 100644 --- a/src/Settings/Sections/Section.php +++ b/src/Settings/Sections/Section.php @@ -2,8 +2,6 @@ /** * The plugin settings sections. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/Settings/Settings.php b/src/Settings/Settings.php index 60eab9c..8b7f25f 100644 --- a/src/Settings/Settings.php +++ b/src/Settings/Settings.php @@ -2,8 +2,6 @@ /** * The plugin settings. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.8.0 * * @package woo-store-vacation diff --git a/src/Shortcode/Notice.php b/src/Shortcode/Notice.php index 8a269ac..fa16945 100644 --- a/src/Shortcode/Notice.php +++ b/src/Shortcode/Notice.php @@ -2,8 +2,6 @@ /** * Vacation notice shortcode class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/src/Shortcode/Shortcode.php b/src/Shortcode/Shortcode.php index c60f8c1..251f87c 100644 --- a/src/Shortcode/Shortcode.php +++ b/src/Shortcode/Shortcode.php @@ -2,8 +2,6 @@ /** * The Shortcode class for registering shortcodes. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/TemplateManager.php b/src/TemplateManager.php index 6f8fe81..234ecb0 100644 --- a/src/TemplateManager.php +++ b/src/TemplateManager.php @@ -2,8 +2,6 @@ /** * The plugin template manager class. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/Util/Choices.php b/src/Util/Choices.php index 4180655..8ee2ec7 100644 --- a/src/Util/Choices.php +++ b/src/Util/Choices.php @@ -2,8 +2,6 @@ /** * The util choices for the plugin. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/Util/DateTime.php b/src/Util/DateTime.php index 0d39d2c..b7f8832 100644 --- a/src/Util/DateTime.php +++ b/src/Util/DateTime.php @@ -2,8 +2,6 @@ /** * The utility class for date-time related functions. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.7.0 * * @package woo-store-vacation diff --git a/src/Util/Resolutions.php b/src/Util/Resolutions.php index 22b4778..19ba40f 100644 --- a/src/Util/Resolutions.php +++ b/src/Util/Resolutions.php @@ -2,8 +2,6 @@ /** * The util resolutions for the plugin. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.9.0 * * @package woo-store-vacation diff --git a/src/WooCommerce/Vacation.php b/src/WooCommerce/Vacation.php index 2509f89..aa82f5a 100644 --- a/src/WooCommerce/Vacation.php +++ b/src/WooCommerce/Vacation.php @@ -2,8 +2,6 @@ /** * The vacation class for WooCommerce. * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation diff --git a/uninstall.php b/uninstall.php index 47822f7..d287631 100644 --- a/uninstall.php +++ b/uninstall.php @@ -3,10 +3,6 @@ * Uninstall Woo Store Vacation. * Fired when the plugin is uninstalled. * - * @link https://mypreview.one/woo-store-vacation - * - * @author MyPreview (Github: @mahdiyazdani, @gooklani, @mypreview) - * * @since 1.0.0 * * @package woo-store-vacation From 85479e5baed4c585df34c06915f807b892d966f4 Mon Sep 17 00:00:00 2001 From: Mahdi Yazdani Date: Mon, 11 Mar 2024 13:39:22 +0300 Subject: [PATCH 02/19] fix: Update purchase Pro version URL --- docs/index.html | 4 ++-- src/Helper/Links.php | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/index.html b/docs/index.html index d9dd3cf..6d3f6cf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -619,7 +619,7 @@

woo_store_vacation_vacation_mode

- +
Woo Store Vacation plugin Plams icon

Get PRO →

@@ -740,7 +740,7 @@

woo_store_vacation_vacation_mode