diff --git a/.wordpress-org/screenshot-1.png b/.wordpress-org/screenshot-1.png index dc6c71915..af53a6b2d 100644 Binary files a/.wordpress-org/screenshot-1.png and b/.wordpress-org/screenshot-1.png differ diff --git a/README.md b/README.md index a8d22e67c..53d10e37b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **Requires at least:** 5.0 **Tested up to:** 6.7.1 **Requires PHP:** 7.4 -**Stable tag:** 2.0.4 +**Stable tag:** 2.0.5 **License:** GPLv2 or later **License URI:** https://www.gnu.org/licenses/gpl-2.0.html @@ -129,6 +129,12 @@ To access the advanced features and premium widgets, you’ll need to upgrade to ## Changelog ## +### 2.0.5.1 ### +- Fix: Load text domain during init action to prevent early translation loading error. + +### 2.0.5 ### +- Fix: Conflict with pro version update notice. + ### 2.0.4 ### - Improvement: Compatibility with latest Elementor and Elementor Pro 3.26 version. - Improvement: Added a navigation bar to the Header and Footer Builder page to improve usability and navigation. diff --git a/header-footer-elementor.php b/header-footer-elementor.php index ef40734d4..ccaa80635 100644 --- a/header-footer-elementor.php +++ b/header-footer-elementor.php @@ -1,20 +1,20 @@ includes(); - $this->load_textdomain(); + // $this->load_textdomain(); + add_action( 'init', [ $this, 'load_textdomain' ] ); + add_filter( 'elementor/admin-top-bar/is-active', diff --git a/inc/class-hfe-rollback.php b/inc/class-hfe-rollback.php index 3f2b751d0..36f99b3ca 100644 --- a/inc/class-hfe-rollback.php +++ b/inc/class-hfe-rollback.php @@ -164,7 +164,7 @@ protected function upgrade() { 'url' => 'update.php?action=upgrade-plugin&plugin=' . rawurlencode( $this->plugin_name ), 'plugin' => $this->plugin_name, 'nonce' => 'upgrade-plugin_' . $this->plugin_name, - 'title' => __( 'Ultimate Addons for Elementor
Rollback to Previous Version
', 'header-footer-elementor' ), + 'title' => __( 'Ultimate Addons for Elementor LiteRollback to Previous Version
', 'header-footer-elementor' ), ]; $this->print_inline_style(); diff --git a/inc/widgets-manager/class-extensions-loader.php b/inc/widgets-manager/class-extensions-loader.php index 1fd0388d2..5180b7476 100644 --- a/inc/widgets-manager/class-extensions-loader.php +++ b/inc/widgets-manager/class-extensions-loader.php @@ -51,7 +51,8 @@ public static function instance() { */ private function __construct() { - $this->include_extensions_files(); + // $this->include_extensions_files(); + add_action( 'init', [ $this, 'include_extensions_files' ] ); } diff --git a/package.json b/package.json index ab354f4f8..b86519649 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "header-footer-elementor", - "version": "2.0.4", + "version": "2.0.5", "main": "index.js", "author": "Nikhil Chavan", "volta": { diff --git a/readme.txt b/readme.txt index 00cc1cbe9..35ba702e8 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: elementor, header footer builder, widgets, header template, footer templat Requires at least: 5.0 Tested up to: 6.7.1 Requires PHP: 7.4 -Stable tag: 2.0.4 +Stable tag: 2.0.5 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -129,6 +129,12 @@ To access the advanced features and premium widgets, you’ll need to upgrade to == Changelog == += 2.0.5.1 = +- Fix: Load text domain during init action to prevent early translation loading error. + += 2.0.5 = +- Fix: Conflict with pro version update notice. + = 2.0.4 = - Improvement: Compatibility with latest Elementor and Elementor Pro 3.26 version. - Improvement: Added a navigation bar to the Header and Footer Builder page to improve usability and navigation.