Changeset 3016959
- Timestamp:
- 01/03/2024 12:39:45 PM (2 years ago)
- Location:
- header-footer-elementor
- Files:
-
- 18 edited
- 1 copied
-
tags/1.6.23 (copied) (copied from header-footer-elementor/trunk)
-
tags/1.6.23/admin/class-hfe-admin.php (modified) (1 diff)
-
tags/1.6.23/header-footer-elementor.php (modified) (2 diffs)
-
tags/1.6.23/inc/class-hfe-settings-page.php (modified) (1 diff)
-
tags/1.6.23/inc/widgets-manager/widgets/class-cart.php (modified) (2 diffs)
-
tags/1.6.23/inc/widgets-manager/widgets/class-navigation-menu.php (modified) (4 diffs)
-
tags/1.6.23/inc/widgets-manager/widgets/class-retina.php (modified) (2 diffs)
-
tags/1.6.23/inc/widgets-manager/widgets/class-search-button.php (modified) (1 diff)
-
tags/1.6.23/inc/widgets-manager/widgets/class-site-logo.php (modified) (2 diffs)
-
tags/1.6.23/readme.txt (modified) (2 diffs)
-
trunk/admin/class-hfe-admin.php (modified) (1 diff)
-
trunk/header-footer-elementor.php (modified) (2 diffs)
-
trunk/inc/class-hfe-settings-page.php (modified) (1 diff)
-
trunk/inc/widgets-manager/widgets/class-cart.php (modified) (2 diffs)
-
trunk/inc/widgets-manager/widgets/class-navigation-menu.php (modified) (4 diffs)
-
trunk/inc/widgets-manager/widgets/class-retina.php (modified) (2 diffs)
-
trunk/inc/widgets-manager/widgets/class-search-button.php (modified) (1 diff)
-
trunk/inc/widgets-manager/widgets/class-site-logo.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
header-footer-elementor/tags/1.6.23/admin/class-hfe-admin.php
r3003681 r3016959 73 73 private function __construct() { 74 74 add_action( 'init', [ $this, 'header_footer_posttype' ] ); 75 add_action( 'admin_menu', [ $this, 'register_admin_menu' ], 50 ); 75 if ( is_admin() && current_user_can( 'manage_options' ) ) { 76 add_action( 'admin_menu', [ $this, 'register_admin_menu' ], 50 ); 77 } 76 78 add_action( 'add_meta_boxes', [ $this, 'ehf_register_metabox' ] ); 77 79 add_action( 'save_post', [ $this, 'ehf_save_meta' ] ); -
header-footer-elementor/tags/1.6.23/header-footer-elementor.php
r3009803 r3016959 8 8 * Text Domain: header-footer-elementor 9 9 * Domain Path: /languages 10 * Version: 1.6.2 210 * Version: 1.6.23 11 11 * Elementor tested up to: 3.18 12 12 * Elementor Pro tested up to: 3.18 … … 15 15 */ 16 16 17 define( 'HFE_VER', '1.6.2 2' );17 define( 'HFE_VER', '1.6.23' ); 18 18 define( 'HFE_FILE', __FILE__ ); 19 19 define( 'HFE_DIR', plugin_dir_path( __FILE__ ) ); -
header-footer-elementor/tags/1.6.23/inc/class-hfe-settings-page.php
r3003681 r3016959 25 25 public function __construct() { 26 26 add_action( 'admin_head', [ $this, 'hfe_global_css' ] ); 27 add_action( 'admin_menu', [ $this, 'hfe_register_settings_page' ] ); 27 if ( is_admin() && current_user_can( 'manage_options' ) ) { 28 add_action( 'admin_menu', [ $this, 'hfe_register_settings_page' ] ); 29 } 28 30 add_action( 'admin_init', [ $this, 'hfe_admin_init' ] ); 29 31 add_filter( 'views_edit-elementor-hf', [ $this, 'hfe_settings' ], 10, 1 ); -
header-footer-elementor/tags/1.6.23/inc/widgets-manager/widgets/class-cart.php
r3005113 r3016959 631 631 <?php if ( null !== WC()->cart ) { ?> 632 632 <span class="hfe-cart-count"> 633 <?php echo ( WC()->cart->get_cart_contents_count() ); ?>633 <?php echo esc_html( WC()->cart->get_cart_contents_count() ); ?> 634 634 </span> 635 635 <?php } ?> … … 639 639 } else { 640 640 ?> 641 642 641 <div class="hfe-menu-cart__toggle elementor-button-wrapper"> 643 642 <a id="hfe-menu-cart__toggle_button" href="<?php echo esc_url( wc_get_cart_url() ); ?>" class="elementor-button hfe-cart-container"> 644 643 <?php if ( null !== WC()->cart ) { ?> 645 644 <span class="elementor-button-text hfe-subtotal"> 646 <?php echo WC()->cart->get_cart_subtotal(); ?>645 <?php echo wp_kses_post( WC()->cart->get_cart_subtotal() ); ?> 647 646 </span> 648 647 <?php } ?> -
header-footer-elementor/tags/1.6.23/inc/widgets-manager/widgets/class-navigation-menu.php
r3004241 r3016959 1948 1948 </div> 1949 1949 </div> 1950 <div <?php echo wp_kses_post( $this->get_render_attribute_string( 'hfe-flyout' )); ?> >1950 <div <?php $this->print_render_attribute_string( 'hfe-flyout' ); ?> > 1951 1951 <div class="hfe-flyout-overlay elementor-clickable"></div> 1952 1952 <div class="hfe-flyout-container"> 1953 1953 <div id="hfe-flyout-content-id-<?php echo esc_attr( $this->get_id() ); ?>" class="hfe-side hfe-flyout-<?php echo esc_attr( $settings['flyout_layout'] ); ?> hfe-flyout-open" data-layout="<?php echo wp_kses_post( $settings['flyout_layout'] ); ?>" data-flyout-type="<?php echo wp_kses_post( $settings['flyout_type'] ); ?>"> 1954 1954 <div class="hfe-flyout-content push"> 1955 <nav <?php echo wp_kses_post( $this->get_render_attribute_string( 'hfe-nav-menu' ) ); ?>><?php echo ( $menu_html ); ?></nav> 1955 <nav <?php $this->print_render_attribute_string( 'hfe-nav-menu' ); ?>> 1956 <?php echo wp_kses_post( $menu_html ); ?> 1957 </nav> 1956 1958 <div class="elementor-clickable hfe-flyout-close" tabindex="0"> 1957 1959 <?php echo isset( $menu_close_icons[1] ) ? $menu_close_icons[1] : ''; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> … … 2017 2019 2018 2020 ?> 2019 <div <?php echo $this->get_render_attribute_string( 'hfe-main-menu' ); ?>>2021 <div <?php $this->print_render_attribute_string( 'hfe-main-menu' ); ?>> 2020 2022 <div role="button" class="hfe-nav-menu__toggle elementor-clickable"> 2021 2023 <span class="screen-reader-text"><?php esc_html_e( 'Menu', 'header-footer-elementor' ); ?></span> … … 2027 2029 </div> 2028 2030 </div> 2029 <nav <?php echo $this->get_render_attribute_string( 'hfe-nav-menu' ); ?>><?php echo $menu_html; ?></nav> 2031 <nav <?php $this->print_render_attribute_string( 'hfe-nav-menu' ); ?>> 2032 <?php echo wp_kses_post( $menu_html ); ?> 2033 </nav> 2030 2034 </div> 2031 2035 <?php … … 2033 2037 } 2034 2038 } 2035 -
header-footer-elementor/tags/1.6.23/inc/widgets-manager/widgets/class-retina.php
r3009803 r3016959 705 705 706 706 ?> 707 <div <?php echo ( $this->get_render_attribute_string( 'wrapper' )); ?>>707 <div <?php $this->print_render_attribute_string( 'wrapper' ); ?>> 708 708 <?php if ( $has_caption ) : ?> 709 709 <figure class="wp-caption"> 710 710 <?php endif; ?> 711 711 <?php if ( $link ) : ?> 712 <a <?php echo ( $this->get_render_attribute_string( 'link' )); ?>>712 <a <?php $this->print_render_attribute_string( 'link' ); ?>> 713 713 <?php endif; ?> 714 714 <?php … … 805 805 <?php if ( ! empty( $caption_text ) ) : ?> 806 806 <div class="hfe-caption-width"> 807 <figcaption class="widget-image-caption wp-caption-text"><?php echo ( $caption_text ); ?></figcaption>807 <figcaption class="widget-image-caption wp-caption-text"><?php echo esc_html( $caption_text ); ?></figcaption> 808 808 </div> 809 809 <?php endif; ?> -
header-footer-elementor/tags/1.6.23/inc/widgets-manager/widgets/class-search-button.php
r3004048 r3016959 983 983 <?php if ( 'icon' === $settings['layout'] ) { ?> 984 984 <div class = "hfe-search-icon-toggle"> 985 <input <?php echo $this->get_render_attribute_string( 'input' ); ?>>985 <input <?php $this->print_render_attribute_string( 'input' ); ?>> 986 986 <i class="fas fa-search" aria-hidden="true"></i> 987 987 </div> 988 988 <?php } else { ?> 989 <div <?php echo $this->get_render_attribute_string( 'container' ); ?>>989 <div <?php $this->print_render_attribute_string( 'container' ); ?>> 990 990 <?php if ( 'text' === $settings['layout'] ) { ?> 991 <input <?php echo $this->get_render_attribute_string( 'input' ); ?>>991 <input <?php $this->print_render_attribute_string( 'input' ); ?>> 992 992 <button id="clear" type="reset"> 993 993 <i class="fas fa-times clearable__clear" aria-hidden="true"></i> 994 994 </button> 995 995 <?php } else { ?> 996 <input <?php echo $this->get_render_attribute_string( 'input' ); ?>>996 <input <?php $this->print_render_attribute_string( 'input' ); ?>> 997 997 <button id="clear-with-button" type="reset"> 998 998 <i class="fas fa-times" aria-hidden="true"></i> -
header-footer-elementor/tags/1.6.23/inc/widgets-manager/widgets/class-site-logo.php
r3005113 r3016959 747 747 } 748 748 ?> 749 <div <?php echo ( $this->get_render_attribute_string( 'wrapper' )); ?>>749 <div <?php $this->print_render_attribute_string( 'wrapper' ); ?>> 750 750 <?php if ( $has_caption ) : ?> 751 751 <figure class="wp-caption"> … … 757 757 } 758 758 ?> 759 <a data-elementor-open-lightbox="<?php echo esc_attr( $settings['open_lightbox'] ); ?>" class='<?php echo esc_attr( $class ); ?>' <?php echo $this->get_render_attribute_string( 'link' ); ?>>759 <a data-elementor-open-lightbox="<?php echo esc_attr( $settings['open_lightbox'] ); ?>" class='<?php echo esc_attr( $class ); ?>' <?php $this->print_render_attribute_string( 'link' ); ?>> 760 760 <?php endif; ?> 761 761 <?php -
header-footer-elementor/tags/1.6.23/readme.txt
r3009803 r3016959 6 6 Requires PHP: 5.4 7 7 Tested up to: 6.4.1 8 Stable tag: 1.6.2 28 Stable tag: 1.6.23 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 141 141 == Changelog == 142 142 143 = 1.6.23 = 144 - Fix: This update addressed a security bug. Props to WordPress Plugin Review Team and Plugin Vulnerabilities Team for reporting it to our team. Please make sure you are using the latest version on your website. 145 143 146 = 1.6.22 = 144 147 - Fix: Retina Image - Navigating to custom URL by clicking on images. -
header-footer-elementor/trunk/admin/class-hfe-admin.php
r3003681 r3016959 73 73 private function __construct() { 74 74 add_action( 'init', [ $this, 'header_footer_posttype' ] ); 75 add_action( 'admin_menu', [ $this, 'register_admin_menu' ], 50 ); 75 if ( is_admin() && current_user_can( 'manage_options' ) ) { 76 add_action( 'admin_menu', [ $this, 'register_admin_menu' ], 50 ); 77 } 76 78 add_action( 'add_meta_boxes', [ $this, 'ehf_register_metabox' ] ); 77 79 add_action( 'save_post', [ $this, 'ehf_save_meta' ] ); -
header-footer-elementor/trunk/header-footer-elementor.php
r3009803 r3016959 8 8 * Text Domain: header-footer-elementor 9 9 * Domain Path: /languages 10 * Version: 1.6.2 210 * Version: 1.6.23 11 11 * Elementor tested up to: 3.18 12 12 * Elementor Pro tested up to: 3.18 … … 15 15 */ 16 16 17 define( 'HFE_VER', '1.6.2 2' );17 define( 'HFE_VER', '1.6.23' ); 18 18 define( 'HFE_FILE', __FILE__ ); 19 19 define( 'HFE_DIR', plugin_dir_path( __FILE__ ) ); -
header-footer-elementor/trunk/inc/class-hfe-settings-page.php
r3003681 r3016959 25 25 public function __construct() { 26 26 add_action( 'admin_head', [ $this, 'hfe_global_css' ] ); 27 add_action( 'admin_menu', [ $this, 'hfe_register_settings_page' ] ); 27 if ( is_admin() && current_user_can( 'manage_options' ) ) { 28 add_action( 'admin_menu', [ $this, 'hfe_register_settings_page' ] ); 29 } 28 30 add_action( 'admin_init', [ $this, 'hfe_admin_init' ] ); 29 31 add_filter( 'views_edit-elementor-hf', [ $this, 'hfe_settings' ], 10, 1 ); -
header-footer-elementor/trunk/inc/widgets-manager/widgets/class-cart.php
r3005113 r3016959 631 631 <?php if ( null !== WC()->cart ) { ?> 632 632 <span class="hfe-cart-count"> 633 <?php echo ( WC()->cart->get_cart_contents_count() ); ?>633 <?php echo esc_html( WC()->cart->get_cart_contents_count() ); ?> 634 634 </span> 635 635 <?php } ?> … … 639 639 } else { 640 640 ?> 641 642 641 <div class="hfe-menu-cart__toggle elementor-button-wrapper"> 643 642 <a id="hfe-menu-cart__toggle_button" href="<?php echo esc_url( wc_get_cart_url() ); ?>" class="elementor-button hfe-cart-container"> 644 643 <?php if ( null !== WC()->cart ) { ?> 645 644 <span class="elementor-button-text hfe-subtotal"> 646 <?php echo WC()->cart->get_cart_subtotal(); ?>645 <?php echo wp_kses_post( WC()->cart->get_cart_subtotal() ); ?> 647 646 </span> 648 647 <?php } ?> -
header-footer-elementor/trunk/inc/widgets-manager/widgets/class-navigation-menu.php
r3004241 r3016959 1948 1948 </div> 1949 1949 </div> 1950 <div <?php echo wp_kses_post( $this->get_render_attribute_string( 'hfe-flyout' )); ?> >1950 <div <?php $this->print_render_attribute_string( 'hfe-flyout' ); ?> > 1951 1951 <div class="hfe-flyout-overlay elementor-clickable"></div> 1952 1952 <div class="hfe-flyout-container"> 1953 1953 <div id="hfe-flyout-content-id-<?php echo esc_attr( $this->get_id() ); ?>" class="hfe-side hfe-flyout-<?php echo esc_attr( $settings['flyout_layout'] ); ?> hfe-flyout-open" data-layout="<?php echo wp_kses_post( $settings['flyout_layout'] ); ?>" data-flyout-type="<?php echo wp_kses_post( $settings['flyout_type'] ); ?>"> 1954 1954 <div class="hfe-flyout-content push"> 1955 <nav <?php echo wp_kses_post( $this->get_render_attribute_string( 'hfe-nav-menu' ) ); ?>><?php echo ( $menu_html ); ?></nav> 1955 <nav <?php $this->print_render_attribute_string( 'hfe-nav-menu' ); ?>> 1956 <?php echo wp_kses_post( $menu_html ); ?> 1957 </nav> 1956 1958 <div class="elementor-clickable hfe-flyout-close" tabindex="0"> 1957 1959 <?php echo isset( $menu_close_icons[1] ) ? $menu_close_icons[1] : ''; //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> … … 2017 2019 2018 2020 ?> 2019 <div <?php echo $this->get_render_attribute_string( 'hfe-main-menu' ); ?>>2021 <div <?php $this->print_render_attribute_string( 'hfe-main-menu' ); ?>> 2020 2022 <div role="button" class="hfe-nav-menu__toggle elementor-clickable"> 2021 2023 <span class="screen-reader-text"><?php esc_html_e( 'Menu', 'header-footer-elementor' ); ?></span> … … 2027 2029 </div> 2028 2030 </div> 2029 <nav <?php echo $this->get_render_attribute_string( 'hfe-nav-menu' ); ?>><?php echo $menu_html; ?></nav> 2031 <nav <?php $this->print_render_attribute_string( 'hfe-nav-menu' ); ?>> 2032 <?php echo wp_kses_post( $menu_html ); ?> 2033 </nav> 2030 2034 </div> 2031 2035 <?php … … 2033 2037 } 2034 2038 } 2035 -
header-footer-elementor/trunk/inc/widgets-manager/widgets/class-retina.php
r3009803 r3016959 705 705 706 706 ?> 707 <div <?php echo ( $this->get_render_attribute_string( 'wrapper' )); ?>>707 <div <?php $this->print_render_attribute_string( 'wrapper' ); ?>> 708 708 <?php if ( $has_caption ) : ?> 709 709 <figure class="wp-caption"> 710 710 <?php endif; ?> 711 711 <?php if ( $link ) : ?> 712 <a <?php echo ( $this->get_render_attribute_string( 'link' )); ?>>712 <a <?php $this->print_render_attribute_string( 'link' ); ?>> 713 713 <?php endif; ?> 714 714 <?php … … 805 805 <?php if ( ! empty( $caption_text ) ) : ?> 806 806 <div class="hfe-caption-width"> 807 <figcaption class="widget-image-caption wp-caption-text"><?php echo ( $caption_text ); ?></figcaption>807 <figcaption class="widget-image-caption wp-caption-text"><?php echo esc_html( $caption_text ); ?></figcaption> 808 808 </div> 809 809 <?php endif; ?> -
header-footer-elementor/trunk/inc/widgets-manager/widgets/class-search-button.php
r3004048 r3016959 983 983 <?php if ( 'icon' === $settings['layout'] ) { ?> 984 984 <div class = "hfe-search-icon-toggle"> 985 <input <?php echo $this->get_render_attribute_string( 'input' ); ?>>985 <input <?php $this->print_render_attribute_string( 'input' ); ?>> 986 986 <i class="fas fa-search" aria-hidden="true"></i> 987 987 </div> 988 988 <?php } else { ?> 989 <div <?php echo $this->get_render_attribute_string( 'container' ); ?>>989 <div <?php $this->print_render_attribute_string( 'container' ); ?>> 990 990 <?php if ( 'text' === $settings['layout'] ) { ?> 991 <input <?php echo $this->get_render_attribute_string( 'input' ); ?>>991 <input <?php $this->print_render_attribute_string( 'input' ); ?>> 992 992 <button id="clear" type="reset"> 993 993 <i class="fas fa-times clearable__clear" aria-hidden="true"></i> 994 994 </button> 995 995 <?php } else { ?> 996 <input <?php echo $this->get_render_attribute_string( 'input' ); ?>>996 <input <?php $this->print_render_attribute_string( 'input' ); ?>> 997 997 <button id="clear-with-button" type="reset"> 998 998 <i class="fas fa-times" aria-hidden="true"></i> -
header-footer-elementor/trunk/inc/widgets-manager/widgets/class-site-logo.php
r3005113 r3016959 747 747 } 748 748 ?> 749 <div <?php echo ( $this->get_render_attribute_string( 'wrapper' )); ?>>749 <div <?php $this->print_render_attribute_string( 'wrapper' ); ?>> 750 750 <?php if ( $has_caption ) : ?> 751 751 <figure class="wp-caption"> … … 757 757 } 758 758 ?> 759 <a data-elementor-open-lightbox="<?php echo esc_attr( $settings['open_lightbox'] ); ?>" class='<?php echo esc_attr( $class ); ?>' <?php echo $this->get_render_attribute_string( 'link' ); ?>>759 <a data-elementor-open-lightbox="<?php echo esc_attr( $settings['open_lightbox'] ); ?>" class='<?php echo esc_attr( $class ); ?>' <?php $this->print_render_attribute_string( 'link' ); ?>> 760 760 <?php endif; ?> 761 761 <?php -
header-footer-elementor/trunk/readme.txt
r3009803 r3016959 6 6 Requires PHP: 5.4 7 7 Tested up to: 6.4.1 8 Stable tag: 1.6.2 28 Stable tag: 1.6.23 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 141 141 == Changelog == 142 142 143 = 1.6.23 = 144 - Fix: This update addressed a security bug. Props to WordPress Plugin Review Team and Plugin Vulnerabilities Team for reporting it to our team. Please make sure you are using the latest version on your website. 145 143 146 = 1.6.22 = 144 147 - Fix: Retina Image - Navigating to custom URL by clicking on images.
Note: See TracChangeset
for help on using the changeset viewer.