Changeset 3340804
- Timestamp:
- 08/07/2025 08:42:27 AM (8 months ago)
- Location:
- themesflat-addons-for-elementor/trunk
- Files:
-
- 6 edited
-
readme.txt (modified) (1 diff)
-
themesflat-addons-for-elementor.php (modified) (1 diff)
-
widgets/widget-iconbox.php (modified) (3 diffs)
-
widgets/widget-posts.php (modified) (3 diffs)
-
widgets/widget-pricetable.php (modified) (2 diffs)
-
widgets/widget-woo-product-grid.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
themesflat-addons-for-elementor/trunk/readme.txt
r3309498 r3340804 5 5 Tested up to: 6.7 6 6 Requires PHP: 5.2 7 Stable tag: 2.2. 77 Stable tag: 2.2.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
themesflat-addons-for-elementor/trunk/themesflat-addons-for-elementor.php
r3309498 r3340804 5 5 Author: Themesflat 6 6 Author URI: http://themesflat-addons.com/ 7 Version: 2.2. 77 Version: 2.2.8 8 8 Text Domain: themesflat-addons-for-elementor 9 9 Domain Path: /languages 10 10 11 WC tested up to: 9.912 Elementor tested up to: 3. 2913 Elementor Pro tested up to: 3. 2911 WC tested up to: 10.0 12 Elementor tested up to: 3.31 13 Elementor Pro tested up to: 3.31 14 14 15 15 License: GPLv2 or later -
themesflat-addons-for-elementor/trunk/widgets/widget-iconbox.php
r3129138 r3340804 1387 1387 <div class="content"> 1388 1388 <<?php echo \Elementor\Utils::validate_html_tag($settings['title_tag']);?> class="title"><?php echo esc_attr($settings['title_text']); ?></<?php echo \Elementor\Utils::validate_html_tag($settings['title_tag']);?>> 1389 <?php echo sprintf('<div class="description">%s</div>', $settings['description_text']); ?>1389 <?php echo sprintf('<div class="description">%s</div>', esc_html($settings['description_text'])); ?> 1390 1390 1391 1391 <?php if ( $settings['show_button'] == 'yes' ): … … 1462 1462 <div class="content"> 1463 1463 <<?php echo \Elementor\Utils::validate_html_tag($settings['title_tag']);?> class="title"><?php echo esc_attr($settings['title_text']); ?></<?php echo \Elementor\Utils::validate_html_tag($settings['title_tag']);?>> 1464 <?php echo sprintf('<div class="description">%s</div>', $settings['description_text']); ?>1464 <?php echo sprintf('<div class="description">%s</div>', esc_html($settings['description_text'])); ?> 1465 1465 1466 1466 <?php if ( $settings['show_button'] == 'yes' ): … … 1537 1537 <div class="content"> 1538 1538 <<?php echo \Elementor\Utils::validate_html_tag($settings['title_tag']);?> class="title"><?php echo esc_attr($settings['title_text']); ?></<?php echo \Elementor\Utils::validate_html_tag($settings['title_tag']);?>> 1539 <?php echo sprintf('<div class="description">%s</div>', $settings['description_text']); ?>1539 <?php echo sprintf('<div class="description">%s</div>', esc_html($settings['description_text'])); ?> 1540 1540 1541 1541 <?php if ( $settings['show_button'] == 'yes' ): -
themesflat-addons-for-elementor/trunk/widgets/widget-posts.php
r3268183 r3340804 3442 3442 3443 3443 <?php if ( $settings['show_excerpt'] == 'yes' ): ?> 3444 <div class="content-post"><?php echo wp_trim_words( get_the_content(), $settings['excerpt_lenght'], '…' ); ?></div>3444 <div class="content-post"><?php echo wp_trim_words( get_the_content(), esc_attr($settings['excerpt_lenght']), '…' ); ?></div> 3445 3445 <?php endif; ?> 3446 3446 … … 3664 3664 3665 3665 <?php if ( $settings['show_excerpt'] == 'yes' ): ?> 3666 <div class="content-post"><?php echo wp_trim_words( get_the_content(), $settings['excerpt_lenght'], '…' ); ?></div>3666 <div class="content-post"><?php echo wp_trim_words( get_the_content(), esc_attr($settings['excerpt_lenght']), '…' ); ?></div> 3667 3667 <?php endif; ?> 3668 3668 … … 3826 3826 3827 3827 <?php if ( $settings['show_excerpt'] == 'yes' ): ?> 3828 <div class="content-post"><?php echo wp_trim_words( get_the_content(), $settings['excerpt_lenght'], '…' ); ?></div>3828 <div class="content-post"><?php echo wp_trim_words( get_the_content(), esc_attr($settings['excerpt_lenght']), '…' ); ?></div> 3829 3829 <?php endif; ?> 3830 3830 -
themesflat-addons-for-elementor/trunk/widgets/widget-pricetable.php
r3202737 r3340804 2616 2616 <?php if ('after_header' == $settings['price_position']) : ?> 2617 2617 <?php if ($settings['show_pricing']) : ?> 2618 <div class="ptable-price<?php echo $settings['show_two_pricing']== "true" ? " ptable-price--twoLine" : ""; ?>">2618 <div class="ptable-price<?php echo esc_attr($settings['show_two_pricing']) == "true" ? " ptable-price--twoLine" : ""; ?>"> 2619 2619 <div class="ptable-price-tag"> 2620 2620 <?php if ($settings['original_price']): ?> … … 2730 2730 <?php if ('before_button' == $settings['price_position']) : ?> 2731 2731 <?php if ($settings['show_pricing']) : ?> 2732 <div class="ptable-price<?php echo $settings['show_two_pricing']== "true" ? " ptable-price--twoLine" : ""; ?>">2732 <div class="ptable-price<?php echo esc_attr($settings['show_two_pricing']) == "true" ? " ptable-price--twoLine" : ""; ?>"> 2733 2733 <div class="ptable-price-tag"> 2734 2734 <?php if ($settings['original_price']): ?> -
themesflat-addons-for-elementor/trunk/widgets/widget-woo-product-grid.php
r3158485 r3340804 3764 3764 if ($settings['product_sale'] == 'yes') { 3765 3765 if ($settings['custom_sale'] == 'yes') { 3766 echo get_sale_price( $settings['product_sale'] ,$settings['sale_style'], $settings['enter_sale_text'], $settings['prefix_sale_percent']);3766 echo get_sale_price(esc_attr($settings['product_sale']) ,esc_attr($settings['sale_style']), esc_attr($settings['enter_sale_text']), esc_attr($settings['prefix_sale_percent'])); 3767 3767 }else { 3768 3768 woocommerce_show_product_loop_sale_flash(); 3769 3769 } 3770 3770 } 3771 echo get_flash_sale( $settings['badge']);3771 echo get_flash_sale(esc_attr($settings['badge'])); 3772 3772 3773 3773 $get_post_thumbnail = get_post_thumbnail_id(); … … 3891 3891 if ($settings['product_sale'] == 'yes') { 3892 3892 if ($settings['custom_sale'] == 'yes') { 3893 echo get_sale_price( $settings['product_sale'] ,$settings['sale_style'], $settings['enter_sale_text'], $settings['prefix_sale_percent']);3893 echo get_sale_price(esc_attr($settings['product_sale']) ,esc_attr($settings['sale_style']), esc_attr($settings['enter_sale_text']), esc_attr($settings['prefix_sale_percent'])); 3894 3894 }else { 3895 3895 woocommerce_show_product_loop_sale_flash(); 3896 3896 } 3897 3897 } 3898 echo get_flash_sale( $settings['badge']);3898 echo get_flash_sale(esc_attr($settings['badge'])); 3899 3899 3900 3900 $get_post_thumbnail = get_post_thumbnail_id(); … … 4017 4017 if ($settings['product_sale'] == 'yes') { 4018 4018 if ($settings['custom_sale'] == 'yes') { 4019 echo get_sale_price( $settings['product_sale'] ,$settings['sale_style'], $settings['enter_sale_text'], $settings['prefix_sale_percent']);4019 echo get_sale_price(esc_attr($settings['product_sale']) ,esc_attr($settings['sale_style']), esc_attr($settings['enter_sale_text']), esc_attr($settings['prefix_sale_percent'])); 4020 4020 }else { 4021 4021 woocommerce_show_product_loop_sale_flash(); 4022 4022 } 4023 4023 } 4024 echo get_flash_sale( $settings['badge']);4024 echo get_flash_sale(esc_attr($settings['badge'])); 4025 4025 4026 4026 $get_post_thumbnail = get_post_thumbnail_id(); … … 4127 4127 if ($settings['product_sale'] == 'yes') { 4128 4128 if ($settings['custom_sale'] == 'yes') { 4129 echo get_sale_price( $settings['product_sale'] ,$settings['sale_style'], $settings['enter_sale_text'], $settings['prefix_sale_percent']);4129 echo get_sale_price(esc_attr($settings['product_sale']) ,esc_attr($settings['sale_style']), esc_attr($settings['enter_sale_text']), esc_attr($settings['prefix_sale_percent'])); 4130 4130 }else { 4131 4131 woocommerce_show_product_loop_sale_flash(); 4132 4132 } 4133 4133 } 4134 echo get_flash_sale( $settings['badge']);4134 echo get_flash_sale(esc_attr(($settings['badge']))); 4135 4135 4136 4136 $get_post_thumbnail = get_post_thumbnail_id(); … … 4257 4257 if ($settings['product_sale'] == 'yes') { 4258 4258 if ($settings['custom_sale'] == 'yes') { 4259 echo get_sale_price( $settings['product_sale'] ,$settings['sale_style'], $settings['enter_sale_text'], $settings['prefix_sale_percent']);4259 echo get_sale_price(esc_attr($settings['product_sale']) ,esc_attr($settings['sale_style']), esc_attr($settings['enter_sale_text']), esc_attr($settings['prefix_sale_percent'])); 4260 4260 }else { 4261 4261 woocommerce_show_product_loop_sale_flash(); 4262 4262 } 4263 4263 } 4264 echo get_flash_sale( $settings['badge']);4264 echo get_flash_sale(esc_attr($settings['badge'])); 4265 4265 4266 4266 $get_post_thumbnail = get_post_thumbnail_id(); … … 4380 4380 if ($settings['product_sale'] == 'yes') { 4381 4381 if ($settings['custom_sale'] == 'yes') { 4382 echo get_sale_price( $settings['product_sale'] ,$settings['sale_style'], $settings['enter_sale_text'], $settings['prefix_sale_percent']);4382 echo get_sale_price(esc_attr($settings['product_sale']) ,esc_attr($settings['sale_style']), esc_attr($settings['enter_sale_text']), esc_attr($settings['prefix_sale_percent'])); 4383 4383 }else { 4384 4384 woocommerce_show_product_loop_sale_flash(); 4385 4385 } 4386 4386 } 4387 echo get_flash_sale( $settings['badge']);4387 echo get_flash_sale(esc_attr($settings['badge'])); 4388 4388 4389 4389 $get_post_thumbnail = get_post_thumbnail_id(); … … 4490 4490 if ($settings['product_sale'] == 'yes') { 4491 4491 if ($settings['custom_sale'] == 'yes') { 4492 echo get_sale_price( $settings['product_sale'] ,$settings['sale_style'], $settings['enter_sale_text'], $settings['prefix_sale_percent']);4492 echo get_sale_price(esc_attr($settings['product_sale']) ,esc_attr($settings['sale_style']), esc_attr($settings['enter_sale_text']), esc_attr($settings['prefix_sale_percent'])); 4493 4493 }else { 4494 4494 woocommerce_show_product_loop_sale_flash(); 4495 4495 } 4496 4496 } 4497 echo get_flash_sale( $settings['badge']);4497 echo get_flash_sale(esc_attr($settings['badge'])); 4498 4498 4499 4499 $get_post_thumbnail = get_post_thumbnail_id();
Note: See TracChangeset
for help on using the changeset viewer.