From 551dd51b7c0af6ec82f8afd3ea5870d57d58701f Mon Sep 17 00:00:00 2001 From: Vijeta Raikar <110518282+vijetaR@users.noreply.github.com> Date: Fri, 7 Mar 2025 13:11:55 +0530 Subject: [PATCH] grunt bumpup version --- admin/class-hfe-addons-actions.php | 2 +- admin/class-hfe-admin.php | 2 +- inc/class-hfe-rollback.php | 20 ++++++++-------- inc/class-hfe-settings-page.php | 4 ++-- inc/lib/class-hfe-utm-analytics.php | 6 ++--- inc/settings/hfe-settings-api.php | 8 +++---- inc/widgets-manager/base/hfe-helper.php | 14 +++++------ inc/widgets-manager/base/module-base.php | 12 +++++----- inc/widgets-manager/base/widgets-config.php | 2 +- .../class-extensions-loader.php | 12 +++++----- inc/widgets-manager/class-widgets-loader.php | 2 +- .../class-scroll-to-top-settings.php | 16 ++++++------- .../extensions/class-scroll-to-top.php | 12 +++++----- .../breadcrumbs-widget/breadcrumbs-widget.php | 24 +++++++++---------- .../widgets/breadcrumbs-widget/module.php | 6 ++--- .../widgets/post-info/post-info.php | 24 +++++++++---------- package.json | 2 +- tests/php/stubs/___elementor-stubs.php | 4 ++-- 18 files changed, 86 insertions(+), 86 deletions(-) diff --git a/admin/class-hfe-addons-actions.php b/admin/class-hfe-addons-actions.php index 6c1c8b6cb..e67d84a29 100644 --- a/admin/class-hfe-addons-actions.php +++ b/admin/class-hfe-addons-actions.php @@ -428,7 +428,7 @@ public function save_hfe_compatibility_option_callback() { /** * Save HFE analytics compatibility option via AJAX. * - * @since x.x.x + * @since 2.2.1 * @return void */ public function save_analytics_option() { diff --git a/admin/class-hfe-admin.php b/admin/class-hfe-admin.php index f8c2e0eb7..5430cfc09 100644 --- a/admin/class-hfe-admin.php +++ b/admin/class-hfe-admin.php @@ -210,7 +210,7 @@ public function print_permalink_clear_notice() { /** * Hide admin notices on the custom settings page. * - * @since x.x.x + * @since 2.2.1 * @return void */ public static function hide_admin_notices() { diff --git a/inc/class-hfe-rollback.php b/inc/class-hfe-rollback.php index 36f99b3ca..32b88bd17 100644 --- a/inc/class-hfe-rollback.php +++ b/inc/class-hfe-rollback.php @@ -15,7 +15,7 @@ * HFE Rollback. handler class is responsible for rolling back HFE to * previous version. * - * @since x.x.x + * @since 2.2.1 */ if ( ! class_exists( 'HFE_Rollback' ) ) { @@ -26,7 +26,7 @@ class HFE_Rollback { * * Holds the package URL. * - * @since x.x.x + * @since 2.2.1 * @access protected * * @var string Package URL. @@ -38,7 +38,7 @@ class HFE_Rollback { * * Holds the version. * - * @since x.x.x + * @since 2.2.1 * @access protected * * @var string Package URL. @@ -50,7 +50,7 @@ class HFE_Rollback { * * Holds the plugin name. * - * @since x.x.x + * @since 2.2.1 * @access protected * * @var string Plugin name. @@ -62,7 +62,7 @@ class HFE_Rollback { * * Holds the plugin slug. * - * @since x.x.x + * @since 2.2.1 * @access protected * * @var string Plugin slug. @@ -74,7 +74,7 @@ class HFE_Rollback { * * Initializing HFE Rollback. * - * @since x.x.x + * @since 2.2.1 * @access public * * @param array $args Optional. HFE Rollback arguments. Default is an empty array. @@ -90,7 +90,7 @@ public function __construct( $args = [] ) { * * Add an inline CSS to the HFE Rollback page. * - * @since x.x.x + * @since 2.2.1 * @access private */ private function print_inline_style() { @@ -128,7 +128,7 @@ private function print_inline_style() { * modifies package data to update the plugin from a specific URL containing * the version package. * - * @since x.x.x + * @since 2.2.1 * @access protected */ protected function apply_package() { @@ -153,7 +153,7 @@ protected function apply_package() { * * Run WordPress upgrade to HFE Rollback to previous version. * - * @since x.x.x + * @since 2.2.1 * @access protected */ protected function upgrade() { @@ -178,7 +178,7 @@ protected function upgrade() { * * Rollback HFE to previous versions. * - * @since x.x.x + * @since 2.2.1 * @access public */ public function run() { diff --git a/inc/class-hfe-settings-page.php b/inc/class-hfe-settings-page.php index 0873908a7..ed4eddbd5 100644 --- a/inc/class-hfe-settings-page.php +++ b/inc/class-hfe-settings-page.php @@ -140,7 +140,7 @@ public static function get_elementor_new_page_url() { * * Fired by `admin_post_uaelite_rollback` action. * - * @since x.x.x + * @since 2.2.1 * @access public */ public function post_uaelite_rollback() { @@ -582,7 +582,7 @@ public function hfe_register_settings_page() { * * Call back function for add submenu page function. * - * @since x.x.x + * @since 2.2.1 * @return void */ public function render() { diff --git a/inc/lib/class-hfe-utm-analytics.php b/inc/lib/class-hfe-utm-analytics.php index c6ea86e31..265e50c79 100644 --- a/inc/lib/class-hfe-utm-analytics.php +++ b/inc/lib/class-hfe-utm-analytics.php @@ -4,7 +4,7 @@ * * Loads latest UTM Analytics library in environment. * - * @since x.x.x + * @since 2.2.1 * @package UTM Analytics */ @@ -23,7 +23,7 @@ class HFE_Utm_Analytics { /** * Instance * - * @since x.x.x + * @since 2.2.1 * @var (Object) HFE_Utm_Analytics */ private static $instance = null; @@ -31,7 +31,7 @@ class HFE_Utm_Analytics { /** * Get Instance * - * @since x.x.x + * @since 2.2.1 * * @return object Class object. */ diff --git a/inc/settings/hfe-settings-api.php b/inc/settings/hfe-settings-api.php index 77078249d..3e3b429b6 100644 --- a/inc/settings/hfe-settings-api.php +++ b/inc/settings/hfe-settings-api.php @@ -22,7 +22,7 @@ class HFE_Settings_Api { * * @access private * @var object Class object. - * @since x.x.x + * @since 2.2.1 */ private static $instance; @@ -41,7 +41,7 @@ public static function get_instance() { /** * Initialize hooks. * - * @since x.x.x + * @since 2.2.1 * @return void */ private function __construct() { @@ -53,7 +53,7 @@ private function __construct() { /** * Register REST API routes. * - * @since x.x.x + * @since 2.2.1 * @return void */ public function register_routes() { @@ -92,7 +92,7 @@ public function register_routes() { /** * Check whether a given request has permission to read notes. * - * @since x.x.x + * @since 2.2.1 * @return WP_Error|boolean */ public function get_items_permissions_check() { diff --git a/inc/widgets-manager/base/hfe-helper.php b/inc/widgets-manager/base/hfe-helper.php index f725015c6..79ded2d0d 100644 --- a/inc/widgets-manager/base/hfe-helper.php +++ b/inc/widgets-manager/base/hfe-helper.php @@ -59,7 +59,7 @@ class HFE_Helper { /** * Check if UAE Pro is active. * - * @since x.x.x + * @since 2.2.1 * @return bool */ public static function is_pro_active() { @@ -72,7 +72,7 @@ public static function is_pro_active() { /** * Provide General settings array(). * - * @since x.x.x + * @since 2.2.1 * @return array() */ public static function premium_starter_templates_status() { @@ -85,7 +85,7 @@ public static function premium_starter_templates_status() { /** * Provide General settings array(). * - * @since x.x.x + * @since 2.2.1 * @return array() */ public static function free_starter_templates_status() { @@ -96,7 +96,7 @@ public static function free_starter_templates_status() { /** * Provide General settings array(). * - * @since x.x.x + * @since 2.2.1 * @return array() */ public static function starter_templates_status() { @@ -114,7 +114,7 @@ public static function starter_templates_status() { /** * Provide General settings array(). * - * @since x.x.x + * @since 2.2.1 * @return array() */ public static function starter_templates_link() { @@ -172,7 +172,7 @@ public static function get_all_widgets_list() { /** * Provide General settings array(). * - * @since x.x.x + * @since 2.2.1 * @return array() */ public static function get_bsf_plugins_list() { @@ -403,7 +403,7 @@ public static function get_rollback_versions_options() { /** * Get Rollback versions. * - * @since x.x.x + * @since 2.2.1 * @return array * @access public */ diff --git a/inc/widgets-manager/base/module-base.php b/inc/widgets-manager/base/module-base.php index eebc633d0..904995239 100644 --- a/inc/widgets-manager/base/module-base.php +++ b/inc/widgets-manager/base/module-base.php @@ -16,7 +16,7 @@ /** * Module Base * - * @since x.x.x + * @since 2.2.1 */ abstract class Module_Base { @@ -37,14 +37,14 @@ abstract class Module_Base { /** * Get Name * - * @since x.x.x + * @since 2.2.1 */ abstract public function get_name(); /** * Class name to Call * - * @since x.x.x + * @since 2.2.1 */ public static function class_name() { return get_called_class(); @@ -65,7 +65,7 @@ public function is_widget() { /** * Class instance * - * @since x.x.x + * @since 2.2.1 * * @return static */ @@ -90,7 +90,7 @@ public function __construct() { /** * Init Widgets * - * @since x.x.x + * @since 2.2.1 */ public function init_widgets() { @@ -110,7 +110,7 @@ public function init_widgets() { /** * Get Widgets * - * @since x.x.x + * @since 2.2.1 * * @return array */ diff --git a/inc/widgets-manager/base/widgets-config.php b/inc/widgets-manager/base/widgets-config.php index 4336d08b9..1bce5afb2 100644 --- a/inc/widgets-manager/base/widgets-config.php +++ b/inc/widgets-manager/base/widgets-config.php @@ -955,7 +955,7 @@ public static function get_all_widgets() { /** * Function for Astra Pro white labels with defaults. * - * @since x.x.x + * @since 2.2.1 * @return array */ public static function get_white_label() { diff --git a/inc/widgets-manager/class-extensions-loader.php b/inc/widgets-manager/class-extensions-loader.php index 181ccccba..300de8c38 100644 --- a/inc/widgets-manager/class-extensions-loader.php +++ b/inc/widgets-manager/class-extensions-loader.php @@ -6,7 +6,7 @@ * @author HFE * @copyright Copyright (c) 2018, HFE * @link http://brainstormforce.com/ - * @since HFE x.x.x + * @since HFE 2.2.1 */ namespace HFE\WidgetsManager; @@ -24,7 +24,7 @@ class Extensions_Loader { /** * Instance of Extensions_Loader. * - * @since x.x.x + * @since 2.2.1 * @var null */ private static $_instance = null; @@ -32,7 +32,7 @@ class Extensions_Loader { /** * Get instance of Extensions_Loader * - * @since x.x.x + * @since 2.2.1 * @return Extensions_Loader */ public static function instance() { @@ -46,7 +46,7 @@ public static function instance() { /** * Setup actions and filters. * - * @since x.x.x + * @since 2.2.1 * @access private */ private function __construct() { @@ -58,7 +58,7 @@ private function __construct() { /** * Elementor Init. * - * @since x.x.x + * @since 2.2.1 */ public function elementor_init() { @@ -84,7 +84,7 @@ public static function get_extensions_list() { * * Load Extensions files * - * @since x.x.x + * @since 2.2.1 * @access public * @return void */ diff --git a/inc/widgets-manager/class-widgets-loader.php b/inc/widgets-manager/class-widgets-loader.php index 9f76e4b43..bafd01558 100644 --- a/inc/widgets-manager/class-widgets-loader.php +++ b/inc/widgets-manager/class-widgets-loader.php @@ -223,7 +223,7 @@ public static function get_widget_script() { * * Load widgets JS files * - * @since x.x.x + * @since 2.2.1 * @access public * @return void */ diff --git a/inc/widgets-manager/extensions/class-scroll-to-top-settings.php b/inc/widgets-manager/extensions/class-scroll-to-top-settings.php index fcb9fb2ed..1519648e3 100644 --- a/inc/widgets-manager/extensions/class-scroll-to-top-settings.php +++ b/inc/widgets-manager/extensions/class-scroll-to-top-settings.php @@ -3,7 +3,7 @@ * Scroll to top settings * * @package header-footer-elementor - * @since x.x.x + * @since 2.2.1 */ namespace HFE\WidgetsManager\Extensions; @@ -19,14 +19,14 @@ /** * HFE Scroll to top extension * - * @since x.x.x + * @since 2.2.1 */ class Scroll_To_Top_Settings extends Tab_Base { /** * Retrieve the widget name. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -39,7 +39,7 @@ public function get_id() { /** * Retrieves the widget name title. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -52,7 +52,7 @@ public function get_title() { /** * Retrieve the widget icon. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -65,7 +65,7 @@ public function get_icon() { /** * Retrieves the help URL. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -78,7 +78,7 @@ public function get_help_url() { /** * Retrieves the widget keywords. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -91,7 +91,7 @@ public function get_group() { /** * Register tab controls * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ diff --git a/inc/widgets-manager/extensions/class-scroll-to-top.php b/inc/widgets-manager/extensions/class-scroll-to-top.php index 973f60adb..81a91cdcd 100644 --- a/inc/widgets-manager/extensions/class-scroll-to-top.php +++ b/inc/widgets-manager/extensions/class-scroll-to-top.php @@ -16,14 +16,14 @@ /** * HFE Progress bar extension * - * @since x.x.x + * @since 2.2.1 */ class Scroll_To_Top { /** * Instance of Widgets_Loader. * - * @since x.x.x + * @since 2.2.1 * @var null */ private static $_instance = null; @@ -31,7 +31,7 @@ class Scroll_To_Top { /** * Get instance of Widgets_Loader * - * @since x.x.x + * @since 2.2.1 * @return Widgets_Loader */ public static function instance() { @@ -45,7 +45,7 @@ public static function instance() { /** * Setup actions and filters. * - * @since x.x.x + * @since 2.2.1 * @access private */ private function __construct() { @@ -84,7 +84,7 @@ public function enqueue_scripts() { * Register extension tab * * @param \Elementor\Core\Kits\Documents\Kit $kit The Elementor Kit document. - * @since x.x.x + * @since 2.2.1 */ public function register_extension_tab( \Elementor\Core\Kits\Documents\Kit $kit ) { $kit->register_tab( 'hfe-scroll-to-top-settings', Scroll_To_Top_Settings::class ); @@ -93,7 +93,7 @@ public function register_extension_tab( \Elementor\Core\Kits\Documents\Kit $kit /** * Render scroll to top html * - * @since x.x.x + * @since 2.2.1 */ public function render_scroll_to_top_html() { diff --git a/inc/widgets-manager/widgets/breadcrumbs-widget/breadcrumbs-widget.php b/inc/widgets-manager/widgets/breadcrumbs-widget/breadcrumbs-widget.php index e01557270..de47718db 100644 --- a/inc/widgets-manager/widgets/breadcrumbs-widget/breadcrumbs-widget.php +++ b/inc/widgets-manager/widgets/breadcrumbs-widget/breadcrumbs-widget.php @@ -27,14 +27,14 @@ * * HFE widget for site title * - * @since x.x.x + * @since 2.2.1 */ class Breadcrumbs_Widget extends Common_Widget { /** * Retrieve the widget name. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -47,7 +47,7 @@ public function get_name() { /** * Retrieve the widget title. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -60,7 +60,7 @@ public function get_title() { /** * Retrieve the widget icon. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -107,7 +107,7 @@ protected function register_controls(): void { /** * Register general Controls. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -181,7 +181,7 @@ protected function register_general_breadcrumbs_controls(): void { /** * Register Separator Controls. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -254,7 +254,7 @@ protected function register_separator_breadcrumbs_controls(): void { /** * Register Separator Controls. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -313,7 +313,7 @@ protected function register_breadcrumbs_text_controls(): void { /** * Register General Controls. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -480,7 +480,7 @@ protected function register_breadcrumbs_general_style_controls(): void { /** * Register Separator Controls. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -544,7 +544,7 @@ protected function register_breadcrumbs_separator_style_controls(): void { /** * Register current Controls. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -635,7 +635,7 @@ protected function register_breadcrumbs_current_style_controls(): void { * * Written in PHP and used to generate the final HTML. * - * @since x.x.x + * @since 2.2.1 * @access protected * * // phpcs:ignore @@ -838,7 +838,7 @@ public function home_icon_html( $home_class = '', $home_icon = [] ) { * * Written as a Backbone JavaScript template and used to generate the live preview. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ diff --git a/inc/widgets-manager/widgets/breadcrumbs-widget/module.php b/inc/widgets-manager/widgets/breadcrumbs-widget/module.php index 8075fb92c..a8281dc87 100644 --- a/inc/widgets-manager/widgets/breadcrumbs-widget/module.php +++ b/inc/widgets-manager/widgets/breadcrumbs-widget/module.php @@ -21,7 +21,7 @@ class Module extends Module_Base { /** * Module should load or not. * - * @since x.x.x + * @since 2.2.1 * @access public * * @return bool true|false. @@ -33,7 +33,7 @@ public static function is_enable() { /** * Get Module Name. * - * @since x.x.x + * @since 2.2.1 * @access public * * @return string Module name. @@ -45,7 +45,7 @@ public function get_name() { /** * Get Widgets. * - * @since x.x.x + * @since 2.2.1 * @access public * * @return array Widgets. diff --git a/inc/widgets-manager/widgets/post-info/post-info.php b/inc/widgets-manager/widgets/post-info/post-info.php index 24b5c50bc..69a0a8609 100644 --- a/inc/widgets-manager/widgets/post-info/post-info.php +++ b/inc/widgets-manager/widgets/post-info/post-info.php @@ -28,14 +28,14 @@ * * HFE widget for Post Info. * - * @since x.x.x + * @since 2.2.1 */ class Post_Info extends Common_Widget { /** * Retrieve the widget name. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -48,7 +48,7 @@ public function get_name() { /** * Retrieve the widget title. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -61,7 +61,7 @@ public function get_title() { /** * Retrieve the widget icon. * - * @since x.x.x + * @since 2.2.1 * * @access public * @@ -74,7 +74,7 @@ public function get_icon() { /** * Register Post Info controls. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -89,7 +89,7 @@ protected function register_controls() { /** * Register general Controls. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -428,7 +428,7 @@ protected function register_general_post_info_controls() { /** * Register style Controls for list items. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -626,7 +626,7 @@ protected function register_style_post_info_meta_controls() { /** * Register style Controls for icon. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -681,7 +681,7 @@ protected function register_style_post_info_icon_controls() { /** * Register style Controls for text. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ @@ -743,7 +743,7 @@ protected function register_style_post_info_text_controls() { /** * Get taxonomies. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return array */ @@ -769,7 +769,7 @@ protected function get_taxonomies() { /** * Render Post meta fields * - * @since x.x.x + * @since 2.2.1 * @access protected * @param array $repeater_item An array of repeater item options for custom strings and link. * @return array An array of rendered post meta fields. @@ -1243,7 +1243,7 @@ function( $term ) { * * Written in PHP and used to generate the final HTML. * - * @since x.x.x + * @since 2.2.1 * @access protected * @return void */ diff --git a/package.json b/package.json index 523dbe4a6..783ddc1e0 100644 --- a/package.json +++ b/package.json @@ -135,4 +135,4 @@ "react": "^18.3.1", "react-dom": "^18.2.0" } -} +} \ No newline at end of file diff --git a/tests/php/stubs/___elementor-stubs.php b/tests/php/stubs/___elementor-stubs.php index 3273875ed..477a52505 100644 --- a/tests/php/stubs/___elementor-stubs.php +++ b/tests/php/stubs/___elementor-stubs.php @@ -9295,8 +9295,8 @@ class Version { */ public $patch; /** - * The stage of a version x.x.x-stage. - * e.g: x.x.x-dev1, x.x.x-beta3, x.x.x-rc + * The stage of a version 2.2.1-stage. + * e.g: 2.2.1-dev1, 2.2.1-beta3, 2.2.1-rc * * @var string|null */