diff --git a/README.md b/README.md index 143e7fdc..95a3d66a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ **Requires at least:** 4.4 **Requires PHP:** 5.4 **Tested up to:** 6.4.1 -**Stable tag:** 1.6.18 +**Stable tag:** 1.6.19 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html @@ -140,6 +140,9 @@ This same applies when you are creating your Header/Footer using this plugin. ## Changelog ## +### 1.6.19 ### +- Fix: Header and Footer layout broken after last update. + ### 1.6.18 ### - Improvement: Compatibility with latest Elementor and Elementor Pro 3.18 version. - Improvement: Compatibility with WordPress VIP Go rules. diff --git a/header-footer-elementor.php b/header-footer-elementor.php index 6cd7e944..2a84bbc0 100644 --- a/header-footer-elementor.php +++ b/header-footer-elementor.php @@ -7,14 +7,14 @@ * Author URI: https://www.brainstormforce.com/ * Text Domain: header-footer-elementor * Domain Path: /languages - * Version: 1.6.18 + * Version: 1.6.19 * Elementor tested up to: 3.18 * Elementor Pro tested up to: 3.18 * * @package header-footer-elementor */ -define( 'HFE_VER', '1.6.18' ); +define( 'HFE_VER', '1.6.19' ); define( 'HFE_FILE', __FILE__ ); define( 'HFE_DIR', plugin_dir_path( __FILE__ ) ); define( 'HFE_URL', plugins_url( '/', __FILE__ ) ); diff --git a/inc/class-header-footer-elementor.php b/inc/class-header-footer-elementor.php index cbaae0c5..21db694d 100644 --- a/inc/class-header-footer-elementor.php +++ b/inc/class-header-footer-elementor.php @@ -155,7 +155,7 @@ public function register_notices() { 'type' => '', 'message' => sprintf( '
-
+
%2$s @@ -508,7 +508,7 @@ public function setup_fallback_support() { */ public static function get_header_content() { $header_content = self::$elementor_instance->frontend->get_builder_content_for_display( get_hfe_header_id() ); - echo wp_kses_post( $header_content ); + echo $header_content; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /** @@ -516,7 +516,7 @@ public static function get_header_content() { */ public static function get_footer_content() { echo "'; } @@ -525,7 +525,7 @@ public static function get_footer_content() { */ public static function get_before_footer_content() { echo "'; } diff --git a/inc/widgets-manager/widgets/class-cart.php b/inc/widgets-manager/widgets/class-cart.php index 03e4ca13..635afd40 100644 --- a/inc/widgets-manager/widgets/class-cart.php +++ b/inc/widgets-manager/widgets/class-cart.php @@ -643,7 +643,7 @@ protected function render() { cart ) { ?> - cart->get_cart_subtotal() ); ?> + cart->get_cart_subtotal(); ?> diff --git a/inc/widgets-manager/widgets/class-navigation-menu.php b/inc/widgets-manager/widgets/class-navigation-menu.php index 53ba84a6..9059d2cb 100644 --- a/inc/widgets-manager/widgets/class-navigation-menu.php +++ b/inc/widgets-manager/widgets/class-navigation-menu.php @@ -2016,7 +2016,7 @@ protected function render() { $this->add_render_attribute( 'hfe-nav-menu', 'data-full-width', $settings['full_width_dropdown'] ); ?> -
get_render_attribute_string( 'hfe-main-menu' ) ); ?>> +
get_render_attribute_string( 'hfe-main-menu' ); ?>>
@@ -2026,7 +2026,7 @@ protected function render() { ?>
- +
" method="get">
- get_render_attribute_string( 'input' ) ); ?>> + get_render_attribute_string( 'input' ); ?>>
-
get_render_attribute_string( 'container' ) ); ?>> +
get_render_attribute_string( 'container' ); ?>> - get_render_attribute_string( 'input' ) ); ?>> + get_render_attribute_string( 'input' ); ?>> - get_render_attribute_string( 'input' ) ); ?>> + get_render_attribute_string( 'input' ); ?>> diff --git a/inc/widgets-manager/widgets/class-site-logo.php b/inc/widgets-manager/widgets/class-site-logo.php index 8777c55d..3b85ba9d 100644 --- a/inc/widgets-manager/widgets/class-site-logo.php +++ b/inc/widgets-manager/widgets/class-site-logo.php @@ -756,7 +756,7 @@ protected function render() { $class = 'elementor-non-clickable'; } ?> - get_render_attribute_string( 'link' ) ); ?>> + get_render_attribute_string( 'link' ); ?>>