Plugin Directory

Changeset 3089411


Ignore:
Timestamp:
05/20/2024 11:59:19 AM (23 months ago)
Author:
Nikschavan
Message:

Update to version 1.6.32 from GitHub

Location:
header-footer-elementor
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • header-footer-elementor/tags/1.6.32/admin/class-hfe-admin.php

    r3071514 r3089411  
    221221     */
    222222    public function header_footer_posttype() {
     223        if ( ! ( is_admin() && current_user_can( 'manage_options' ) ) ) {
     224            return;
     225        }
    223226        $labels = [
    224227            'name'               => esc_html__( 'Elementor Header & Footer Builder', 'header-footer-elementor' ),
     
    305308                <tr class="hfe-options-row type-of-template">
    306309                    <td class="hfe-options-row-heading">
    307                         <label for="ehf_template_type"><?php _e( 'Type of Template', 'header-footer-elementor' ); ?></label>
     310                        <label for="ehf_template_type"><?php esc_html_e( 'Type of Template', 'header-footer-elementor' ); ?></label>
    308311                    </td>
    309312                    <td class="hfe-options-row-content">
    310313                        <select name="ehf_template_type" id="ehf_template_type">
    311                             <option value="" <?php selected( $template_type, '' ); ?>><?php _e( 'Select Option', 'header-footer-elementor' ); ?></option>
    312                             <option value="type_header" <?php selected( $template_type, 'type_header' ); ?>><?php _e( 'Header', 'header-footer-elementor' ); ?></option>
    313                             <option value="type_before_footer" <?php selected( $template_type, 'type_before_footer' ); ?>><?php _e( 'Before Footer', 'header-footer-elementor' ); ?></option>
    314                             <option value="type_footer" <?php selected( $template_type, 'type_footer' ); ?>><?php _e( 'Footer', 'header-footer-elementor' ); ?></option>
    315                             <option value="custom" <?php selected( $template_type, 'custom' ); ?>><?php _e( 'Custom Block', 'header-footer-elementor' ); ?></option>
     314                            <option value="" <?php selected( $template_type, '' ); ?>><?php esc_html_e( 'Select Option', 'header-footer-elementor' ); ?></option>
     315                            <option value="type_header" <?php selected( $template_type, 'type_header' ); ?>><?php esc_html_e( 'Header', 'header-footer-elementor' ); ?></option>
     316                            <option value="type_before_footer" <?php selected( $template_type, 'type_before_footer' ); ?>><?php esc_html_e( 'Before Footer', 'header-footer-elementor' ); ?></option>
     317                            <option value="type_footer" <?php selected( $template_type, 'type_footer' ); ?>><?php esc_html_e( 'Footer', 'header-footer-elementor' ); ?></option>
     318                            <option value="custom" <?php selected( $template_type, 'custom' ); ?>><?php esc_html_e( 'Custom Block', 'header-footer-elementor' ); ?></option>
    316319                        </select>
    317320                    </td>
     
    321324                <tr class="hfe-options-row hfe-shortcode">
    322325                    <td class="hfe-options-row-heading">
    323                         <label for="ehf_template_type"><?php _e( 'Shortcode', 'header-footer-elementor' ); ?></label>
    324                         <i class="hfe-options-row-heading-help dashicons dashicons-editor-help" title="<?php _e( 'Copy this shortcode and paste it into your post, page, or text widget content.', 'header-footer-elementor' ); ?>">
     326                        <label for="ehf_template_type"><?php esc_html_e( 'Shortcode', 'header-footer-elementor' ); ?></label>
     327                        <i class="hfe-options-row-heading-help dashicons dashicons-editor-help" title="<?php esc_attr_e( 'Copy this shortcode and paste it into your post, page, or text widget content.', 'header-footer-elementor' ); ?>">
    325328                        </i>
    326329                    </td>
     
    334337                    <td class="hfe-options-row-heading">
    335338                        <label for="display-on-canvas-template">
    336                             <?php _e( 'Enable Layout for Elementor Canvas Template?', 'header-footer-elementor' ); ?>
     339                            <?php esc_html_e( 'Enable Layout for Elementor Canvas Template?', 'header-footer-elementor' ); ?>
    337340                        </label>
    338                         <i class="hfe-options-row-heading-help dashicons dashicons-editor-help" title="<?php _e( 'Enabling this option will display this layout on pages using Elementor Canvas Template.', 'header-footer-elementor' ); ?>"></i>
     341                        <i class="hfe-options-row-heading-help dashicons dashicons-editor-help" title="<?php esc_attr_e( 'Enabling this option will display this layout on pages using Elementor Canvas Template.', 'header-footer-elementor' ); ?>"></i>
    339342                    </td>
    340343                    <td class="hfe-options-row-content">
  • header-footer-elementor/tags/1.6.32/header-footer-elementor.php

    r3086835 r3089411  
    88 * Text Domain: header-footer-elementor
    99 * Domain Path: /languages
    10  * Version: 1.6.31
     10 * Version: 1.6.32
    1111 * Elementor tested up to: 3.21
    1212 * Elementor Pro tested up to: 3.21
     
    1515 */
    1616
    17 define( 'HFE_VER', '1.6.31' );
     17define( 'HFE_VER', '1.6.32' );
    1818define( 'HFE_FILE', __FILE__ );
    1919define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
  • header-footer-elementor/tags/1.6.32/inc/class-hfe-settings-page.php

    r3086573 r3089411  
    132132     */
    133133    public function hfe_compatibility_callback() {
    134         _e( 'The Elementor Header & Footer Builder plugin need compatibility with your current theme to work smoothly.</br></br>Following are two methods that enable theme support for the plugin.</br></br>Method 1 is selected by default and that works fine almost will all themes. In case, you face any issue with the header or footer template, try choosing Method 2.', 'header-footer-elementor' );
     134        esc_html_e( 'The Elementor Header & Footer Builder plugin need compatibility with your current theme to work smoothly.</br></br>Following are two methods that enable theme support for the plugin.</br></br>Method 1 is selected by default and that works fine almost will all themes. In case, you face any issue with the header or footer template, try choosing Method 2.', 'header-footer-elementor' );
    135135    }
    136136
     
    522522        return [
    523523            'theme_name'  => $theme_name,
     524            /* translators: %s: theme name */
    524525            'description' => ! empty( $white_labels['astra']['description'] ) ? $white_labels['astra']['description'] : esc_html( sprintf( __( 'Powering over 1+ Million websites, %s is loved for the fast performance and ease of use it offers. It is suitable for all kinds of websites like blogs, portfolios, business, and WooCommerce stores.', 'header-footer-elementor' ), esc_html( $theme_name ) ) ),
    525526            'theme_icon'  => ! empty( $white_labels['astra']['icon'] ) ? $white_labels['astra']['icon'] : '',
     
    550551                <p><?php esc_html_e( 'Trusted by more than 1+ Million users, Elementor Header & Footer Builder is a modern way to build advanced navigation for your website.', 'header-footer-elementor' ); ?></p>
    551552
     553                <?php /* translators: %s: theme name */ ?>
    552554                <p><?php printf( esc_html__( 'This plugin is brought to you by the same team behind the popular WordPress theme %s and a series of Ultimate Addons plugins.', 'header-footer-elementor' ), esc_html( $white_labels['theme_name'] ) ); ?>
    553555
  • header-footer-elementor/tags/1.6.32/inc/widgets-manager/class-widgets-loader.php

    r3086835 r3089411  
    188188     */
    189189    public function sanitize_svg( $file_path ) {
    190         if ( ! class_exists('\enshrined\svgSanitize\Sanitizer')) {
     190        if ( ! class_exists( '\enshrined\svgSanitize\Sanitizer' ) ) {
    191191            return;
    192192        }
  • header-footer-elementor/tags/1.6.32/inc/widgets-manager/widgets/class-cart.php

    r3016959 r3089411  
    649649                                <i class="eicon" aria-hidden="true"></i>
    650650                                <span class="elementor-screen-only">
    651                                     <?php _e( 'Cart', 'header-footer-elementor' ); ?>
     651                                    <?php esc_html_e( 'Cart', 'header-footer-elementor' ); ?>
    652652                                </span>
    653653                            </span>
  • header-footer-elementor/tags/1.6.32/readme.txt

    r3086835 r3089411  
    66Requires PHP: 5.4
    77Tested up to: 6.5
    8 Stable tag: 1.6.31
     8Stable tag: 1.6.32
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    141141== Changelog ==
    142142
     143= 1.6.32 =
     144- Fix: Improved plugin security.
     145
    143146= 1.6.31 =
    144147- Fix: Conflict with WP SVG Images plugin.
  • header-footer-elementor/trunk/admin/class-hfe-admin.php

    r3071514 r3089411  
    221221     */
    222222    public function header_footer_posttype() {
     223        if ( ! ( is_admin() && current_user_can( 'manage_options' ) ) ) {
     224            return;
     225        }
    223226        $labels = [
    224227            'name'               => esc_html__( 'Elementor Header & Footer Builder', 'header-footer-elementor' ),
     
    305308                <tr class="hfe-options-row type-of-template">
    306309                    <td class="hfe-options-row-heading">
    307                         <label for="ehf_template_type"><?php _e( 'Type of Template', 'header-footer-elementor' ); ?></label>
     310                        <label for="ehf_template_type"><?php esc_html_e( 'Type of Template', 'header-footer-elementor' ); ?></label>
    308311                    </td>
    309312                    <td class="hfe-options-row-content">
    310313                        <select name="ehf_template_type" id="ehf_template_type">
    311                             <option value="" <?php selected( $template_type, '' ); ?>><?php _e( 'Select Option', 'header-footer-elementor' ); ?></option>
    312                             <option value="type_header" <?php selected( $template_type, 'type_header' ); ?>><?php _e( 'Header', 'header-footer-elementor' ); ?></option>
    313                             <option value="type_before_footer" <?php selected( $template_type, 'type_before_footer' ); ?>><?php _e( 'Before Footer', 'header-footer-elementor' ); ?></option>
    314                             <option value="type_footer" <?php selected( $template_type, 'type_footer' ); ?>><?php _e( 'Footer', 'header-footer-elementor' ); ?></option>
    315                             <option value="custom" <?php selected( $template_type, 'custom' ); ?>><?php _e( 'Custom Block', 'header-footer-elementor' ); ?></option>
     314                            <option value="" <?php selected( $template_type, '' ); ?>><?php esc_html_e( 'Select Option', 'header-footer-elementor' ); ?></option>
     315                            <option value="type_header" <?php selected( $template_type, 'type_header' ); ?>><?php esc_html_e( 'Header', 'header-footer-elementor' ); ?></option>
     316                            <option value="type_before_footer" <?php selected( $template_type, 'type_before_footer' ); ?>><?php esc_html_e( 'Before Footer', 'header-footer-elementor' ); ?></option>
     317                            <option value="type_footer" <?php selected( $template_type, 'type_footer' ); ?>><?php esc_html_e( 'Footer', 'header-footer-elementor' ); ?></option>
     318                            <option value="custom" <?php selected( $template_type, 'custom' ); ?>><?php esc_html_e( 'Custom Block', 'header-footer-elementor' ); ?></option>
    316319                        </select>
    317320                    </td>
     
    321324                <tr class="hfe-options-row hfe-shortcode">
    322325                    <td class="hfe-options-row-heading">
    323                         <label for="ehf_template_type"><?php _e( 'Shortcode', 'header-footer-elementor' ); ?></label>
    324                         <i class="hfe-options-row-heading-help dashicons dashicons-editor-help" title="<?php _e( 'Copy this shortcode and paste it into your post, page, or text widget content.', 'header-footer-elementor' ); ?>">
     326                        <label for="ehf_template_type"><?php esc_html_e( 'Shortcode', 'header-footer-elementor' ); ?></label>
     327                        <i class="hfe-options-row-heading-help dashicons dashicons-editor-help" title="<?php esc_attr_e( 'Copy this shortcode and paste it into your post, page, or text widget content.', 'header-footer-elementor' ); ?>">
    325328                        </i>
    326329                    </td>
     
    334337                    <td class="hfe-options-row-heading">
    335338                        <label for="display-on-canvas-template">
    336                             <?php _e( 'Enable Layout for Elementor Canvas Template?', 'header-footer-elementor' ); ?>
     339                            <?php esc_html_e( 'Enable Layout for Elementor Canvas Template?', 'header-footer-elementor' ); ?>
    337340                        </label>
    338                         <i class="hfe-options-row-heading-help dashicons dashicons-editor-help" title="<?php _e( 'Enabling this option will display this layout on pages using Elementor Canvas Template.', 'header-footer-elementor' ); ?>"></i>
     341                        <i class="hfe-options-row-heading-help dashicons dashicons-editor-help" title="<?php esc_attr_e( 'Enabling this option will display this layout on pages using Elementor Canvas Template.', 'header-footer-elementor' ); ?>"></i>
    339342                    </td>
    340343                    <td class="hfe-options-row-content">
  • header-footer-elementor/trunk/header-footer-elementor.php

    r3086835 r3089411  
    88 * Text Domain: header-footer-elementor
    99 * Domain Path: /languages
    10  * Version: 1.6.31
     10 * Version: 1.6.32
    1111 * Elementor tested up to: 3.21
    1212 * Elementor Pro tested up to: 3.21
     
    1515 */
    1616
    17 define( 'HFE_VER', '1.6.31' );
     17define( 'HFE_VER', '1.6.32' );
    1818define( 'HFE_FILE', __FILE__ );
    1919define( 'HFE_DIR', plugin_dir_path( __FILE__ ) );
  • header-footer-elementor/trunk/inc/class-hfe-settings-page.php

    r3086573 r3089411  
    132132     */
    133133    public function hfe_compatibility_callback() {
    134         _e( 'The Elementor Header & Footer Builder plugin need compatibility with your current theme to work smoothly.</br></br>Following are two methods that enable theme support for the plugin.</br></br>Method 1 is selected by default and that works fine almost will all themes. In case, you face any issue with the header or footer template, try choosing Method 2.', 'header-footer-elementor' );
     134        esc_html_e( 'The Elementor Header & Footer Builder plugin need compatibility with your current theme to work smoothly.</br></br>Following are two methods that enable theme support for the plugin.</br></br>Method 1 is selected by default and that works fine almost will all themes. In case, you face any issue with the header or footer template, try choosing Method 2.', 'header-footer-elementor' );
    135135    }
    136136
     
    522522        return [
    523523            'theme_name'  => $theme_name,
     524            /* translators: %s: theme name */
    524525            'description' => ! empty( $white_labels['astra']['description'] ) ? $white_labels['astra']['description'] : esc_html( sprintf( __( 'Powering over 1+ Million websites, %s is loved for the fast performance and ease of use it offers. It is suitable for all kinds of websites like blogs, portfolios, business, and WooCommerce stores.', 'header-footer-elementor' ), esc_html( $theme_name ) ) ),
    525526            'theme_icon'  => ! empty( $white_labels['astra']['icon'] ) ? $white_labels['astra']['icon'] : '',
     
    550551                <p><?php esc_html_e( 'Trusted by more than 1+ Million users, Elementor Header & Footer Builder is a modern way to build advanced navigation for your website.', 'header-footer-elementor' ); ?></p>
    551552
     553                <?php /* translators: %s: theme name */ ?>
    552554                <p><?php printf( esc_html__( 'This plugin is brought to you by the same team behind the popular WordPress theme %s and a series of Ultimate Addons plugins.', 'header-footer-elementor' ), esc_html( $white_labels['theme_name'] ) ); ?>
    553555
  • header-footer-elementor/trunk/inc/widgets-manager/class-widgets-loader.php

    r3086835 r3089411  
    188188     */
    189189    public function sanitize_svg( $file_path ) {
    190         if ( ! class_exists('\enshrined\svgSanitize\Sanitizer')) {
     190        if ( ! class_exists( '\enshrined\svgSanitize\Sanitizer' ) ) {
    191191            return;
    192192        }
  • header-footer-elementor/trunk/inc/widgets-manager/widgets/class-cart.php

    r3016959 r3089411  
    649649                                <i class="eicon" aria-hidden="true"></i>
    650650                                <span class="elementor-screen-only">
    651                                     <?php _e( 'Cart', 'header-footer-elementor' ); ?>
     651                                    <?php esc_html_e( 'Cart', 'header-footer-elementor' ); ?>
    652652                                </span>
    653653                            </span>
  • header-footer-elementor/trunk/readme.txt

    r3086835 r3089411  
    66Requires PHP: 5.4
    77Tested up to: 6.5
    8 Stable tag: 1.6.31
     8Stable tag: 1.6.32
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    141141== Changelog ==
    142142
     143= 1.6.32 =
     144- Fix: Improved plugin security.
     145
    143146= 1.6.31 =
    144147- Fix: Conflict with WP SVG Images plugin.
Note: See TracChangeset for help on using the changeset viewer.