Plugin Directory

Changeset 3383539


Ignore:
Timestamp:
10/23/2025 03:10:29 PM (5 months ago)
Author:
themelooks
Message:

2.2.8

  • Enhanced overall security measures
  • Resolved XSS vulnerability in Countdown widget
  • Resolved XSS vulnerability in Image Comparison widget
Location:
enteraddons
Files:
797 added
100 edited

Legend:

Unmodified
Added
Removed
  • enteraddons/trunk/admin/admin-templates/Admin_Templates_Map.php

    r2964090 r3383539  
    4141            echo '<div class="enteraddons-wrapper"><form id="enteraddons_settings_from" action="" method="post">';
    4242
    43                 // check if the user have submitted the settings
    44                 if ( isset( $_GET['settings-updated'] ) ) {
    45                 // add settings saved message with the class of "updated"
    46                 add_settings_error( 'enteraddons_messages', 'enteraddons_message', esc_html__( 'Settings Saved', 'enteraddons' ), 'updated' );
    47                 }
    4843                //
    4944                settings_fields( 'enteraddons_settings_option_group' );
     
    6863                    $this->premium_tab_content();
    6964                echo '</div>';
     65                wp_nonce_field( 'enteraddons_settings_nonce_action', 'enteraddons_settings_nonce' );
     66
    7067                // Save Buton
    7168                $this->save_button();
  • enteraddons/trunk/admin/assets/js/admin-ajax.js

    r2865101 r3383539  
    2121      data: {
    2222        action: 'settings_data_save_action',
    23         data: $(this).serialize(),
    24         nonce: enteraddonsAdmin.nonce
     23        data: $(this).serialize()
    2524      },
    2625      beforeSend: function(){
  • enteraddons/trunk/admin/inc/Admin_Ajax_handler.php

    r2819736 r3383539  
    4141            }
    4242
    43             // Verifies the Ajax request
    44             if( !check_ajax_referer( 'enteraddons-settings-data-save', 'nonce' ) ) {
    45                 wp_send_json_error();
    46             }
    47            
    48             $getPostedData = !empty( $_POST['data'] ) ? $_POST['data'] : '';
     43            // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
     44            $getPostedData = !empty( $_POST['data'] ) ? wp_unslash( $_POST['data'] ) : '';
    4945
    5046            $data = array();
    5147            parse_str( $getPostedData, $data );
     48
     49            if( isset( $data['enteraddons_settings_nonce'] ) &&  !wp_verify_nonce( wp_unslash( $data['enteraddons_settings_nonce'] ), 'enteraddons_settings_nonce_action' ) ) {
     50                wp_send_json_error();
     51            }
    5252
    5353            $getData['widgets'] = isset( $data['enteraddons_widgets'] ) && is_array( $data['enteraddons_widgets'] ) ? array_map( 'sanitize_text_field', $data['enteraddons_widgets'] ) : [];
     
    5858           
    5959            update_option( ENTERADDONS_OPTION_KEY,  $getData );
     60
     61            // Add WordPress admin notice
     62            add_settings_error( 'enteraddons_messages', 'enteraddons_message', esc_html__( 'Settings Saved', 'enteraddons' ), 'updated' );
     63
     64
    6065            wp_send_json_success();
    6166
  • enteraddons/trunk/admin/inc/Admin_Notices.php

    r3087147 r3383539  
    137137                        <?php
    138138                        if( !empty( $data['promotion_notices_meta']['title_Top'] ) ) {
     139                            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    139140                            echo '<h2>'.\Enteraddons\Classes\Helper::allowFormattingTagHtml( $data['promotion_notices_meta']['title_Top'] ).'</h2>';
    140141                        }
    141142                        //
    142143                        if( !empty( $data['promotion_notices_meta']['title_bottom'] ) ) {
     144                            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    143145                            echo '<h4>'.\Enteraddons\Classes\Helper::allowFormattingTagHtml( $data['promotion_notices_meta']['title_bottom'] ).'</h4>';
    144146                        }
  • enteraddons/trunk/assets/js/enteraddons.js

    r2956712 r3383539  
    9090            let $t          = $(e.target),
    9191                $getEmail   = $t.find('.newsletter-email-input').val(),
     92                $nonce   = $t.find('[name="enteraddons_newsletter_nonce"]').val(),
    9293                $listId     = $t.data('list-id');
    9394
     
    99100                  email: $getEmail,
    100101                  list_id: $listId,
     102                  nonce_id: $nonce,
    101103                  action: 'mailchimp_action_fire'
    102104                },
  • enteraddons/trunk/classes/Ajax_Handler.php

    r3087147 r3383539  
    2424
    2525        public static function mailchimp_ajax_maping() {
     26
     27            if( !isset( $_POST['nonce_id'] ) || !wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce_id'] ) ), 'enteraddons_newsletter_nonce_action'  ) ) {
     28                echo wp_json_encode( [ 'status' => false, 'type' => 'danger', 'msg' => esc_html__( 'Invalid request.', 'enteraddons' ) ] );
     29                wp_die();
     30            }
     31
     32
    2633            $msg = [];
    2734            $getKey = get_option(ENTERADDONS_OPTION_KEY);
     
    3643            // List Id Check
    3744            if( !empty( $_POST['list_id'] ) ) {
    38                 $listid = sanitize_text_field( $_POST['list_id'] );
     45                $listid = sanitize_text_field( wp_unslash( $_POST['list_id'] ) );
    3946            } else {
    4047                echo wp_json_encode( [ 'status' => false, 'type' => 'danger', 'msg' => esc_html__( 'Mailchimp list ID missing.', 'enteraddons' ) ] );
     
    4249            }
    4350            // Mail Id Check
    44             if( !empty( $_POST['email'] ) && filter_var( $_POST['email'], FILTER_VALIDATE_EMAIL ) ){
    45                 $email = sanitize_email( $_POST['email'] );
     51            if( !empty( $_POST['email'] ) && filter_var( wp_unslash( $_POST['email'] ), FILTER_VALIDATE_EMAIL ) ){
     52                $email = sanitize_email( wp_unslash( $_POST['email'] ) );
    4653            } else {
    4754                echo wp_json_encode( [ 'status' => false, 'type' => 'danger', 'msg' => esc_html__( 'Please enter valid mail ID.', 'enteraddons' ) ] );
  • enteraddons/trunk/classes/Breadcrumbs.php

    r2837250 r3383539  
    125125            woocommerce_breadcrumb( $a );
    126126        } else {
     127            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    127128           echo apply_filters( 'ea_breadcrumbs_filter', $html );
    128129        }
  • enteraddons/trunk/classes/Meta_Base.php

    r2953298 r3383539  
    5454
    5555            foreach( $fields as $val ) {
    56                 $key = $val['name'];
     56                $key = sanitize_text_field( $val['name'] );
    5757                $getVal = '';
    5858                if( !empty( $_POST[$key] ) ) {
    59                     $getVal = $_POST[$key];
     59                    $getVal = wp_unslash( $_POST[$key] );
    6060                }
     61               
    6162                update_post_meta( absint( $post_id ), $key, $getVal );
    6263            }
  • enteraddons/trunk/core/libs/editor/editor.php

    r2890100 r3383539  
    107107                ob_start();
    108108                include_once( $folder.'/'.$name.'.php' );
    109                 echo '<script id="enteraddons-'.esc_attr( $name ).'" type="text/html">'.ob_get_clean().'</script>';
     109                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     110                echo '<script id="enteraddons-'.esc_attr( $name ).'" type="text/html">'. ob_get_clean() .'</script>';
    110111            }
    111112        }
     
    130131        //
    131132        if( !empty( $response['body'] ) ) {
     133            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    132134            echo apply_filters( 'enteraddons_library_data', $response['body'] );
    133135        }
  • enteraddons/trunk/core/libs/editor/inc/class-source-base.php

    r2890100 r3383539  
    5252       
    5353        if( empty( $getdata[0] ) || empty( $getdata[0]['content'] ) ) {
    54             throw new \Exception( __( 'Template does not have any content', 'enteraddons' ) );
     54            throw new \Exception( esc_html__( 'Template does not have any content', 'enteraddons' ) );
    5555        }
    5656
  • enteraddons/trunk/core/settingsfields/Checkbox.php

    r3087147 r3383539  
    6262        <div class="eap-admin-field <?php echo esc_attr( $wrapTypeClass ); ?>" data-condition="<?php echo esc_html($conditionData); ?>">
    6363            <h4><?php echo esc_html( $args['title'] ); ?></h4>
     64           
    6465            <div class="fb-field-group">
    65             <input type="checkbox" value="yes" name="<?php echo $fieldName; ?>" <?php checked( esc_html( $value ), 'yes'  ); ?>  />
     66            <input type="checkbox" value="yes" name="<?php echo esc_attr( $fieldName ); ?>" <?php checked( esc_html( $value ), 'yes'  ); ?>  />
    6667            <?php
    6768            if( !empty( $args['description'] ) ) {
  • enteraddons/trunk/core/settingsfields/Colorpicker.php

    r3087147 r3383539  
    6363            <h4><?php echo esc_html( $args['title'] ); ?></h4>
    6464            <div class="fb-field-group">
    65             <input type="text" class="fb-color-field" name="<?php echo $fieldName ; ?>" value="<?php echo esc_html( $value ); ?>" />
     65            <input type="text" class="fb-color-field" name="<?php echo esc_attr( $fieldName ); ?>" value="<?php echo esc_html( $value ); ?>" />
    6666            <?php
    6767            if( !empty( $args['description'] ) ) {
  • enteraddons/trunk/core/settingsfields/MediaUpload.php

    r3087147 r3383539  
    6363            <h4><?php echo esc_html( $args['title'] ); ?></h4>
    6464            <div class="fb-field-group">
    65                 <input class="speedupkit_background_image" type="text" name="<?php echo $fieldName; ?>" value="<?php echo esc_attr( $value ); ?>" />
    66                 <input type="button" class="speedupkit_image_upload_btn button-primary" value="<?php esc_html_e( 'Upload', 'enteraddons-pro' ) ?>" />
     65                <input class="speedupkit_background_image" type="text" name="<?php echo esc_attr( $fieldName ); ?>" value="<?php echo esc_attr( $value ); ?>" />
     66                <input type="button" class="speedupkit_image_upload_btn button-primary" value="<?php esc_html_e( 'Upload', 'enteraddons' ); ?>" />
    6767                <?php
    6868                if( !empty( $args['description'] ) ) {
  • enteraddons/trunk/core/settingsfields/MultipleSelect.php

    r3087147 r3383539  
    6666            <h4><?php echo esc_html( $args['title'] ); ?></h4>
    6767            <div class="fb-field-group">
    68             <select name="<?php echo $fieldName; ?>[]" multiple>
     68            <select name="<?php echo esc_attr( $fieldName ); ?>[]" multiple>
    6969                <?php
    7070                foreach( $args['options'] as  $key => $option ) {
  • enteraddons/trunk/core/settingsfields/Selectbox.php

    r3087147 r3383539  
    6666            <h4><?php echo esc_html( $args['title'] ); ?></h4>
    6767            <div class="fb-field-group">
    68             <select name="<?php echo $fieldName; ?>">
     68            <select name="<?php echo esc_attr( $fieldName ); ?>">
    6969                <?php
    7070          foreach( $args['options'] as  $key => $option ) {
  • enteraddons/trunk/core/settingsfields/Text.php

    r3087147 r3383539  
    6666            <h4><?php echo esc_html( $args['title'] ); ?></h4>
    6767            <div class="fb-field-group">
    68             <input type="text" class="<?php echo esc_attr( $args['class'] ); ?>" name="<?php echo $fieldName; ?>" placeholder="<?php echo esc_attr( $args['placeholder'] ); ?>" value="<?php echo esc_attr( $value ); ?>" />
     68            <input type="text" class="<?php echo esc_attr( $args['class'] ); ?>" name="<?php echo esc_attr( $fieldName ); ?>" placeholder="<?php echo esc_attr( $args['placeholder'] ); ?>" value="<?php echo esc_attr( $value ); ?>" />
    6969            <?php
    7070            if( !empty( $args['description'] ) ) {
    71                 echo '<p>'. $args['description'] .'</p>';
     71                echo '<p>'. esc_html( $args['description'] ) .'</p>';
    7272            }
    7373            ?>
  • enteraddons/trunk/core/settingsfields/Textarea.php

    r3087147 r3383539  
    6363            <h4><?php echo esc_html( $args['title'] ); ?></h4>
    6464            <div class="fb-field-group">
    65             <textarea name="<?php echo $fieldName; ?>" ><?php echo esc_attr( $value ); ?></textarea>
     65            <textarea name="<?php echo esc_attr( $fieldName ); ?>" ><?php echo esc_attr( $value ); ?></textarea>
    6666            <?php
    6767            if( !empty( $args['description'] ) ) {
  • enteraddons/trunk/enteraddons.php

    r3377483 r3383539  
    44 * Plugin URI:        https://themelooks.org/demo/enteraddons
    55 * Description:       Ultimate Template Builder for Elementor
    6  * Version:           2.2.7
     6 * Version:           2.2.8
    77 * Author:            ThemeLooks
    88 * Author URI:        https://themelooks.com
     
    2121// Version constant
    2222if (!defined('ENTERADDONS_VERSION')) {
    23     define('ENTERADDONS_VERSION', '2.2.7');
     23    define('ENTERADDONS_VERSION', '2.2.8');
    2424}
    2525// Current phpversion
  • enteraddons/trunk/header-footer-builder/Post_Type_Meta.php

    r3087147 r3383539  
    128128    public static function save_postdata( $post_id ) {
    129129
    130         $metaNonceCheck = isset( $_REQUEST['_ea_hf_meta_check'] ) ? $_REQUEST['_ea_hf_meta_check'] : '';
     130        $metaNonceCheck = isset( $_REQUEST['_ea_hf_meta_check'] ) ? wp_unslash( $_REQUEST['_ea_hf_meta_check'] ) : '';
    131131
    132132        if( empty( $metaNonceCheck ) || !wp_verify_nonce( $metaNonceCheck, 'ea_hf_meta_verify' ) ) {
     
    134134        }
    135135       
    136         $status = !empty( $_POST['ea_hf_status'] ) ? $_POST['ea_hf_status'] : '';
     136        $status = !empty( $_POST['ea_hf_status'] ) ? wp_unslash( $_POST['ea_hf_status'] ) : '';
    137137        update_post_meta(
    138138            absint( $post_id ),
     
    141141        );
    142142
    143         $type = !empty( $_POST['ea_hf_type'] ) ? $_POST['ea_hf_type'] : '';
     143        $type = !empty( $_POST['ea_hf_type'] ) ? wp_unslash( $_POST['ea_hf_type'] ) : '';
    144144        update_post_meta(
    145145            absint( $post_id ),
     
    148148        );
    149149
    150         $useOn = !empty( $_POST['use_on_header'] ) ? $_POST['use_on_header'] : '';
     150        $useOn = !empty( $_POST['use_on_header'] ) ? wp_unslash( $_POST['use_on_header'] ) : '';
    151151        update_post_meta(
    152152            absint( $post_id ),
     
    155155        );
    156156
    157         $excludePage = !empty( $_POST['exclude_page'] ) ? $_POST['exclude_page'] : [];
     157        $excludePage = !empty( $_POST['exclude_page'] ) ? wp_unslash( $_POST['exclude_page'] ) : [];
    158158        update_post_meta(
    159159            absint( $post_id ),
     
    162162        );
    163163       
    164         $show_onfof = !empty( $_POST['ea_hf_show_onfof'] ) ? $_POST['ea_hf_show_onfof'] : '';
     164        $show_onfof = !empty( $_POST['ea_hf_show_onfof'] ) ? wp_unslash( $_POST['ea_hf_show_onfof'] ) : '';
    165165        update_post_meta(
    166166            absint( $post_id ),
     
    216216                break;
    217217            case 'type' :
    218                 echo get_post_meta( $post_id , '_ea_hf_type' , true );
     218                echo esc_html( get_post_meta( $post_id , '_ea_hf_type' , true ) );
    219219                break;
    220220            case 'use_on' :
    221                 echo get_post_meta( $post_id , '_ea_use_on_header' , true );
     221                echo esc_html( get_post_meta( $post_id , '_ea_use_on_header' , true ) );
    222222                break;
    223223        }
  • enteraddons/trunk/header-footer-builder/templates/footer.php

    r2819736 r3383539  
    88echo '<footer class="enteraddons-footer-wrapper">';
    99    $templateId = $args;
     10    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    1011    echo Enteraddons\Classes\Helper::elementor_content_display( $templateId );
    1112echo '</footer>';
  • enteraddons/trunk/header-footer-builder/templates/header.php

    r2819736 r3383539  
    1717echo '<div class="enteraddons-header-wrapper">';
    1818    $templateId = $args;
     19    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    1920    echo Enteraddons\Classes\Helper::elementor_content_display( $templateId );
    2021echo '</div>';
  • enteraddons/trunk/inc/Extensions_List.php

    r2964090 r3383539  
    3636        $extensions = [
    3737            [
    38                 'label'     => esc_html__( 'Header & Footer Snippets', 'enteraddons-pro' ),
     38                'label'     => esc_html__( 'Header & Footer Snippets', 'enteraddons' ),
    3939                'name'      => '',
    4040                'icon'      => 'entera entera-source-code',
     
    4343            ],
    4444            [
    45                 'label'     => esc_html__( 'Accessibilities', 'enteraddons-pro' ),
     45                'label'     => esc_html__( 'Accessibilities', 'enteraddons' ),
    4646                'name'      => '',
    4747                'icon'      => 'entera entera-accessibilities',
     
    5050            ],
    5151            [
    52                 'label'     => esc_html__( 'Speedup', 'enteraddons-pro' ),
     52                'label'     => esc_html__( 'Speedup', 'enteraddons' ),
    5353                'name'      => '',
    5454                'icon'      => 'entera entera-speedup',
     
    5757            ],
    5858            [
    59                 'label'     => esc_html__( 'Image Compressor', 'enteraddons-pro' ),
     59                'label'     => esc_html__( 'Image Compressor', 'enteraddons' ),
    6060                'name'      => '',
    6161                'icon'      => 'entera entera-image-compressor',
     
    6464            ],
    6565            [
    66                 'label'     => esc_html__( 'Webp Converter', 'enteraddons-pro' ),
     66                'label'     => esc_html__( 'Webp Converter', 'enteraddons' ),
    6767                'name'      => '',
    6868                'icon'      => 'entera entera-webp-converter',
     
    7171            ],
    7272            [
    73                 'label'     => esc_html__( 'Url Shortener', 'enteraddons-pro' ),
     73                'label'     => esc_html__( 'Url Shortener', 'enteraddons' ),
    7474                'name'      => '',
    7575                'icon'      => 'entera entera-url-shortener',
     
    7878            ],
    7979            [
    80                 'label'     => esc_html__( 'Maintenance Mode', 'enteraddons-pro' ),
     80                'label'     => esc_html__( 'Maintenance Mode', 'enteraddons' ),
    8181                'name'      => '',
    8282                'icon'      => 'entera entera-maintenance-mode',
     
    8585            ],
    8686            [
    87                 'label'     => esc_html__( 'Woo Builder', 'enteraddons-pro' ),
     87                'label'     => esc_html__( 'Woo Builder', 'enteraddons' ),
    8888                'name'      => '',
    8989                'icon'      => 'entera entera-maintenance-mode',
  • enteraddons/trunk/inc/Widgets_List.php

    r2964090 r3383539  
    4040        $wiggets = [
    4141            [
    42                 'label'     => esc_html__( 'Accordion Tab', 'enteraddons-pro' ),
     42                'label'     => esc_html__( 'Accordion Tab', 'enteraddons' ),
    4343                'name'      => '',
    4444                'icon'      => 'entera entera-accordion-tab',
     
    4747            ],
    4848            [
    49                 'label'     => esc_html__( 'Advanced Data Table', 'enteraddons-pro' ),
     49                'label'     => esc_html__( 'Advanced Data Table', 'enteraddons' ),
    5050                'name'      => '',
    5151                'icon'      => 'entera entera-advance-data-table',
     
    5454            ],
    5555            [
    56                 'label'     => esc_html__( 'Marquee Image', 'enteraddons-pro' ),
     56                'label'     => esc_html__( 'Marquee Image', 'enteraddons' ),
    5757                'name'      => '',
    5858                'icon'      => 'entera entera-marquee-image',
     
    6161            ],
    6262            [
    63                 'label'     => esc_html__( 'Team Carousel', 'enteraddons-pro' ),
     63                'label'     => esc_html__( 'Team Carousel', 'enteraddons' ),
    6464                'name'      => '',
    6565                'icon'      => 'entera entera-team-carousel',
     
    6868            ],
    6969            [
    70                 'label'     => esc_html__( 'Product Category Carousel', 'enteraddons-pro' ),
     70                'label'     => esc_html__( 'Product Category Carousel', 'enteraddons' ),
    7171                'name'      => '',
    7272                'icon'      => 'entera entera-category-carousel',
     
    7575            ],
    7676            [
    77                 'label'     => esc_html__( 'Product Category Grid', 'enteraddons-pro' ),
     77                'label'     => esc_html__( 'Product Category Grid', 'enteraddons' ),
    7878                'name'      => '',
    7979                'icon'      => 'entera entera-category-grid',
     
    8282            ],
    8383            [
    84                 'label'     => esc_html__( 'Product Single Category', 'enteraddons-pro' ),
     84                'label'     => esc_html__( 'Product Single Category', 'enteraddons' ),
    8585                'name'      => '',
    8686                'icon'      => 'entera entera-single-category',
     
    8989            ],
    9090            [
    91                 'label'     => esc_html__( 'Product Grid', 'enteraddons-pro' ),
     91                'label'     => esc_html__( 'Product Grid', 'enteraddons' ),
    9292                'name'      => '',
    9393                'icon'      => 'entera entera-product-grid',
     
    9696            ],
    9797            [
    98                 'label'     => esc_html__( 'Photo Frame', 'enteraddons-pro' ),
     98                'label'     => esc_html__( 'Photo Frame', 'enteraddons' ),
    9999                'name'      => '',
    100100                'icon'      => 'entera entera-photo-frame',
     
    103103            ],
    104104            [
    105                 'label'     => esc_html__( 'Source Code', 'enteraddons-pro' ),
     105                'label'     => esc_html__( 'Source Code', 'enteraddons' ),
    106106                'name'      => '',
    107107                'icon'      => 'entera entera-source-code',
     
    110110            ],
    111111            [
    112                 'label'     => esc_html__( 'Mini Cart', 'enteraddons-pro' ),
     112                'label'     => esc_html__( 'Mini Cart', 'enteraddons' ),
    113113                'name'      => '',
    114114                'icon'      => 'entera entera-mini-cart',
     
    117117            ],
    118118            [
    119                 'label'     => esc_html__( 'Masonry Gallery', 'enteraddons-pro' ),
     119                'label'     => esc_html__( 'Masonry Gallery', 'enteraddons' ),
    120120                'name'      => '',
    121121                'icon'      => 'entera entera-masonry-gallery',
     
    124124            ],
    125125            [
    126                 'label'     => esc_html__( 'Image Swap', 'enteraddons-pro' ),
     126                'label'     => esc_html__( 'Image Swap', 'enteraddons' ),
    127127                'name'      => '',
    128128                'icon'      => 'entera entera-image-swap',
     
    131131            ],
    132132            [
    133                 'label'     => esc_html__( '360d Product Viewer', 'enteraddons-pro' ),
     133                'label'     => esc_html__( '360d Product Viewer', 'enteraddons' ),
    134134                'name'      => '',
    135135                'icon'      => 'entera entera-product-viewer-360d',
     
    138138            ],
    139139            [
    140                 'label'     => esc_html__( 'Iframe', 'enteraddons-pro' ),
     140                'label'     => esc_html__( 'Iframe', 'enteraddons' ),
    141141                'name'      => '',
    142142                'icon'      => 'entera entera-iframe',
     
    145145            ],
    146146            [
    147                 'label'     => esc_html__( 'Panorama Viewer', 'enteraddons-pro' ),
     147                'label'     => esc_html__( 'Panorama Viewer', 'enteraddons' ),
    148148                'name'      => '',
    149149                'icon'      => 'entera entera-panorama',
     
    152152            ],
    153153            [
    154                 'label'     => esc_html__( 'Image Hover Effect', 'enteraddons-pro' ),
     154                'label'     => esc_html__( 'Image Hover Effect', 'enteraddons' ),
    155155                'name'      => '',
    156156                'icon'      => 'entera entera-image-hover-effect',
     
    159159            ],
    160160            [
    161                 'label'     => esc_html__( 'Domain Search', 'enteraddons-pro' ),
     161                'label'     => esc_html__( 'Domain Search', 'enteraddons' ),
    162162                'name'      => '',
    163163                'icon'      => 'entera entera-domain-search',
     
    166166            ],
    167167            [
    168                 'label'     => esc_html__( 'Comparison Table', 'enteraddons-pro' ),
     168                'label'     => esc_html__( 'Comparison Table', 'enteraddons' ),
    169169                'name'      => '',
    170170                'icon'      => 'entera entera-comparison-table',
     
    173173            ],
    174174            [
    175                 'label'     => esc_html__( 'Modal Popup', 'enteraddons-pro' ),
    176                 'name'      => '',
    177                 'icon'      => 'entera entera-modal-popup',
    178                 'demo_link' => '#',
    179                 'is_pro'    => true
    180             ],
    181             [
    182                 'label'     => esc_html__( 'Banner Slider', 'enteraddons-pro' ),
    183                 'name'      => '',
    184                 'icon'      => 'entera entera-modal-popup',
    185                 'demo_link' => '#',
    186                 'is_pro'    => true
    187             ],
    188             [
    189                 'label'     => esc_html__( 'Bar Chart', 'enteraddons-pro' ),
    190                 'name'      => '',
    191                 'icon'      => 'entera entera-modal-popup',
    192                 'demo_link' => '#',
    193                 'is_pro'    => true
    194             ],
    195             [
    196                 'label'     => esc_html__( 'Creative Button', 'enteraddons-pro' ),
    197                 'name'      => '',
    198                 'icon'      => 'entera entera-modal-popup',
    199                 'demo_link' => '#',
    200                 'is_pro'    => true
    201             ],
    202             [
    203                 'label'     => esc_html__( 'Infobox Carousel', 'enteraddons-pro' ),
    204                 'name'      => '',
    205                 'icon'      => 'entera entera-modal-popup',
    206                 'demo_link' => '#',
    207                 'is_pro'    => true
    208             ],
    209             [
    210                 'label'     => esc_html__( 'Line Chart', 'enteraddons-pro' ),
    211                 'name'      => '',
    212                 'icon'      => 'entera entera-modal-popup',
    213                 'demo_link' => '#',
    214                 'is_pro'    => true
    215             ],
    216             [
    217                 'label'     => esc_html__( 'PDF Viewer', 'enteraddons-pro' ),
    218                 'name'      => '',
    219                 'icon'      => 'entera entera-modal-popup',
    220                 'demo_link' => '#',
    221                 'is_pro'    => true
    222             ],
    223             [
    224                 'label'     => esc_html__( 'Pie Chart', 'enteraddons-pro' ),
    225                 'name'      => '',
    226                 'icon'      => 'entera entera-modal-popup',
    227                 'demo_link' => '#',
    228                 'is_pro'    => true
    229             ],
    230             [
    231                 'label'     => esc_html__( 'Polar Chart', 'enteraddons-pro' ),
    232                 'name'      => '',
    233                 'icon'      => 'entera entera-modal-popup',
    234                 'demo_link' => '#',
    235                 'is_pro'    => true
    236             ],
    237             [
    238                 'label'     => esc_html__( 'Post Carousel', 'enteraddons-pro' ),
    239                 'name'      => '',
    240                 'icon'      => 'entera entera-modal-popup',
    241                 'demo_link' => '#',
    242                 'is_pro'    => true
    243             ],
    244             [
    245                 'label'     => esc_html__( 'Promo Box', 'enteraddons-pro' ),
    246                 'name'      => '',
    247                 'icon'      => 'entera entera-modal-popup',
    248                 'demo_link' => '#',
    249                 'is_pro'    => true
    250             ],
    251             [
    252                 'label'     => esc_html__( 'QR and Barcode', 'enteraddons-pro' ),
    253                 'name'      => '',
    254                 'icon'      => 'entera entera-modal-popup',
    255                 'demo_link' => '#',
    256                 'is_pro'    => true
    257             ],
    258             [
    259                 'label'     => esc_html__( 'Radar Chart', 'enteraddons-pro' ),
    260                 'name'      => '',
    261                 'icon'      => 'entera entera-modal-popup',
    262                 'demo_link' => '#',
    263                 'is_pro'    => true
    264             ],
    265             [
    266                 'label'     => esc_html__( 'Single Image Scroll', 'enteraddons-pro' ),
    267                 'name'      => '',
    268                 'icon'      => 'entera entera-modal-popup',
    269                 'demo_link' => '#',
    270                 'is_pro'    => true
    271             ],
    272             [
    273                 'label'     => esc_html__( 'unfold', 'enteraddons-pro' ),
    274                 'name'      => '',
    275                 'icon'      => 'entera entera-modal-popup',
    276                 'demo_link' => '#',
    277                 'is_pro'    => true
    278             ],
    279             [
    280                 'label'     => esc_html__( 'Circle Info Graphic', 'enteraddons-pro' ),
    281                 'name'      => '',
    282                 'icon'      => 'entera entera-modal-popup',
    283                 'demo_link' => '#',
    284                 'is_pro'    => true
    285             ],
    286             [
    287                 'label'     => esc_html__( 'NFT Carousel', 'enteraddons-pro' ),
    288                 'name'      => '',
    289                 'icon'      => 'entera entera-modal-popup',
    290                 'demo_link' => '#',
    291                 'is_pro'    => true
    292             ],
    293             [
    294                 'label'     => esc_html__( 'Filterable Gallery', 'enteraddons-pro' ),
    295                 'name'      => '',
    296                 'icon'      => 'entera entera-modal-popup',
    297                 'demo_link' => '#',
    298                 'is_pro'    => true
    299             ],
    300             [
    301                 'label'     => esc_html__( 'NFT Gallery', 'enteraddons-pro' ),
     175                'label'     => esc_html__( 'Modal Popup', 'enteraddons' ),
     176                'name'      => '',
     177                'icon'      => 'entera entera-modal-popup',
     178                'demo_link' => '#',
     179                'is_pro'    => true
     180            ],
     181            [
     182                'label'     => esc_html__( 'Banner Slider', 'enteraddons' ),
     183                'name'      => '',
     184                'icon'      => 'entera entera-modal-popup',
     185                'demo_link' => '#',
     186                'is_pro'    => true
     187            ],
     188            [
     189                'label'     => esc_html__( 'Bar Chart', 'enteraddons' ),
     190                'name'      => '',
     191                'icon'      => 'entera entera-modal-popup',
     192                'demo_link' => '#',
     193                'is_pro'    => true
     194            ],
     195            [
     196                'label'     => esc_html__( 'Creative Button', 'enteraddons' ),
     197                'name'      => '',
     198                'icon'      => 'entera entera-modal-popup',
     199                'demo_link' => '#',
     200                'is_pro'    => true
     201            ],
     202            [
     203                'label'     => esc_html__( 'Infobox Carousel', 'enteraddons' ),
     204                'name'      => '',
     205                'icon'      => 'entera entera-modal-popup',
     206                'demo_link' => '#',
     207                'is_pro'    => true
     208            ],
     209            [
     210                'label'     => esc_html__( 'Line Chart', 'enteraddons' ),
     211                'name'      => '',
     212                'icon'      => 'entera entera-modal-popup',
     213                'demo_link' => '#',
     214                'is_pro'    => true
     215            ],
     216            [
     217                'label'     => esc_html__( 'PDF Viewer', 'enteraddons' ),
     218                'name'      => '',
     219                'icon'      => 'entera entera-modal-popup',
     220                'demo_link' => '#',
     221                'is_pro'    => true
     222            ],
     223            [
     224                'label'     => esc_html__( 'Pie Chart', 'enteraddons' ),
     225                'name'      => '',
     226                'icon'      => 'entera entera-modal-popup',
     227                'demo_link' => '#',
     228                'is_pro'    => true
     229            ],
     230            [
     231                'label'     => esc_html__( 'Polar Chart', 'enteraddons' ),
     232                'name'      => '',
     233                'icon'      => 'entera entera-modal-popup',
     234                'demo_link' => '#',
     235                'is_pro'    => true
     236            ],
     237            [
     238                'label'     => esc_html__( 'Post Carousel', 'enteraddons' ),
     239                'name'      => '',
     240                'icon'      => 'entera entera-modal-popup',
     241                'demo_link' => '#',
     242                'is_pro'    => true
     243            ],
     244            [
     245                'label'     => esc_html__( 'Promo Box', 'enteraddons' ),
     246                'name'      => '',
     247                'icon'      => 'entera entera-modal-popup',
     248                'demo_link' => '#',
     249                'is_pro'    => true
     250            ],
     251            [
     252                'label'     => esc_html__( 'QR and Barcode', 'enteraddons' ),
     253                'name'      => '',
     254                'icon'      => 'entera entera-modal-popup',
     255                'demo_link' => '#',
     256                'is_pro'    => true
     257            ],
     258            [
     259                'label'     => esc_html__( 'Radar Chart', 'enteraddons' ),
     260                'name'      => '',
     261                'icon'      => 'entera entera-modal-popup',
     262                'demo_link' => '#',
     263                'is_pro'    => true
     264            ],
     265            [
     266                'label'     => esc_html__( 'Single Image Scroll', 'enteraddons' ),
     267                'name'      => '',
     268                'icon'      => 'entera entera-modal-popup',
     269                'demo_link' => '#',
     270                'is_pro'    => true
     271            ],
     272            [
     273                'label'     => esc_html__( 'unfold', 'enteraddons' ),
     274                'name'      => '',
     275                'icon'      => 'entera entera-modal-popup',
     276                'demo_link' => '#',
     277                'is_pro'    => true
     278            ],
     279            [
     280                'label'     => esc_html__( 'Circle Info Graphic', 'enteraddons' ),
     281                'name'      => '',
     282                'icon'      => 'entera entera-modal-popup',
     283                'demo_link' => '#',
     284                'is_pro'    => true
     285            ],
     286            [
     287                'label'     => esc_html__( 'NFT Carousel', 'enteraddons' ),
     288                'name'      => '',
     289                'icon'      => 'entera entera-modal-popup',
     290                'demo_link' => '#',
     291                'is_pro'    => true
     292            ],
     293            [
     294                'label'     => esc_html__( 'Filterable Gallery', 'enteraddons' ),
     295                'name'      => '',
     296                'icon'      => 'entera entera-modal-popup',
     297                'demo_link' => '#',
     298                'is_pro'    => true
     299            ],
     300            [
     301                'label'     => esc_html__( 'NFT Gallery', 'enteraddons' ),
    302302                'name'      => '',
    303303                'icon'      => 'entera entera-modal-popup',
  • enteraddons/trunk/readme.txt

    r3377483 r3383539  
    55Requires PHP: 7.4
    66Requires at least: 6.5
    7 Tested up to: 6.8.3
    8 Version: 2.2.7
    9 Stable tag: 2.2.7
     7Tested up to: 6.8
     8Version: 2.2.8
     9Stable tag: 2.2.8
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    162162== Change log ==
    163163
     164= 2.2.8 =
     165- Enhanced overall security measures
     166- Resolved XSS vulnerability in Countdown widget
     167- Resolved XSS vulnerability in Image Comparison widget
     168
    164169= 2.2.7 =
    165170- Fixed anchor tag nofollow, dofollow option not working issue
  • enteraddons/trunk/widgets/accordion/traits/Templates_Components.php

    r2956712 r3383539  
    3434        echo '<div class="faq-left-icons">';
    3535        if( !empty( $left_active_icon ) ) {
     36            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3637            echo '<div class="active-icon"><div class="ea-faq-title-icon">'.Helper::allowFormattingTagHtml($left_active_icon).'</div></div>';
    3738        }
    3839        //
    3940        if( !empty( $left_close_icon ) ) {
     41            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4042            echo '<div class="close-icon"><div class="ea-faq-title-icon">'.Helper::allowFormattingTagHtml($left_close_icon).'</div></div>';
    4143        }
     
    5557        echo '<div class="faq-right-icons '.esc_attr($iconPosition).'">';
    5658            if( !empty( $right_active_icon ) ) {
     59                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5760                echo '<div class="active-icon"><div class="ea-faq-title-icon">'.Helper::allowFormattingTagHtml($right_active_icon).'</div></div>';
    5861            }
    5962            //
    6063            if( !empty( $right_close_icon ) ) {
     64                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    6165                echo '<div class="close-icon"><div class="ea-faq-title-icon">'.Helper::allowFormattingTagHtml($right_close_icon).'</div></div>';
    6266            }
  • enteraddons/trunk/widgets/accordion_gallery/traits/Template_1.php

    r2865101 r3383539  
    1717public static function markup_style_1() {
    1818    $settings = self::getSettings();
    19     $icon = \Enteraddons\Classes\Helper::getElementorIcon( $settings['button_icon'] );
     19
    2020    ?>
    2121        <div class="ea-accordion-gallery">
     
    3232                            echo '<a href="#" class="ea-vg-btn">';
    3333                            self::trigger_button( $item );
    34                             echo $icon; 
     34                            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     35                            echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['button_icon'] );
    3536                            echo  '</a>';
    3637                            echo '<div class="ea-gallery-toggle">';
  • enteraddons/trunk/widgets/accordion_gallery/traits/Templates_Components.php

    r2865101 r3383539  
    6565    public static function gallery_button( $item  ) {
    6666        $label     = !empty( $item ['link_label'] ) ?  $item['link_label'] : esc_html__( 'VIEW MORE', 'enteraddons' );
    67         echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $item['more_link'], $label, 'ea-gallery-button' );
     67        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     68        echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $item['more_link'], esc_html( $label ), 'ea-gallery-button' );
    6869    }
    6970}
  • enteraddons/trunk/widgets/advanced_animation_title/Advanced_Animation_Title.php

    r3148550 r3383539  
    3030
    3131    public function get_title() {
    32         return esc_html__( 'Animation Title', 'enteraddons-pro' );
     32        return esc_html__( 'Animation Title', 'enteraddons' );
    3333    }
    3434
     
    4949            'enteraddons_advanced_animation_title_settings',
    5050            [
    51                 'label' => esc_html__( 'Advanced Animation Title', 'enteraddons-pro' ),
     51                'label' => esc_html__( 'Advanced Animation Title', 'enteraddons' ),
    5252            ]
    5353        );
     
    5555            'animation_type',
    5656            [
    57                 'label' => esc_html__( 'Animation Type', 'enteraddons-pro' ),
     57                'label' => esc_html__( 'Animation Type', 'enteraddons' ),
    5858                'type' => Controls_Manager::SELECT,
    5959                'default' => '1',
    6060                'options' => [
    61                     '1'  => esc_html__( 'Style 1', 'enteraddons-pro' ),
    62                     '2'  => esc_html__( 'Style 2', 'enteraddons-pro' ),
    63                     '3'  => esc_html__( 'Style 3', 'enteraddons-pro' ),
    64                     '4'  => esc_html__( 'Style 4', 'enteraddons-pro' ),
    65                     '5'  => esc_html__( 'Style 5', 'enteraddons-pro' ),
    66                     '6'  => esc_html__( 'Style 6', 'enteraddons-pro' ),
    67                     '7'  => esc_html__( 'Style 7', 'enteraddons-pro' ),
    68                     'rainbow'  => esc_html__( 'Style 8', 'enteraddons-pro' ),
     61                    '1'  => esc_html__( 'Style 1', 'enteraddons' ),
     62                    '2'  => esc_html__( 'Style 2', 'enteraddons' ),
     63                    '3'  => esc_html__( 'Style 3', 'enteraddons' ),
     64                    '4'  => esc_html__( 'Style 4', 'enteraddons' ),
     65                    '5'  => esc_html__( 'Style 5', 'enteraddons' ),
     66                    '6'  => esc_html__( 'Style 6', 'enteraddons' ),
     67                    '7'  => esc_html__( 'Style 7', 'enteraddons' ),
     68                    'rainbow'  => esc_html__( 'Style 8', 'enteraddons' ),
    6969                ],
    7070            ]
     
    7373            'text_direction',
    7474            [
    75                 'label' => esc_html__( 'Title Direction', 'enteraddons-pro' ),
     75                'label' => esc_html__( 'Title Direction', 'enteraddons' ),
    7676                'type' => \Elementor\Controls_Manager::SELECT,
    7777                'default' => '',
    7878                'options' => [
    79                     '' => esc_html__( 'Row', 'enteraddons-pro' ),
    80                     'aat-direction'  => esc_html__( 'Column', 'enteraddons-pro' ),
     79                    '' => esc_html__( 'Row', 'enteraddons' ),
     80                    'aat-direction'  => esc_html__( 'Column', 'enteraddons' ),
    8181
    8282                ],
     
    8686            'title_gap',
    8787            [
    88                 'label' => esc_html__( 'Title Gap', 'enteraddons-pro' ),
     88                'label' => esc_html__( 'Title Gap', 'enteraddons' ),
    8989                'condition' => [ 'text_direction' => ['aat-direction'] ],
    9090                'type' => \Elementor\Controls_Manager::SLIDER,
     
    113113            'tag',
    114114            [
    115                 'label' => esc_html__( 'Set Heading Tag', 'enteraddons-pro' ),
     115                'label' => esc_html__( 'Set Heading Tag', 'enteraddons' ),
    116116                'type' => \Elementor\Controls_Manager::SELECT,
    117117                'options' => [
     
    132132            'first_text',
    133133            [
    134                 'label' => esc_html__( 'Before Text', 'enteraddons-pro' ),
     134                'label' => esc_html__( 'Before Text', 'enteraddons' ),
    135135                'type' => \Elementor\Controls_Manager::TEXT,
    136136                'label_block' => true,
     
    144144            'animation_text',
    145145            [
    146                 'label' => esc_html__( 'Animation Text', 'enteraddons-pro' ),
     146                'label' => esc_html__( 'Animation Text', 'enteraddons' ),
    147147                'type' => \Elementor\Controls_Manager::TEXT,
    148148                'label_block' => true,
     
    150150                    'active' => true,
    151151                ],
    152                 'default' => esc_html__(' Ultimate Template Builder ', 'enteraddons-pro'),
     152                'default' => esc_html__(' Ultimate Template Builder ', 'enteraddons'),
    153153            ]
    154154        );
     
    156156            'second_text',
    157157            [
    158                 'label' => esc_html__( 'After Text', 'enteraddons-pro' ),
     158                'label' => esc_html__( 'After Text', 'enteraddons' ),
    159159                'type' => \Elementor\Controls_Manager::TEXT,
    160160                'label_block' => true,
     
    168168            'show_background_text',
    169169            [
    170                 'label' => esc_html__( 'Show Background Text', 'enteraddons-pro' ),
     170                'label' => esc_html__( 'Show Background Text', 'enteraddons' ),
    171171                'type' => \Elementor\Controls_Manager::SWITCHER,
    172                 'label_on' => esc_html__( 'Show', 'enteraddons-pro' ),
    173                 'label_off' => esc_html__( 'Hide', 'enteraddons-pro' ),
     172                'label_on' => esc_html__( 'Show', 'enteraddons' ),
     173                'label_off' => esc_html__( 'Hide', 'enteraddons' ),
    174174                'return_value' => 'yes',
    175175                'default' => 'yes',
     
    179179            'background_text',
    180180            [
    181                 'label' => esc_html__( 'Background Text', 'enteraddons-pro' ),
     181                'label' => esc_html__( 'Background Text', 'enteraddons' ),
    182182                'condition'=>['show_background_text'=>'yes'],
    183183                'type' => \Elementor\Controls_Manager::TEXT,
     
    198198         $this->start_controls_section(
    199199            'enteraddons_animation_title_wrapper_style_settings', [
    200                 'label' => esc_html__( 'Wrapper Style', 'enteraddons-pro' ),
     200                'label' => esc_html__( 'Wrapper Style', 'enteraddons' ),
    201201                'tab' => Controls_Manager::TAB_STYLE,
    202202            ]
     
    205205            'wrapper_margin',
    206206            [
    207                 'label' => esc_html__( 'Margin', 'enteraddons-pro' ),
     207                'label' => esc_html__( 'Margin', 'enteraddons' ),
    208208                'type' => Controls_Manager::DIMENSIONS,
    209209                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    217217            'wrapper_padding',
    218218            [
    219                 'label' => esc_html__( 'Padding', 'enteraddons-pro' ),
     219                'label' => esc_html__( 'Padding', 'enteraddons' ),
    220220                'type' => Controls_Manager::DIMENSIONS,
    221221                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    230230            [
    231231                'name'      => 'wrapper_border',
    232                 'label'     => esc_html__( 'Border', 'enteraddons-pro' ),
     232                'label'     => esc_html__( 'Border', 'enteraddons' ),
    233233                'selector'  => '{{WRAPPER}} .ea-aat-wrapper',
    234234            ]
     
    237237            'wrapper_border_radius',
    238238            [
    239                 'label' => esc_html__( 'Border Radius', 'enteraddons-pro' ),
     239                'label' => esc_html__( 'Border Radius', 'enteraddons' ),
    240240                'type' => Controls_Manager::DIMENSIONS,
    241241                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    250250            [
    251251                'name' => 'wrapper_shadow',
    252                 'label' => esc_html__( 'Box Shadow', 'enteraddons-pro' ),
     252                'label' => esc_html__( 'Box Shadow', 'enteraddons' ),
    253253                'selector' => '{{WRAPPER}} .ea-aat-wrapper',
    254254            ]
     
    258258            [
    259259                'name' => 'wrapper_background',
    260                 'label' => esc_html__( 'Background', 'enteraddons-pro' ),
     260                'label' => esc_html__( 'Background', 'enteraddons' ),
    261261                'types' => [ 'classic', 'gradient' ],
    262262                'selector' => '{{WRAPPER}} .ea-aat-wrapper',
     
    272272        $this->start_controls_section(
    273273            'enteraddons__title_style_settings', [
    274                 'label' => esc_html__( 'Text Style', 'enteraddons-pro' ),
     274                'label' => esc_html__( 'Text Style', 'enteraddons' ),
    275275                'tab' => Controls_Manager::TAB_STYLE,
    276276            ]
     
    279279            'title_color',
    280280            [
    281                 'label' => esc_html__( 'Color', 'enteraddons-pro' ),
     281                'label' => esc_html__( 'Color', 'enteraddons' ),
    282282                'type' => \Elementor\Controls_Manager::COLOR,
    283283                'selectors' => [
     
    290290            [
    291291                'name' => 'title_typography',
    292                 'label' => esc_html__( 'Typography', 'enteraddons-pro' ),
     292                'label' => esc_html__( 'Typography', 'enteraddons' ),
    293293                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-title',
    294294            ]
     
    304304            'title_margin',
    305305            [
    306                 'label' => esc_html__( 'Margin', 'enteraddons-pro' ),
     306                'label' => esc_html__( 'Margin', 'enteraddons' ),
    307307                'type' => Controls_Manager::DIMENSIONS,
    308308                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    316316            'title_padding',
    317317            [
    318                 'label' => esc_html__( 'Padding', 'enteraddons-pro' ),
     318                'label' => esc_html__( 'Padding', 'enteraddons' ),
    319319                'type' => Controls_Manager::DIMENSIONS,
    320320                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    329329            [
    330330                'name' => 'title_border',
    331                 'label' => esc_html__( 'Border', 'enteraddons-pro' ),
     331                'label' => esc_html__( 'Border', 'enteraddons' ),
    332332                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-title',
    333333            ]
     
    336336            'title_border_radius',
    337337            [
    338                 'label' => esc_html__( 'Border Radius', 'enteraddons-pro' ),
     338                'label' => esc_html__( 'Border Radius', 'enteraddons' ),
    339339                'type' => Controls_Manager::DIMENSIONS,
    340340                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    349349            [
    350350                'name' => 'title_box_shadow',
    351                 'label' => esc_html__( 'Box Shadow', 'enteraddons-pro' ),
     351                'label' => esc_html__( 'Box Shadow', 'enteraddons' ),
    352352                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-title',
    353353            ]
     
    357357            [
    358358                'name' => 'title_background',
    359                 'label' => esc_html__( 'Background', 'enteraddons-pro' ),
     359                'label' => esc_html__( 'Background', 'enteraddons' ),
    360360                'types' => [ 'classic', 'gradient' ],
    361361                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-title',
     
    365365            'title_alignment',
    366366            [
    367                 'label' => esc_html__( 'Title Alignment', 'enteraddons-pro' ),
     367                'label' => esc_html__( 'Title Alignment', 'enteraddons' ),
    368368                'type' => \Elementor\Controls_Manager::CHOOSE,
    369369                'options' => [
    370370                    'left' => [
    371                         'title' => esc_html__( 'Left', 'enteraddons-pro' ),
     371                        'title' => esc_html__( 'Left', 'enteraddons' ),
    372372                        'icon' => 'eicon-text-align-left',
    373373                    ],
    374374                    'center' => [
    375                         'title' => esc_html__( 'Center', 'enteraddons-pro' ),
     375                        'title' => esc_html__( 'Center', 'enteraddons' ),
    376376                        'icon' => 'eicon-text-align-center',
    377377                    ],
    378378                    'right' => [
    379                         'title' => esc_html__( 'Right', 'enteraddons-pro' ),
     379                        'title' => esc_html__( 'Right', 'enteraddons' ),
    380380                        'icon' => 'eicon-text-align-right',
    381381                    ],
     
    392392            'title_vertical_alignment',
    393393            [
    394                 'label' => esc_html__( 'Title Alignment', 'enteraddons-pro' ),
     394                'label' => esc_html__( 'Title Alignment', 'enteraddons' ),
    395395                'type' => \Elementor\Controls_Manager::CHOOSE,
    396396                'options' => [
    397397                    'flex-start' => [
    398                         'title' => esc_html__( 'Start', 'enteraddons-pro' ),
     398                        'title' => esc_html__( 'Start', 'enteraddons' ),
    399399                        'icon' => 'eicon-h-align-left',
    400400                    ],
    401401                    'center' => [
    402                         'title' => esc_html__( 'Center', 'enteraddons-pro' ),
     402                        'title' => esc_html__( 'Center', 'enteraddons' ),
    403403                        'icon' => 'eicon-h-align-center',
    404404                    ],
    405405                    'flex-end' => [
    406                         'title' => esc_html__( 'End', 'enteraddons-pro' ),
     406                        'title' => esc_html__( 'End', 'enteraddons' ),
    407407                        'icon' => 'eicon-h-align-right',
    408408                    ],
     
    425425        $this->start_controls_section(
    426426            'enteraddons_animation_title_style_settings', [
    427                 'label' => esc_html__( 'Animation Text Style', 'enteraddons-pro' ),
     427                'label' => esc_html__( 'Animation Text Style', 'enteraddons' ),
    428428                'tab' => Controls_Manager::TAB_STYLE,
    429429            ]
     
    432432            'animation_title_color',
    433433            [
    434                 'label' => esc_html__( 'Color', 'enteraddons-pro' ),
     434                'label' => esc_html__( 'Color', 'enteraddons' ),
    435435                'type' => \Elementor\Controls_Manager::COLOR,
    436436                'selectors' => [
     
    443443            [
    444444                'name' => 'animation_title_typography',
    445                 'label' => esc_html__( 'Typography', 'enteraddons-pro' ),
     445                'label' => esc_html__( 'Typography', 'enteraddons' ),
    446446                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-text',
    447447            ]
     
    457457            'animation_title_margin',
    458458            [
    459                 'label' => esc_html__( 'Margin', 'enteraddons-pro' ),
     459                'label' => esc_html__( 'Margin', 'enteraddons' ),
    460460                'type' => Controls_Manager::DIMENSIONS,
    461461                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    469469            'animation_title_padding',
    470470            [
    471                 'label' => esc_html__( 'Padding', 'enteraddons-pro' ),
     471                'label' => esc_html__( 'Padding', 'enteraddons' ),
    472472                'type' => Controls_Manager::DIMENSIONS,
    473473                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    482482            [
    483483                'name' => 'animation_title_border',
    484                 'label' => esc_html__( 'Border', 'enteraddons-pro' ),
     484                'label' => esc_html__( 'Border', 'enteraddons' ),
    485485                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-text',
    486486            ]
     
    489489            'animation_title_border_radius',
    490490            [
    491                 'label' => esc_html__( 'Border Radius', 'enteraddons-pro' ),
     491                'label' => esc_html__( 'Border Radius', 'enteraddons' ),
    492492                'type' => Controls_Manager::DIMENSIONS,
    493493                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    502502            [
    503503                'name' => 'animation_title_box_shadow',
    504                 'label' => esc_html__( 'Box Shadow', 'enteraddons-pro' ),
     504                'label' => esc_html__( 'Box Shadow', 'enteraddons' ),
    505505                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-text',
    506506            ]
     
    510510            [
    511511                'name' => 'animation_title_background',
    512                 'label' => esc_html__( 'Background', 'enteraddons-pro' ),
     512                'label' => esc_html__( 'Background', 'enteraddons' ),
    513513                'types' => [ 'classic', 'gradient' ],
    514514                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-text',
     
    524524        $this->start_controls_section(
    525525            'enteraddons_background_text_style_settings', [
    526                 'label' => esc_html__( 'Background Text Style', 'enteraddons-pro' ),
     526                'label' => esc_html__( 'Background Text Style', 'enteraddons' ),
    527527                'condition'=>['show_background_text'=>'yes'],
    528528                'tab' => Controls_Manager::TAB_STYLE,
     
    532532            'background_text_offset_y',
    533533            [
    534                 'label'      => __('Offset Y', 'enteraddons-pro'),
     534                'label'      => __('Offset Y', 'enteraddons'),
    535535                'type'       => Controls_Manager::SLIDER,
    536536                'size_units' => ['px', '%'],
     
    558558            'background_text_offset_x',
    559559            [
    560                 'label'      => __('Offset X', 'enteraddons-pro'),
     560                'label'      => __('Offset X', 'enteraddons'),
    561561                'type'       => Controls_Manager::SLIDER,
    562562                'size_units' => ['px', '%'],
     
    584584            'background_text_opacity',
    585585            [
    586                 'label' => esc_html__( 'Opacity', 'enteraddons-pro' ),
     586                'label' => esc_html__( 'Opacity', 'enteraddons' ),
    587587                'type' => \Elementor\Controls_Manager::SLIDER,
    588588                'size_units' => [ 'px'],
     
    606606            'background_text_color',
    607607            [
    608                 'label' => esc_html__( 'Color', 'enteraddons-pro' ),
     608                'label' => esc_html__( 'Color', 'enteraddons' ),
    609609                'type' => \Elementor\Controls_Manager::COLOR,
    610610                'selectors' => [
     
    617617            [
    618618                'name' => 'background_text_typography',
    619                 'label' => esc_html__( 'Typography', 'enteraddons-pro' ),
     619                'label' => esc_html__( 'Typography', 'enteraddons' ),
    620620                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-title::before',
    621621            ]
     
    631631            'background_text_margin',
    632632            [
    633                 'label' => esc_html__( 'Margin', 'enteraddons-pro' ),
     633                'label' => esc_html__( 'Margin', 'enteraddons' ),
    634634                'type' => Controls_Manager::DIMENSIONS,
    635635                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    643643            'background_text_padding',
    644644            [
    645                 'label' => esc_html__( 'Padding', 'enteraddons-pro' ),
     645                'label' => esc_html__( 'Padding', 'enteraddons' ),
    646646                'type' => Controls_Manager::DIMENSIONS,
    647647                'devices' => [ 'desktop', 'tablet', 'mobile' ],
     
    656656            [
    657657                'name' => 'background_text_box_shadow',
    658                 'label' => esc_html__( 'Box Shadow', 'enteraddons-pro' ),
     658                'label' => esc_html__( 'Box Shadow', 'enteraddons' ),
    659659                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-title::before',
    660660            ]
     
    664664            [
    665665                'name' => 'background_text_background',
    666                 'label' => esc_html__( 'Background', 'enteraddons-pro' ),
     666                'label' => esc_html__( 'Background', 'enteraddons' ),
    667667                'types' => [ 'classic', 'gradient' ],
    668668                'selector' => '{{WRAPPER}} .ea-aat-wrapper .ea-aat-title::before',
  • enteraddons/trunk/widgets/advanced_animation_title/traits/Template_1.php

    r3148550 r3383539  
    2727                }
    2828            }
    29    
     29            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3030            echo '<div class="ea-aat-wrapper" data-titleanimation-settings="' . htmlspecialchars( $TitleAnimationSettings, ENT_QUOTES, 'UTF-8' ) . '">';
    3131   
  • enteraddons/trunk/widgets/advanced_list/traits/Template_1.php

    r2789639 r3383539  
    2626                            // Anchor open
    2727                            if( !empty( $list['link']['url'] ) ) {
     28                                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2829                                echo self::linkOpen( $list['link'] );
    2930                            }
     
    4142                            // Anchor close
    4243                            if( !empty( $list['link']['url'] ) ) {
     44                                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4345                                echo self::linkClose();
    4446                            }
  • enteraddons/trunk/widgets/advanced_list/traits/Templates_Components.php

    r2789639 r3383539  
    2626    protected static function icon( $options = '' ) {
    2727        if( !empty( $options['icon'] ) ) {
     28            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2829            echo '<span class="ea-list-style ea-list-icon">'.Helper::getElementorIcon( $options['icon'] ).'</span>';
    2930        }
  • enteraddons/trunk/widgets/advanced_tabs/traits/Templates_Components.php

    r3197055 r3383539  
    2828
    2929    //Icon
    30     protected static function icon( $tab ) {     
     30    protected static function icon( $tab ) {
     31        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3132        echo '<span class="ea-atab-icon">'.\Enteraddons\Classes\Helper::getElementorIcon( $tab['tab_icon'] ).'</span>';
    3233    }
     
    3637        if ( $tab['tab_content_type'] != 'template' ) {
    3738            if ( !empty( $tab['content'] ) ) {
     39                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3840                echo wpautop( wp_kses_post( $tab['content'] ) );
    3941            }
     
    4446                // Validate the template ID
    4547                if ( is_array( $templates ) && array_key_exists( $tab['template_id'], $templates ) ) {
     48                    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4649                    echo \Enteraddons\Classes\Helper::elementor_content_display( absint( $tab['template_id'] ) );                   
    4750                }
  • enteraddons/trunk/widgets/breadcrumbs/traits/Templates_Components.php

    r2837250 r3383539  
    2525                    //title
    2626                    if( !empty( $val['link']['url'] ) ) {
     27                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2728                        echo '<li>'.self::linkOpen( $val ).esc_html( $val['title'] ).self::linkClose().'</li>
    2829                        <span class="ea-breadcrumb-delimiter">'.esc_html( $settings['delimiter'] ).'</span>';
  • enteraddons/trunk/widgets/button/traits/Template_1.php

    r2867644 r3383539  
    2020            self::linkOpen();
    2121                if( $settings['btn_hover_effect'] != 'dual-icon-btn' && $settings['icon_position'] == 'left' ) {
     22                    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2223                    echo self::button_icon();
    2324                }
     
    2526
    2627                    if( $settings['btn_hover_effect'] == 'dual-icon-btn' ) {
     28                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2729                        echo self::button_icon_text_before();
    2830                    }
     31                   
    2932                    self::smallText();
    3033                    self::text1();
    3134                    if( $settings['btn_hover_effect'] == 'dual-icon-btn' ) {
     35                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3236                        echo self::button_icon_text_after();
    3337                    }
    3438                echo '</span>';
    3539                if( $settings['btn_hover_effect'] != 'dual-icon-btn' && $settings['icon_position'] == 'right' ) {
     40                    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3641                    echo self::button_icon();
    3742                }
  • enteraddons/trunk/widgets/card_carousel/traits/Template_1.php

    r2747889 r3383539  
    1818        $settings = self::getDisplaySettings();
    1919        $sliderSettings = self::carouselSettings();
    20 
     20       
    2121        ?>       
    22         <div class="enteraddons-card-carousel enteraddons-slider owl-carousel enteraddons-nav-style--seventeen enteraddons-slider-nav-middle" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); ?>">
    23 
     22        <div class="enteraddons-card-carousel enteraddons-slider owl-carousel enteraddons-nav-style--seventeen enteraddons-slider-nav-middle" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2423            <?php
    2524                // Single Client
  • enteraddons/trunk/widgets/card_carousel/traits/Templates_Components.php

    r3087147 r3383539  
    6262
    6363            if( $data['icon_type'] != 'img' ) {
     64                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    6465                echo \Enteraddons\Classes\Helper::getElementorIcon( $data['icon'] );
    6566            }else {
  • enteraddons/trunk/widgets/collection_box/traits/Template_1.php

    r2789639 r3383539  
    2121        <?php
    2222            if( 'yes' == $settings['wrapper_link'] ) {
     23                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2324                echo self::linkOpen();
    2425            }
     
    3132            ?>
    3233            <div class="content">
    33                      <?php
    34                      //content
    35                     self::title();
    36                     self::ammount();
    37                     ?> 
     34                <?php
     35                //content
     36                self::title();
     37                self::ammount();
     38                ?>
    3839            </div>
    3940            </div>
    4041            <?php
    4142            if( 'yes' == $settings['wrapper_link'] ) {
     43                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4244                echo self::linkClose();
    4345            }
  • enteraddons/trunk/widgets/collection_box/traits/Templates_Components.php

    r2789639 r3383539  
    2929            if( $settings['icon_type'] != 'img' ) {
    3030                //Logo
     31                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3132                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon'] );
    3233            }else {
  • enteraddons/trunk/widgets/content_ticker/traits/Template_1.php

    r2789639 r3383539  
    2323            ?>
    2424            <div class="enteraddons-news-ticker-box">
    25                 <ul class="enteraddons-news-ticker"  data-tickersettings="<?php echo htmlspecialchars( $tickerSettings, ENT_QUOTES, 'UTF-8'); ?>">
     25                <ul class="enteraddons-news-ticker"  data-tickersettings="<?php echo htmlspecialchars( $tickerSettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2626                    <?php
    2727                        if( !empty( $settings['content_ticker'] ) ) {
    2828                            foreach( $settings['content_ticker'] as $item ) {
    2929                           echo '<li>';
     30                           // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3031                            echo self::linkOpen( $item );
    3132                                if(!empty( $item['content_ticker_news']) ){
    3233                                    echo esc_html($item['content_ticker_news']);
    3334                                }
     35                            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3436                            echo self::linkClose();
    3537                           echo '</li>';
  • enteraddons/trunk/widgets/countdown_timer/traits/Templates_Components.php

    r3139722 r3383539  
    2323
    2424        $dateTime = !empty( $settings['countdown_date'] ) ? $settings['countdown_date'] : '';
    25         $text_days = !empty( $settings['text_days'] ) ? esc_js( esc_html( $settings['text_days'] ) ): esc_html__( 'Days', 'enteraddons' );
    26         $text_hour  = !empty( $settings['text_hour'] ) ? esc_js( esc_html( $settings['text_hour'] ) ) : esc_html__( 'Hour', 'enteraddons' );
    27         $text_min  = !empty( $settings['text_min'] ) ? esc_js( esc_html( $settings['text_min'] ) ) : esc_html__( 'Min', 'enteraddons' );
    28         $text_sec  = !empty( $settings['text_sec'] ) ? esc_js( esc_html( $settings['text_sec'] ) ) : esc_html__( 'Sec', 'enteraddons' );
     25        $text_days = !empty( $settings['text_days'] ) ? htmlspecialchars( wp_strip_all_tags(  $settings['text_days'] ), ENT_QUOTES, 'UTF-8' ) : esc_html__( 'Days', 'enteraddons' );
     26        $text_hour  = !empty( $settings['text_hour'] ) ? htmlspecialchars( wp_strip_all_tags( $settings['text_hour'] ), ENT_QUOTES, 'UTF-8' ) : esc_html__( 'Hour', 'enteraddons' );
     27        $text_min  = !empty( $settings['text_min'] ) ? htmlspecialchars( wp_strip_all_tags( $settings['text_min'] ), ENT_QUOTES, 'UTF-8' ) : esc_html__( 'Min', 'enteraddons' );
     28        $text_sec  = !empty( $settings['text_sec'] ) ? htmlspecialchars( wp_strip_all_tags( $settings['text_sec'] ), ENT_QUOTES, 'UTF-8' ) : esc_html__( 'Sec', 'enteraddons' );
    2929        $isDivider  = !empty( $settings['active_divider'] ) ? ' divider' : '';
    3030       
    3131        // Jan 5, 2024 15:37:25
    32         echo '<div class="star-countdown-timer'.esc_attr($isDivider).'" data-days="'.esc_attr( $text_days ).'" data-hour="'.esc_attr( $text_hour ).'" data-min="'.esc_attr( $text_min ).'" data-sec="'.esc_attr( $text_sec ).'" data-date-time="'.esc_attr( $dateTime ).'"></div>';
     32        echo '<div class="star-countdown-timer '.esc_attr($isDivider).'"
     33        data-days="'.esc_attr( $text_days ).'"
     34        data-hour="'.esc_attr( $text_hour ).'"
     35        data-min="'.esc_attr( $text_min ).'"
     36        data-sec="'.esc_attr( $text_sec ).'"
     37        data-date-time="'.esc_attr( $dateTime ).'"></div>';
     38
    3339
    3440    }
  • enteraddons/trunk/widgets/counter/Counter.php

    r2956712 r3383539  
    103103            'item_flex_alignment',
    104104            [
    105                 'label' => esc_html__( 'Flex Alignment', 'enteraddons-pro' ),
     105                'label' => esc_html__( 'Flex Alignment', 'enteraddons' ),
    106106                'type' => \Elementor\Controls_Manager::CHOOSE,
    107107                'options' => [
    108108                    'flex-start' => [
    109                         'title' => esc_html__( 'Start', 'enteraddons-pro' ),
     109                        'title' => esc_html__( 'Start', 'enteraddons' ),
    110110                        'icon' => 'eicon-h-align-left',
    111111                    ],
    112112                    'center' => [
    113                         'title' => esc_html__( 'Center', 'enteraddons-pro' ),
     113                        'title' => esc_html__( 'Center', 'enteraddons' ),
    114114                        'icon' => 'eicon-h-align-center',
    115115                    ],
    116116                    'flex-end' => [
    117                         'title' => esc_html__( 'End', 'enteraddons-pro' ),
     117                        'title' => esc_html__( 'End', 'enteraddons' ),
    118118                        'icon' => 'eicon-h-align-right',
    119119                    ],
  • enteraddons/trunk/widgets/counter/traits/Templates_Components.php

    r3148550 r3383539  
    4848            echo '<div class="enteraddons-counter-icon'.esc_attr( $iconType ).'">';
    4949                if( $settings['icon_type'] != 'img' ) {
     50                    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5051                    echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon'] );
    5152                }else {
  • enteraddons/trunk/widgets/coupon_code/traits/Template_1.php

    r2837250 r3383539  
    3232                echo '<span class="ea-coupon-code">'.esc_html( self::couponcode() ).'</span>';
    3333                ?>
    34                 <span class="ea-ccb ea-get-code" data-target="1" data-copied="<?php echo esc_attr( self::copiedText() ); ?>"><?php echo self::icon().self::copyBtnText(); ?></span>
     34                <span class="ea-ccb ea-get-code" data-target="1" data-copied="<?php echo esc_attr( self::copiedText() ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>"><?php echo self::icon().self::copyBtnText(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></span>
    3535            </div>
    3636        </div>
     
    4343        <div class="ea-coupon-code-wrap ea-ccc-style-4">
    4444            <div class="ea-coupon-code-inner ea-get-code" data-target="4" data-code="<?php echo esc_attr( self::couponcode() ); ?>" data-copied="<?php echo esc_attr( self::copiedText() ); ?>">
    45                 <span class="ea-coupon--code"><?php echo self::icon().self::copyBtnText(); ?></span>
     45                <span class="ea-coupon--code"><?php echo self::icon().self::copyBtnText(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></span>
    4646            </div>
    4747        </div>
  • enteraddons/trunk/widgets/data_table/traits/Templates_Components.php

    r2865101 r3383539  
    2727                if ( 'yes' === $item['show_icon'] ) {
    2828                    if( $item['heading_icon_type'] != 'img' ) {
     29                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2930                        echo \Enteraddons\Classes\Helper::getElementorIcon( $item['dp_heading_icon'] );
    3031                    }
     
    4647                if ( 'yes' === $item['ea_show_icon'] ) {
    4748                    if( $item['icon_type'] != 'img' ) {
     49                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4850                        echo \Enteraddons\Classes\Helper::getElementorIcon( $item['tbody_icon'] );
    4951                    } else {
  • enteraddons/trunk/widgets/events_card/traits/Templates_Components.php

    r3148550 r3383539  
    3939        $settings = self::getSettings();
    4040        if( !empty( $settings['img']['url'] ) ) {
     41            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4142            echo \Elementor\Group_Control_Image_Size::get_attachment_image_html( $settings, 'thumbnail', 'img' );
    4243        }
     
    4546        $settings = self::getSettings();       
    4647        if( !empty( $settings['event_type'] ) ) {
     48            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4749            echo '<span class="el-event-cat">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['event_type_icon'] ).esc_html( $settings['event_type'] ).'</span>';
    4850        }
     
    5860       
    5961        if( !empty( $settings['event_place'] ) ) {
     62            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    6063            echo '<span class="el-event-place">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['event_place_icon'] ).esc_html( $settings['event_place'] ).'</span>';
    6164        }
     
    6568        $settings = self::getSettings();
    6669        if( !empty( $settings['event_date'] ) ) {
     70            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    6771            echo '<span class="enteraddons-date el-event-date '.esc_attr( $settings['date_position'] ).'">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['event_date_icon'] ).\Enteraddons\Classes\Helper::allowFormattingTagHtml( $settings['event_date'] ).'</span>';
    6872        }
     
    7276        $settings = self::getSettings();
    7377        if( !empty( $settings['event_time'] ) ) {
     78            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    7479            echo '<span class="el-event-time">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['event_time_icon'] ).esc_html( $settings['event_time'] ).'</span>';
    7580        }
     
    7883        $settings = self::getSettings();
    7984        if( !empty( $settings['event_ticket_price'] ) ) {
     85            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    8086            echo '<span class="el-event-price">'.\Enteraddons\Classes\Helper::allowFormattingTagHtml( $settings['event_ticket_price'] ).'</span>';
    8187        }       
     
    8490        $settings = self::getSettings();
    8591        $label     = !empty( $settings['btn_label'] ) ?  $settings['btn_label'] : esc_html__( 'DETAILS', 'enteraddons' );
    86         echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $settings['btn_link'], $label, 'enteraddons-btn');
     92        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     93        echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $settings['btn_link'], esc_html( $label ), 'enteraddons-btn');
    8794    }
    8895
  • enteraddons/trunk/widgets/feature_card/traits/Templates_Components.php

    r3349846 r3383539  
    3535
    3636            if( $settings['icon_type'] != 'img' ) {
     37                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3738                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon'] );
    3839            }else {
     
    9293            $iconRight = ' '.self::button_icon();
    9394        }
    94 
     95        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    9596        echo '<div class="enteraddons-button-wrapper">'.self::linkOpen().$iconLeft.esc_html( $settings['btn_text'] ).$iconRight.self::linkClose().'</a></div>';
    9697    }
  • enteraddons/trunk/widgets/flip_card/traits/Templates_Components.php

    r3139722 r3383539  
    2727
    2828            if( $settings['front_icon_type'] != 'img' ) {
     29                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2930                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['front_icon'] );
    3031            }else {
     
    4748
    4849            if( $settings['back_icon_type'] != 'img' ) {
     50                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4951                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['back_icon'] );
    5052            } else {
     
    7476        $descriptions = self::getSettings();
    7577        if( !empty( $descriptions['front_desc'] ) ) {
     78        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    7679        echo '<div class="flip-desc">'.wpautop( wp_kses_post( $descriptions['front_desc'] ) ).'</div>';
    7780        }
     
    8184        $descriptions = self::getSettings();
    8285        if( !empty( $descriptions['back_desc'] ) ) {
     86        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    8387        echo '<div class="flip-desc">'.wpautop( wp_kses_post( $descriptions['back_desc'] ) ).'</div>';
    8488        }
  • enteraddons/trunk/widgets/horizontal_pricing_table/traits/Templates_Components.php

    r3377483 r3383539  
    2626        if( $settings['icon_type'] != 'img' ) {
    2727            echo '<div class="ea-product-logo">';
     28                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2829                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['pricing_icon'] );
    2930            echo '</div>';
     
    5354
    5455        if ( !empty( $feature['feature_icon'] ) ) {
    55                 echo '<span class="ea-feature-icon">'.\Enteraddons\Classes\Helper::getElementorIcon( $feature['feature_icon'] ).'</span>';
     56                echo '<span class="ea-feature-icon">'.\Enteraddons\Classes\Helper::getElementorIcon( $feature['feature_icon'] ).'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5657        }
    5758        if( !empty( $feature['product_feature'] ) ) {
     
    108109        if( !empty( $settings['product_ratings'] ) ) {
    109110            echo '<div class="ea-rating-star">';
     111                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    110112                echo \Enteraddons\Classes\Helper::ratingStar( $settings['product_ratings'], false );
    111113            echo'</div>';
     
    128130        $settings = self::getSettings();
    129131        $label     = !empty( $settings['button_label'] ) ?  $settings['button_label'] : esc_html__( 'Buy Now', 'enteraddons' );
    130         echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $settings['button_link'], $label, 'ea-h-pricing-btn');
     132        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     133        echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $settings['button_link'], esc_html( $label ), 'ea-h-pricing-btn');
    131134    }
    132135}
  • enteraddons/trunk/widgets/icon_card/traits/Templates_Components.php

    r2747889 r3383539  
    2828
    2929            if( $settings['icon_type'] != 'img' ) {
     30                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3031                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon'] );
    3132            }else {
     
    4243
    4344            if( $settings['pricing_icon_type'] != 'img' && !empty( $settings['pricing_icon'] ) ) {
     45                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4446                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['pricing_icon'] );
    4547            } else {
     
    9799        }
    98100
    99         echo self::linkOpen().$iconLeft.esc_html( $settings['btn_text'] ).$iconRight.self::linkClose();
     101        echo self::linkOpen().$iconLeft.esc_html( $settings['btn_text'] ).$iconRight.self::linkClose(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    100102    }
    101103
  • enteraddons/trunk/widgets/image_compare/Image_Compare.php

    r2956712 r3383539  
    8787                'label'     => esc_html__( 'Title', 'enteraddons' ),
    8888                'type'      => \Elementor\Controls_Manager::TEXT,
    89                 'dynamic' => [
    90                     'active' => true,
    91                 ],
    9289                'default'   => esc_html__( 'Original', 'enteraddons' )
    9390            ]
     
    119116                'label'     => esc_html__( 'Title', 'enteraddons' ),
    120117                'type'      => \Elementor\Controls_Manager::TEXT,
    121                 'dynamic' => [
    122                     'active' => true,
    123                 ],
    124118                'default'   => esc_html__( 'Modified', 'enteraddons' )
    125119            ]
  • enteraddons/trunk/widgets/image_compare/traits/Template_1.php

    r2956712 r3383539  
    2727        $modifiedImgAltText = \Elementor\Control_Media::get_image_alt( $settings['modified_image'] );
    2828
    29         echo '<div class="cd-image-container" data-orientation="'.esc_attr( $orientation ).'" data-original-text="'.esc_html( $originalText ).'" data-modified-text="'.esc_html( $modifiedText ).'">
     29        echo '<div class="cd-image-container" data-orientation="'.esc_attr( $orientation ).'" data-original-text="'.esc_attr( wp_strip_all_tags( $originalText ) ).'" data-modified-text="'.esc_attr( wp_strip_all_tags( $modifiedText ) ).'">
    3030                <img src="'.esc_url( $originalImg ).'" alt="'.esc_attr( $originalImgAltText ).'">
    3131                <img src="'.esc_url( $modifiedImg ).'" alt="'.esc_attr( $modifiedImgAltText ).'">
  • enteraddons/trunk/widgets/image_gallery/traits/Template_1.php

    r2789624 r3383539  
    3535                    <?php
    3636                    if( $linkType == 'wrap_link' ) {
     37                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3738                        echo self::linkOpen( $gimage['link'] );
    3839                    }
     
    5455                    <?php
    5556                    if( $linkType == 'wrap_link' ) {
     57                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5658                        echo self::linkClose();
    5759                    }
  • enteraddons/trunk/widgets/image_gallery/traits/Templates_Components.php

    r2747889 r3383539  
    2121    protected static function imagePopup( $gimage, $popIcon ) {
    2222        echo '<a href="'.esc_url( $gimage['img']['url'] ).'">';               
    23             echo \Enteraddons\Classes\Helper::getElementorIcon( $popIcon );
     23            echo \Enteraddons\Classes\Helper::getElementorIcon( $popIcon ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2424        echo '</a>';
    2525    }
  • enteraddons/trunk/widgets/image_hotspot/traits/Template_1.php

    r2789639 r3383539  
    1919        ?>
    2020
    21         <div class="ea-image-hotspot responsive-hotspot-wrap" data-hotspotsettings="<?php echo htmlspecialchars( $hotspotsettings, ENT_QUOTES, 'UTF-8'); ?>">
     21        <div class="ea-image-hotspot responsive-hotspot-wrap" data-hotspotsettings="<?php echo htmlspecialchars( $hotspotsettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2222            <?php
    2323            self::background_image();
  • enteraddons/trunk/widgets/image_icon_card/traits/Template_1.php

    r2789639 r3383539  
    3131                    //Icon
    3232                    if( 'yes' == $settings['icon_link_condition'] ) {
     33                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3334                        echo self::linkOpen();
    3435                    }
    3536                    self::icon();
    3637                    if( 'yes' == $settings['icon_link_condition'] ) {
     38                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3739                        echo self::linkClose();
    3840                    }
  • enteraddons/trunk/widgets/image_icon_card/traits/Templates_Components.php

    r2789639 r3383539  
    2424
    2525        if( !empty( $settings['image']['url'] ) ) {
     26            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2627            echo \Elementor\Group_Control_Image_Size::get_attachment_image_html( $settings, 'thumbnail', 'image' );
    2728        }
     
    5152    protected static function icon() {
    5253        $settings = self::getSettings();       
    53         echo '<div class="eaicon ea-'.esc_attr( $settings['image_icon_card_icon_position']).'">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['image_icon_card_icon'] ).'</div>';
     54        echo '<div class="eaicon ea-'.esc_attr( $settings['image_icon_card_icon_position']).'">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['image_icon_card_icon'] ).'</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5455    }
    5556
  • enteraddons/trunk/widgets/image_slider/traits/Template_1.php

    r2747889 r3383539  
    2020
    2121        ?>
    22         <div class="enteraddons-app-slider enteraddons-slider owl-carousel dots-style--one" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); ?>">
     22        <div class="enteraddons-app-slider enteraddons-slider owl-carousel dots-style--one" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2323            <?php
    2424            // Single Slide
  • enteraddons/trunk/widgets/infobox/Infobox.php

    r3371116 r3383539  
    10411041            'ribbon_text_color',
    10421042            [
    1043                 'label' => esc_html__('Text Color', 'enteraddons-pro'),
     1043                'label' => esc_html__('Text Color', 'enteraddons'),
    10441044                'type' => \Elementor\Controls_Manager::COLOR,
    10451045                'selectors' => [
     
    10521052            [
    10531053                'name' => 'ribbon_typography',
    1054                 'label' => esc_html__('Typography', 'enteraddons-pro'),
     1054                'label' => esc_html__('Typography', 'enteraddons'),
    10551055                'selector' => '{{WRAPPER}} .infobox-card-ribbon',
    10561056            ]
  • enteraddons/trunk/widgets/infobox/traits/Template_1.php

    r2867667 r3383539  
    2323            //
    2424            if( 'yes' == $settings['wrapper_link'] ) {
    25                 echo self::linkOpen();
     25                echo self::linkOpen(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2626            }
    2727            ?>
     
    4545            <?php
    4646            if( 'yes' == $settings['wrapper_link'] ) {
    47                 echo self::linkClose();
     47                echo self::linkClose(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4848            }
    4949            ?>
  • enteraddons/trunk/widgets/infobox/traits/Templates_Components.php

    r3371116 r3383539  
    3232
    3333        if ($settings['icon_type'] != 'img') {
     34            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3435            echo \Enteraddons\Classes\Helper::getElementorIcon($settings['icon']);
    3536        } else {
     
    7172        $descriptions = self::getSettings();
    7273        if (!empty($descriptions['description'])) {
     74            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    7375            echo wpautop(wp_kses_post($descriptions['description']));
    7476        }
     
    9294        }
    9395
    94         echo '<div class="enteraddons-button-wrapper">' . self::linkOpen() . $iconLeft . '<span class="ic-btn--text">' . esc_html($settings['btn_text']) . '</span>' . $iconRight . self::linkClose() . '</a></div>';
     96        echo '<div class="enteraddons-button-wrapper">' . self::linkOpen() . $iconLeft . '<span class="ic-btn--text">' . esc_html($settings['btn_text']) . '</span>' . $iconRight . self::linkClose() . '</a></div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    9597    }
    9698
     
    107109        }
    108110
    109         return '<span class="btn-icons"><span class="' . esc_attr($normalClass) . '">' . Helper::allowFormattingTagHtml($normalIcon) . '</span>' . $getHoverIcon . '</span>';
     111        return '<span class="btn-icons"><span class="' . esc_attr($normalClass) . '">' . Helper::allowFormattingTagHtml($normalIcon) . '</span>' . $getHoverIcon . '</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    110112    }
    111113    protected static function linkOpen()
  • enteraddons/trunk/widgets/logo_carousel/traits/Template_1.php

    r2747889 r3383539  
    2020        $image_width_type = $settings['logo_image_width_type'];
    2121        ?>
    22         <div class="enteraddons-client-slider owl-carousel <?php echo esc_attr( 'hover--style-'.$settings['logo_hover_style'] ); ?>" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); ?>">
     22        <div class="enteraddons-client-slider owl-carousel <?php echo esc_attr( 'hover--style-'.$settings['logo_hover_style'] ); ?>" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2323               
    2424               <?php
     
    2929                    // anchor open
    3030                    if( !empty( $logo['link']['url'] ) ) {
     31                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3132                        echo self::linkOpen( $logo['link'] );
    3233                    }
     
    3435                    // Anchor close
    3536                    if( !empty( $logo['link']['url'] ) ) {
     37                        // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3638                        echo self::linkClose();
    3739                    }
  • enteraddons/trunk/widgets/lottie_animation/traits/Template_1.php

    r2901124 r3383539  
    1919
    2020        if( 'yes' == $settings['wrapper_link'] ) {
    21             echo self::linkOpen();
     21            echo self::linkOpen(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2222        }
    2323        ?>
     
    4545        <?php
    4646        if( 'yes' == $settings['wrapper_link'] ) {
    47             echo self::linkClose();
     47            echo self::linkClose(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4848        }
    4949    }
  • enteraddons/trunk/widgets/nav_menu/traits/Template_1.php

    r2819736 r3383539  
    2424
    2525            echo '<div class="ea-nav-menu-wrapper">';
    26                 echo '<div class="ea-hamburger-menu">
    27                   <span class="ea-menu-bar-btn">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['menu_icon'] ).'</span>
    28                   <span class="ea-menu-close-btn">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['menu_close_icon'] ).'</span>
    29                 </div>';
     26                echo '<div class="ea-hamburger-menu">';
     27                    echo '<span class="ea-menu-bar-btn">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['menu_icon'] ).'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     28                    echo '<span class="ea-menu-close-btn">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['menu_close_icon'] ).'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     29                echo '</div>';
    3030                echo '<div class="ea-nav-wrap-inner ea-desktop-nav">';
    3131                    wp_nav_menu( array(
  • enteraddons/trunk/widgets/nav_menu_offcanvas/traits/Template_1.php

    r2956712 r3383539  
    2020            $id = self::getWidgetObject()->get_id();
    2121            echo '<div class="ea-offcanvas-nav-button-wrapper">';
    22                 echo '<div class="ea-hamburger-offcanvas-menu menu-trigger" data-toggle="offCanvas" data-target="mobile_menu_'.esc_attr( $id ).'">
    23                   <span class="ea-menu-bar-btn">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['menu_icon'] ).'</span>
    24                 </div>';
     22                echo '<div class="ea-hamburger-offcanvas-menu menu-trigger" data-toggle="offCanvas" data-target="mobile_menu_'.esc_attr( $id ).'">';
     23                    echo '<span class="ea-menu-bar-btn">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['menu_icon'] ).'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     24                echo '</div>';
    2525            echo '</div>';
    2626        }
  • enteraddons/trunk/widgets/nav_search/traits/Template_1.php

    r2865101 r3383539  
    2020            echo '<div class="ea-search-btn-wrap"><div class="ea-search-btn search-icon ea-search-icon-wrap" open-modal="search">';
    2121                if( !empty( $settings['search_modal_icon'] ) ) {
     22                    // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2223                    echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['search_modal_icon'] );
    2324                }
  • enteraddons/trunk/widgets/nav_search/traits/Templates_Components.php

    r2819736 r3383539  
    3232            <button type="submit" class="ea-search-submit-btn">';
    3333            if( !empty( $settings['search_btn_type'] ) && $settings['search_btn_type'] == 'icon' ) {
     34                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3435                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['search_btn_icon'] );
    3536            } else {
     
    5354                echo '<button type="submit" class="submit-btn ea-search-submit-btn">';
    5455                    if( !empty( $settings['search_btn_type'] ) && $settings['search_btn_type'] == 'icon' ) {
    55                         echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['search_btn_icon'] );
     56                        echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['search_btn_icon'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5657                    } else {
    5758                        if( !empty( $settings['search_btn_text'] ) ) {
  • enteraddons/trunk/widgets/newsletter/traits/Template_1.php

    r2747889 r3383539  
    2626                // Button
    2727                self::searchButton();
     28                wp_nonce_field( 'enteraddons_newsletter_nonce_action', 'enteraddons_newsletter_nonce' );
    2829                ?>
    2930                </div>
  • enteraddons/trunk/widgets/newsletter/traits/Templates_Components.php

    r2747889 r3383539  
    2424    protected static function searchButton() {
    2525        $settings = self::getSettings();
    26         echo '<button class="enteraddons-newsletter-btn">'.esc_html( $settings['search_btn_text'] ).self::icon().'</button>';
     26        echo '<button class="enteraddons-newsletter-btn">'.esc_html( $settings['search_btn_text'] ).self::icon().'</button>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2727    }
    2828    protected static function icon() {
  • enteraddons/trunk/widgets/photo_stack/traits/Template_1.php

    r2789639 r3383539  
    2424               <?php
    2525                if( !empty( $item['link']['url'] ) ) {
    26                     echo self::linkOpen( $item['link'] );
     26                    echo self::linkOpen( $item['link'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2727                }
    2828                self::image($item);
    2929
    3030                if( !empty( $item['link']['url'] ) ) {
    31                 echo self::linkClose();
     31                echo self::linkClose(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3232                }
    3333                    ?>
  • enteraddons/trunk/widgets/post_grid/traits/Template_1.php

    r3063156 r3383539  
    4343
    4444                    echo '<div class="enteraddons-entry-header position-relative '.esc_attr( $settings['img_hover_animation'] ).'">';
    45                         echo self::anchorOpen('enteraddons-entry-thumb');
     45                        echo self::anchorOpen('enteraddons-entry-thumb'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4646                        self::thumbImage();
    47                         echo self::anchorEnd();
     47                        echo self::anchorEnd(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4848                        // Meta On thumbnail
    4949                        if( $settings['meta_position'] == 'on_thumbnail' ) {
  • enteraddons/trunk/widgets/post_grid/traits/Templates_Components.php

    r3148550 r3383539  
    3232
    3333        echo '<'.tag_escape( $tag ).' class="entry-title">';
    34             echo self::anchorOpen('enteraddons-entry-thumb');
     34            echo self::anchorOpen('enteraddons-entry-thumb'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3535                the_title();
    36             echo self::anchorEnd();
     36            echo self::anchorEnd(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3737        echo '</'.tag_escape( $tag ).'>';
    3838    }
     
    5656        $settings = self::getSettings();
    5757        echo '<div class="entry-summery">';
    58         echo wp_trim_words( get_the_excerpt(), esc_html( $settings['excerpt_count']['size'] ) );
     58        echo wp_trim_words( get_the_excerpt(), esc_html( $settings['excerpt_count']['size'] ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5959        echo '</div>';
    6060    }
     
    7373                }
    7474               
    75                 echo '<span class="meta-author">'.Helper::allowFormattingTagHtml($getIcon).self::author().'</span>';
     75                echo '<span class="meta-author">'.Helper::allowFormattingTagHtml($getIcon).self::author().'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    7676            }
    7777            //
    7878            if( !empty( $settings['show_post_date']  ) ) {
    7979                $icon = Helper::getElementorIcon( $settings['meta_date_icon'] );
    80                 echo '<span class="posted-on">'.Helper::allowFormattingTagHtml($icon).self::postDate().'</span>';
     80                echo '<span class="posted-on">'.Helper::allowFormattingTagHtml($icon).self::postDate().'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    8181            }
    8282            //
    8383            if( !empty( $settings['show_comments'] ) ) {
    8484                $icon = Helper::getElementorIcon( $settings['meta_comments_icon'] );
    85                 echo '<span class="post-comment">'.Helper::allowFormattingTagHtml($icon).self::comments().'</span>';
     85                echo '<span class="post-comment">'.Helper::allowFormattingTagHtml($icon).self::comments().'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    8686            }
    8787        echo '</div>';
     
    147147        }
    148148
    149         echo self::anchorOpen('post-grid-btn').$iconLeft.esc_html( $settings['btn_text'] ).$iconRight.self::anchorEnd();
     149        echo self::anchorOpen('post-grid-btn').$iconLeft.esc_html( $settings['btn_text'] ).$iconRight.self::anchorEnd(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    150150    }
    151151
  • enteraddons/trunk/widgets/pricing_table/traits/Templates_Components.php

    r3195822 r3383539  
    8282                    foreach( $settings['pricing_features'] as $features ) {
    8383                        $title = !empty( $features['name'] ) ? $features['name'] : '';
    84                         echo '<li class="elementor-repeater-item-' .esc_attr( $features['_id'] ). '">'.\Enteraddons\Classes\Helper::getElementorIcon( $features['icon'] ).' '.esc_html( $title ).'</li>';
     84                        echo '<li class="elementor-repeater-item-' .esc_attr( $features['_id'] ). '">'.\Enteraddons\Classes\Helper::getElementorIcon( $features['icon'] ).' '.esc_html( $title ).'</li>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    8585                    }
    8686                echo '</ul>';
     
    9696            $btnData = $btnText.$btnIcon;
    9797           
    98             echo '<div class="enteraddons-pt-footer">'.\Enteraddons\Classes\Helper::getElementorLinkHandler( $settings['link'], $btnData, 'enteraddons-btn' ).'</div>';
     98            echo '<div class="enteraddons-pt-footer">'.\Enteraddons\Classes\Helper::getElementorLinkHandler( $settings['link'], $btnData, 'enteraddons-btn' ).'</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    9999        }
    100100       
  • enteraddons/trunk/widgets/pricing_table_tab/traits/Templates_Components.php

    r3349846 r3383539  
    111111                $is_active = !empty( $tableContent['is_active'] ) && $tableContent['is_active'] == 'yes' ? 'active' :'';
    112112
    113                 echo '<div class="single-price '.esc_attr( $is_active ).'">
    114                         <div class="price-head">
    115                             '.self::title( esc_html( $tableContent['title'] ) ).self::price( esc_html( $salePrice ), esc_html( $regularPrice ), esc_html( $duration ) ).self::divider().'
    116                         </div>
    117                         <div class="price-body">
     113                echo '<div class="single-price '.esc_attr( $is_active ).'">';
     114
     115                        echo '<div class="price-head">';
     116                        echo self::title( esc_html( $tableContent['title'] ) ).self::price( esc_html( $salePrice ), esc_html( $regularPrice ), esc_html( $duration ) ).self::divider(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     117                        echo '</div>';
     118                        echo '<div class="price-body">
    118119                            '.wp_kses_post( $tableContent['features'] ).'
    119                         </div>
    120                         <div class="btn-wrap">'.self::button( $tableContent['link'], esc_html( $tableContent['btn_text'] ) ).'</div>
    121                     </div>';
     120                        </div>';
     121                        echo '<div class="btn-wrap">'.self::button( $tableContent['link'], esc_html( $tableContent['btn_text'] ) ).'</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     122                    echo '</div>';
    122123
    123124            }
     
    137138                $is_active = !empty( $tableContent['is_active'] ) && $tableContent['is_active'] == 'yes' ? 'active' :'';
    138139
    139                 echo '<div class="single-price '.esc_attr( $is_active ).'">
    140                         <div class="price-head">
    141                             '.self::title( $tableContent['title'] ).self::price( esc_html( $salePrice ), esc_html($regularPrice), esc_html($duration) ).self::divider().'
    142                         </div>
    143                         <div class="price-body">
     140                echo '<div class="single-price '.esc_attr( $is_active ).'">';
     141                        echo '<div class="price-head">';
     142                            echo self::title( $tableContent['title'] ).self::price( esc_html( $salePrice ), esc_html($regularPrice), esc_html($duration) ).self::divider(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     143                        echo '</div>';
     144                        echo '<div class="price-body">
    144145                            '.wp_kses_post( $tableContent['features'] ).'
    145                         </div>
    146                         <div class="btn-wrap">'.self::button( $tableContent['link'], esc_html( $tableContent['btn_text'] ) ).'</div>
    147                     </div>';
     146                        </div>';
     147                        echo '<div class="btn-wrap">'.self::button( $tableContent['link'], esc_html( $tableContent['btn_text'] ) ).'</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     148                    echo '</div>';
    148149
    149150            }
  • enteraddons/trunk/widgets/product_carousel/traits/Template_1.php

    r2837250 r3383539  
    2828                ?>
    2929               
    30                 <div class="owl-carousel enteraddons-nav-style--seven"  data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); ?>">
     30                <div class="owl-carousel enteraddons-nav-style--seven"  data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    3131
    3232                    <?php
     
    8787                        <!-- Content -->
    8888                        <div class="enteraddons-shop-content">
    89                             <?php echo '<div class="enteraddons-product-tag">'.wc_get_product_category_list( $productId ).'</div>'; ?>
     89                            <?php echo '<div class="enteraddons-product-tag">'.wc_get_product_category_list( $productId ).'</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    9090
    9191                            <h6 class="enteraddons-product-title">
  • enteraddons/trunk/widgets/profile_card/Profile_Card.php

    r2956712 r3383539  
    12001200            'follower_text_color',
    12011201            [
    1202                 'label' => esc_html__( 'Color', 'enteraddonst' ),
     1202                'label' => esc_html__( 'Color', 'enteraddons' ),
    12031203                'type' => Controls_Manager::COLOR,
    12041204                'selectors' => [
     
    12101210            'follower_text_margin',
    12111211            [
    1212                 'label' => esc_html__( 'Margin', 'enteraddonst' ),
     1212                'label' => esc_html__( 'Margin', 'enteraddons' ),
    12131213                'type' => Controls_Manager::DIMENSIONS,
    12141214                'size_units' => [ 'px', '%', 'em' ],
     
    12421242            'pro_link_text_color',
    12431243            [
    1244                 'label' => esc_html__( 'Color', 'enteraddonst' ),
     1244                'label' => esc_html__( 'Color', 'enteraddons' ),
    12451245                'type' => Controls_Manager::COLOR,
    12461246                'selectors' => [
     
    12601260            [
    12611261                'name' => 'pro_link_text_text_shadow',
    1262                 'label' => esc_html__( 'Text Shadow', 'enteraddonst' ),
     1262                'label' => esc_html__( 'Text Shadow', 'enteraddons' ),
    12631263                'selector' => '{{WRAPPER}} .ea-profile-card .profile-info .btn-link',
    12641264            ]
     
    12671267            'pro_link_text_margin',
    12681268            [
    1269                 'label' => esc_html__( 'Margin', 'enteraddonst' ),
     1269                'label' => esc_html__( 'Margin', 'enteraddons' ),
    12701270                'type' => Controls_Manager::DIMENSIONS,
    12711271                'size_units' => [ 'px', '%', 'em' ],
     
    12781278            'pro_link_text_padding',
    12791279            [
    1280                 'label' => esc_html__( 'Padding', 'enteraddonst' ),
     1280                'label' => esc_html__( 'Padding', 'enteraddons' ),
    12811281                'type' => Controls_Manager::DIMENSIONS,
    12821282                'size_units' => [ 'px', '%', 'em' ],
     
    13211321            'ratings_star_icon_color',
    13221322            [
    1323                 'label' => esc_html__( 'Color', 'enteraddonst' ),
     1323                'label' => esc_html__( 'Color', 'enteraddons' ),
    13241324                'type' => Controls_Manager::COLOR,
    13251325                'selectors' => [
     
    13321332            [
    13331333                'name' => 'ratings_star_border',
    1334                 'label' => esc_html__( 'Border', 'enteraddonst' ),
     1334                'label' => esc_html__( 'Border', 'enteraddons' ),
    13351335                'selector' => '{{WRAPPER}} .ea-profile-card .profile-content .sb-star-rating i',
    13361336            ]
     
    13391339            'ratings_star_border_radius',
    13401340            [
    1341                 'label' => esc_html__( 'Border Radius', 'enteraddonst' ),
     1341                'label' => esc_html__( 'Border Radius', 'enteraddons' ),
    13421342                'type' => Controls_Manager::SLIDER,
    13431343                'size_units' => [ 'px','%' ],
     
    13621362            'ratings_star_margin',
    13631363            [
    1364                 'label' => esc_html__( 'Margin', 'enteraddonst' ),
     1364                'label' => esc_html__( 'Margin', 'enteraddons' ),
    13651365                'type' => Controls_Manager::DIMENSIONS,
    13661366                'size_units' => [ 'px', '%', 'em' ],
     
    13731373            'ratings_star_padding',
    13741374            [
    1375                 'label' => esc_html__( 'Padding', 'enteraddonst' ),
     1375                'label' => esc_html__( 'Padding', 'enteraddons' ),
    13761376                'type' => Controls_Manager::DIMENSIONS,
    13771377                'size_units' => [ 'px', '%', 'em' ],
  • enteraddons/trunk/widgets/profile_card/traits/Template_1.php

    r2789639 r3383539  
    4949                if( !empty( $settings['profile_name'] ) ) {
    5050                echo '<div class="profile-title">';
    51                     echo self::linkOpen();
     51                    echo self::linkOpen(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5252                        echo '<h3>';
    5353                            self::text( $settings['profile_name'] );
    5454                        echo '</h3>';
    55                     echo self::linkClose();
     55                    echo self::linkClose(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5656                echo '</div>';
    5757                }
     
    7878                    //
    7979                    if( !empty( $settings['profile_link_text'] ) ){
    80                         echo self::linkOpen();
     80                        echo self::linkOpen(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    8181                        self::text( $settings['profile_link_text'] );
    82                         echo self::linkClose();
     82                        echo self::linkClose(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    8383                    }
    8484                     
  • enteraddons/trunk/widgets/profile_card/traits/Template_2.php

    r2789639 r3383539  
    3030                //
    3131                if( !empty( $settings['profile_name'] ) ) {
    32                   echo self::linkOpen().'<h3>';  
     32                  echo self::linkOpen().'<h3>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3333                  self::text( $settings['profile_name'] );
    34                   echo self::linkClose().'</h3>';
     34                  echo self::linkClose().'</h3>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3535                }
    3636                //
  • enteraddons/trunk/widgets/profile_card/traits/Templates_Components.php

    r2789639 r3383539  
    5656    protected static function socialIcon( $item ) {
    5757        if( ! empty( $item['social_icon'] ) ) {
    58             echo self::linkOpen2( $item );
    59             echo \Enteraddons\Classes\Helper::getElementorIcon( $item['social_icon'] );
    60             echo self::linkClose();
     58            echo self::linkOpen2( $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     59            echo \Enteraddons\Classes\Helper::getElementorIcon( $item['social_icon'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
     60            echo self::linkClose(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    6161        }
    6262    }
     
    6565        $settings = self::getSettings();
    6666        if( !empty( $settings['ratings'] ) ) {
    67             echo '<div class="rating">'.\Enteraddons\Classes\Helper::ratingStar( $settings['ratings'], false ).'</div>';
     67            echo '<div class="rating">'.\Enteraddons\Classes\Helper::ratingStar( $settings['ratings'], false ).'</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    6868        }
    6969    }
  • enteraddons/trunk/widgets/recent_posts/Recent_Posts.php

    r3063156 r3383539  
    396396            [
    397397                'name' => 'img_border',
    398                 'label' => esc_html__( 'Border', 'enteraddons-pro' ),
     398                'label' => esc_html__( 'Border', 'enteraddons' ),
    399399                'selector' => '{{WRAPPER}} .ea-recent-posts .ea-repost-image',
    400400            ]
  • enteraddons/trunk/widgets/recent_posts/traits/Template_1.php

    r3063156 r3383539  
    2929                   if( !empty( $settings['show_post_image']  ) ) {
    3030                        echo '<div class="ea-repost-image">';
    31                             echo self::anchorOpen('ea-repost-thumb');
     31                            echo self::anchorOpen('ea-repost-thumb'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3232                                self::thumbImage();
    33                             echo self::anchorEnd();
     33                            echo self::anchorEnd();  // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3434                        echo '</div>';   
    3535                   }
  • enteraddons/trunk/widgets/recent_posts/traits/Templates_Components.php

    r3148550 r3383539  
    3131        }
    3232        echo '<'.tag_escape( $tag ).' class="ea-repost-title">';
    33             echo self::anchorOpen('ea-repost-title-tag');
     33            echo self::anchorOpen('ea-repost-title-tag'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3434                the_title();
    35             echo self::anchorEnd();
     35            echo self::anchorEnd(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3636        echo '</'.tag_escape( $tag ).'>';
    3737    }
     
    4646        $settings = self::getSettings();
    4747        if( !empty( $settings['show_post_date']  ) ) {
    48             echo '<span class="ea-posted-on">'.self::postDate().'</span>';
     48            echo '<span class="ea-posted-on">'.self::postDate().'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4949        }
    5050       
  • enteraddons/trunk/widgets/review_badge/traits/Templates_Components.php

    r2747889 r3383539  
    3030        $settings = self::getSettings();
    3131        if( !empty( $settings['ratings'] ) ) {
    32             echo '<div class="rating">'.\Enteraddons\Classes\Helper::ratingStar( $settings['ratings'], false ).'</div>';
     32            echo '<div class="rating">'.\Enteraddons\Classes\Helper::ratingStar( $settings['ratings'], false ).'</div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3333        }
    3434       
  • enteraddons/trunk/widgets/service_card/traits/Template_1.php

    r2747889 r3383539  
    2020            <?php
    2121            if( 'yes' == $settings['wrapper_link'] ) {
    22                 echo self::linkOpen();
     22                echo self::linkOpen(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2323            }
    2424            ?>
     
    3838            <?php
    3939            if( 'yes' == $settings['wrapper_link'] ) {
    40                 echo self::linkClose();
     40                echo self::linkClose(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4141            }
    4242            ?>
  • enteraddons/trunk/widgets/service_card/traits/Templates_Components.php

    r3148550 r3383539  
    4848    protected static function icon() {
    4949        $settings = self::getSettings();       
    50         echo '<span class="card-icon">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['icon'] ).'</span>';
     50        echo '<span class="card-icon">'.\Enteraddons\Classes\Helper::getElementorIcon( $settings['icon'] ).'</span>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5151    }
    5252
  • enteraddons/trunk/widgets/social_icon/traits/Templates_Components.php

    r2747889 r3383539  
    3131        $settings = self::getSettings();
    3232        if( $data['icon_type'] != 'img' && !empty( $data['icon'] ) ) {
     33            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3334            echo \Enteraddons\Classes\Helper::getElementorIcon( $data['icon'] );
    3435        } else {
  • enteraddons/trunk/widgets/team/traits/Templates_Components.php

    r2865101 r3383539  
    6262        $settings = self::getSettings();
    6363        $label     = !empty( $settings['link_label'] ) ?  $settings['link_label'] : esc_html__( 'VIEW DETAILS', 'enteraddons' );
    64         echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $settings['more_link'], $label, 'readme-more-link');
     64        echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $settings['more_link'], esc_html( $label ), 'readme-more-link'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    6565    }
    6666
     
    7070
    7171        if( !empty( $settings['image']['url'] ) ) {
    72             echo \Elementor\Group_Control_Image_Size::get_attachment_image_html( $settings, 'thumbnail', 'image' );
     72            echo \Elementor\Group_Control_Image_Size::get_attachment_image_html( $settings, 'thumbnail', 'image' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    7373        }
    7474    }
     
    8484            foreach( $settings['social'] as $social ) {
    8585                $icon = \Enteraddons\Classes\Helper::getElementorIcon( $social['social_icon'] );
    86                 echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $social['social_url'], $icon );
     86                echo \Enteraddons\Classes\Helper::getElementorLinkHandler( $social['social_url'], $icon ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    8787            }
    8888            ?>
  • enteraddons/trunk/widgets/testimonial-multi-rows/traits/Template_1.php

    r3063156 r3383539  
    1616    public static function markup_style_1() {
    1717
    18         $settings       = self::getDisplaySettings();
     18        $settings = self::getDisplaySettings();
    1919
    2020        $perRowItem = !empty( $settings['per_row_item_number'] ) ? $settings['per_row_item_number'] : '';
  • enteraddons/trunk/widgets/testimonial-multi-rows/traits/Templates_Components.php

    r2747889 r3383539  
    3535        }
    3636       
    37         echo'<p>'.$getLeftQuote.esc_html( $descriptions ).$getRightQuote.'</p>';
     37        echo'<p>'.$getLeftQuote.esc_html( $descriptions ).$getRightQuote.'</p>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3838    }
    3939
  • enteraddons/trunk/widgets/testimonial/traits/Template_1.php

    r2747889 r3383539  
    2020
    2121        ?>
    22         <div class="enteraddons-testimonial-slider slider-style--default owl-carousel" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); ?>">
     22        <div class="enteraddons-testimonial-slider slider-style--default owl-carousel" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2323            <?php
    2424            if( !empty( $settings['testimonial'] ) ):
  • enteraddons/trunk/widgets/testimonial/traits/Template_2.php

    r2747889 r3383539  
    2020
    2121        ?>
    22         <div class="enteraddons-testimonial-slider slider-style--default owl-carousel" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); ?>">
     22        <div class="enteraddons-testimonial-slider slider-style--default owl-carousel" data-slidersettings="<?php echo htmlspecialchars( $sliderSettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2323            <?php
    2424            if( !empty( $settings['testimonial'] ) ):
  • enteraddons/trunk/widgets/testimonial/traits/Templates_Components.php

    r3087147 r3383539  
    102102        }
    103103       
    104         echo'<div class="enteraddons-testimonial-text"><p>'.Helper::allowFormattingTagHtml($getLeftQuote).esc_html( $descriptions ).Helper::allowFormattingTagHtml($getRightQuote).'</p></div>';
     104        echo'<div class="enteraddons-testimonial-text"><p>'.Helper::allowFormattingTagHtml($getLeftQuote).esc_html( $descriptions ).Helper::allowFormattingTagHtml($getRightQuote).'</p></div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    105105    }
    106106
  • enteraddons/trunk/widgets/testimonial_grid/traits/Templates_Components.php

    r2865101 r3383539  
    4040        }
    4141       
    42         echo'<div class="ea-testimonial-text"><p>'.Helper::allowFormattingTagHtml($getLeftQuote).esc_html( $descriptions ).Helper::allowFormattingTagHtml($getRightQuote).'</p></div>';
     42        echo'<div class="ea-testimonial-text"><p>'.Helper::allowFormattingTagHtml($getLeftQuote).esc_html( $descriptions ).Helper::allowFormattingTagHtml($getRightQuote).'</p></div>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4343    }
    4444
  • enteraddons/trunk/widgets/timeline/traits/Templates_Components.php

    r2747889 r3383539  
    4646
    4747            if( $settings['icon_type'] != 'img' ) {
     48                // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    4849                echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon'] );
    4950            }else {
  • enteraddons/trunk/widgets/title_reveal_animation/traits/Templates_Components.php

    r2789639 r3383539  
    2424
    2525        if( !empty( $settings['animation_title'] ) ) {
    26             echo '<p class="eaatbigger">'.\Enteraddons\Classes\Helper::allowFormattingTagHtml( $settings['animation_title'] ).'</p>';
     26            echo '<p class="eaatbigger">'.\Enteraddons\Classes\Helper::allowFormattingTagHtml( $settings['animation_title'] ).'</p>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    2727        }
    2828    }
  • enteraddons/trunk/widgets/typing_animation/Typing_Animation.php

    r2953298 r3383539  
    160160                'label' => esc_html__( 'Loop', 'enteraddons' ),
    161161                'type' => \Elementor\Controls_Manager::SWITCHER,
    162                 'label_on' => esc_html__( 'Show', 'textdomain' ),
    163                 'label_off' => esc_html__( 'Hide', 'textdomain' ),
     162                'label_on' => esc_html__( 'Show', 'enteraddons' ),
     163                'label_off' => esc_html__( 'Hide', 'enteraddons' ),
    164164                'return_value' => 'yes',
    165165                'default' => 'yes',
  • enteraddons/trunk/widgets/typing_animation/traits/Template_1.php

    r2865101 r3383539  
    1818       
    1919        ?> 
    20             <div class="ea-at-wrapper"  data-typing-settings="<?php echo htmlspecialchars( $typingSettings, ENT_QUOTES, 'UTF-8'); ?>">
     20            <div class="ea-at-wrapper"  data-typing-settings="<?php echo htmlspecialchars( $typingSettings, ENT_QUOTES, 'UTF-8'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2121                <p class="ea-animate-typing">
    2222                    <?php
  • enteraddons/trunk/widgets/vertical_testimonial/Vertical_Testimonial.php

    r2956712 r3383539  
    786786            'ratings_star_icon_color',
    787787            [
    788                 'label' => esc_html__( 'Color', 'enteraddonst' ),
     788                'label' => esc_html__( 'Color', 'enteraddons' ),
    789789                'type' => Controls_Manager::COLOR,
    790790                'selectors' => [
     
    796796            'ratings_star_active_icon_color',
    797797            [
    798                 'label' => esc_html__( 'Active Color', 'enteraddonst' ),
     798                'label' => esc_html__( 'Active Color', 'enteraddons' ),
    799799                'type' => Controls_Manager::COLOR,
    800800                'selectors' => [
     
    807807            [
    808808                'name' => 'ratings_star_border',
    809                 'label' => esc_html__( 'Border', 'enteraddonst' ),
     809                'label' => esc_html__( 'Border', 'enteraddons' ),
    810810                'selector' => '{{WRAPPER}} .feedback-rating i',
    811811            ]
     
    814814            'ratings_star_border_radius',
    815815            [
    816                 'label' => esc_html__( 'Border Radius', 'enteraddonst' ),
     816                'label' => esc_html__( 'Border Radius', 'enteraddons' ),
    817817                'type' => Controls_Manager::SLIDER,
    818818                'size_units' => [ 'px','%' ],
     
    837837            'ratings_star_margin',
    838838            [
    839                 'label' => esc_html__( 'Margin', 'enteraddonst' ),
     839                'label' => esc_html__( 'Margin', 'enteraddons' ),
    840840                'type' => Controls_Manager::DIMENSIONS,
    841841                'size_units' => [ 'px', '%', 'em' ],
     
    848848            'ratings_star_padding',
    849849            [
    850                 'label' => esc_html__( 'Padding', 'enteraddonst' ),
     850                'label' => esc_html__( 'Padding', 'enteraddons' ),
    851851                'type' => Controls_Manager::DIMENSIONS,
    852852                'size_units' => [ 'px', '%', 'em' ],
  • enteraddons/trunk/widgets/vertical_testimonial/traits/Template_1.php

    r2956712 r3383539  
    2323        ?>
    2424        <div class="ea--feedback-slider-wrapper">
    25             <div id ="<?php echo esc_attr( $slider_id ) ?>"  class="ea--feedback-slider swiper-container" data-slider-id ="<?php echo esc_html( $slider_id ); ?>" data-vertical-slider-settings="<?php echo htmlspecialchars( $verticalSliderSettings, ENT_QUOTES, 'UTF-8' ); ?>">
     25            <div id ="<?php echo esc_attr( $slider_id ) ?>"  class="ea--feedback-slider swiper-container" data-slider-id ="<?php echo esc_html( $slider_id ); ?>" data-vertical-slider-settings="<?php echo htmlspecialchars( $verticalSliderSettings, ENT_QUOTES, 'UTF-8' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>">
    2626                <div class="swiper-wrapper">
    2727                    <?php
     
    5656                <div class="ea--swiper-button-prev ea--swiper-nav-button">
    5757                    <?php
    58                     echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon_up'] );
     58                    echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon_up'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    5959                    ?>
    6060                </div>
    6161                <div class="ea--swiper-button-next ea--swiper-nav-button">
    6262                    <?php
    63                     echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon_down'] );
     63                    echo \Enteraddons\Classes\Helper::getElementorIcon( $settings['icon_down'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    6464                    ?>
    6565                </div>
  • enteraddons/trunk/widgets/vertical_testimonial/traits/Templates_Components.php

    r3087147 r3383539  
    3636    protected static function star( $ratings ) {
    3737        if( !empty( $ratings['ratings'] ) ) {
     38            // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3839            echo '<div class="feedback-rating">'.\Enteraddons\Classes\Helper::ratingStar( $ratings['ratings'], false ).'</div>';
    3940        }
  • enteraddons/trunk/widgets/video-button/traits/Templates_Components.php

    r2747889 r3383539  
    3030        if( !empty( $settings['video_url'] ) ) {
    3131            $is_animation = !empty( $settings['circle_animation_active'] ) ? ' circle-ripple' : '';
    32             echo '<a href="'.esc_url( $settings['video_url'] ).'" rel="magnificPopup" class="vdo_btn popup-video'.esc_attr( $is_animation ).'">'.$icon.'</a>';
     32            echo '<a href="'.esc_url( $settings['video_url'] ).'" rel="magnificPopup" class="vdo_btn popup-video'.esc_attr( $is_animation ).'">'.$icon.'</a>'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    3333        }
    3434       
Note: See TracChangeset for help on using the changeset viewer.