Changeset 3391637
- Timestamp:
- 11/07/2025 09:00:13 AM (5 weeks ago)
- Location:
- athemes-addons-for-elementor-lite/trunk
- Files:
-
- 26 edited
-
athemes-addons-elementor.php (modified) (2 diffs)
-
inc/functions.php (modified) (1 diff)
-
inc/modules/widgets/call-to-action/class-call-to-action.php (modified) (1 diff)
-
inc/modules/widgets/call-to-action/skins/class-call-to-action-banner.php (modified) (1 diff)
-
inc/modules/widgets/contact-form7/class-contact-form7.php (modified) (1 diff)
-
inc/modules/widgets/dual-heading/class-dual-heading.php (modified) (1 diff)
-
inc/modules/widgets/gallery/class-gallery.php (modified) (2 diffs)
-
inc/modules/widgets/gallery/skins/class-gallery-card.php (modified) (1 diff)
-
inc/modules/widgets/image-accordion/class-image-accordion.php (modified) (1 diff)
-
inc/modules/widgets/news-ticker/class-news-ticker.php (modified) (2 diffs)
-
inc/modules/widgets/ninja-forms/class-ninja-forms.php (modified) (1 diff)
-
inc/modules/widgets/posts-list/class-posts-list.php (modified) (1 diff)
-
inc/modules/widgets/posts-list/skins/class-posts-list-banner.php (modified) (1 diff)
-
inc/modules/widgets/posts-list/skins/class-posts-list-modern.php (modified) (1 diff)
-
inc/modules/widgets/posts-list/skins/class-posts-list-title-list.php (modified) (1 diff)
-
inc/modules/widgets/pricing-table/class-pricing-table.php (modified) (1 diff)
-
inc/modules/widgets/step-flow/class-step-flow.php (modified) (1 diff)
-
inc/modules/widgets/table-of-contents/class-table-of-contents.php (modified) (1 diff)
-
inc/modules/widgets/team-member/class-team-member.php (modified) (1 diff)
-
inc/modules/widgets/weforms/class-weforms.php (modified) (1 diff)
-
inc/modules/widgets/woo-product-grid/templates/product-template-style1.php (modified) (1 diff)
-
inc/modules/widgets/woo-product-grid/templates/product-template-style2.php (modified) (1 diff)
-
inc/modules/widgets/woo-product-grid/templates/product-template-style3.php (modified) (1 diff)
-
inc/modules/widgets/woo-product-grid/templates/product-template-style4.php (modified) (1 diff)
-
inc/modules/widgets/wpforms/class-wpforms.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
athemes-addons-for-elementor-lite/trunk/athemes-addons-elementor.php
r3382624 r3391637 4 4 * Plugin URI: https://athemes.com/addons-for-elementor 5 5 * Description: Widgets and extensions for the Elementor page builder 6 * Version: 1.1. 56 * Version: 1.1.6 7 7 * Author: aThemes 8 8 * Author URI: https://athemes.com … … 23 23 24 24 // AAFE constants. 25 define( 'ATHEMES_AFE_VERSION', '1.1. 5' );25 define( 'ATHEMES_AFE_VERSION', '1.1.6' ); 26 26 define( 'ATHEMES_AFE_FILE', __FILE__ ); 27 27 define( 'ATHEMES_AFE_BASE', trailingslashit( plugin_basename( ATHEMES_AFE_FILE ) ) ); -
athemes-addons-for-elementor-lite/trunk/inc/functions.php
r3350396 r3391637 1366 1366 1367 1367 /** 1368 * Validate HTML tag against allowed tags list. 1369 * 1370 * @param string $tag The HTML tag to validate. 1371 * 1372 * @return string Validated HTML tag or 'h2' if validation fails. 1373 */ 1374 if ( ! function_exists( 'athemes_addons_validate_html_tag' ) ) { 1375 function athemes_addons_validate_html_tag( $tag ) { 1376 if ( empty( $tag ) ) { 1377 return 'h2'; 1378 } 1379 1380 $allowed_tags = array( 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p' ); 1381 1382 return in_array( $tag, $allowed_tags, true ) ? $tag : 'h2'; 1383 } 1384 } 1385 1386 /** 1368 1387 * Build an upgrade/upsell URL with UTM parameters and allow filtering per placement. 1369 1388 * -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/call-to-action/class-call-to-action.php
r3350396 r3391637 936 936 <?php endif; ?> 937 937 <?php if ( ! empty( $settings['title'] ) ) : ?> 938 <?php $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); ?> 938 939 <<?php echo tag_escape( $settings['title_html_tag'] ); ?> class="call-to-action-title"><?php echo wp_kses_post( $settings['title'] ); ?></<?php echo tag_escape( $settings['title_html_tag'] ); ?>> 939 940 <?php endif; ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/call-to-action/skins/class-call-to-action-banner.php
r3350396 r3391637 87 87 <?php endif; ?> 88 88 <?php if ( ! empty( $settings['title'] ) ) : ?> 89 <?php $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); ?> 89 90 <<?php echo tag_escape( $settings['title_html_tag'] ); ?> class="call-to-action-title"><?php echo wp_kses_post( $settings['title'] ); ?></<?php echo tag_escape( $settings['title_html_tag'] ); ?>> 90 91 <?php endif; ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/contact-form7/class-contact-form7.php
r3350396 r3391637 849 849 <div class="athemes-addons-form-inner"> 850 850 <?php if ( $settings['form_title'] ) : ?> 851 <?php $settings['form_title_tag'] = athemes_addons_validate_html_tag( $settings['form_title_tag'] ); ?> 851 852 <<?php echo tag_escape( $settings['form_title_tag'] ); ?> class="athemes-addons-contact-form-title"> 852 853 <?php echo esc_html( $settings['form_title'] ); ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/dual-heading/class-dual-heading.php
r3300619 r3391637 486 486 487 487 <div <?php $this->print_render_attribute_string( 'wrapper' ); ?>> 488 <?php $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); ?> 488 489 <<?php echo tag_escape( $settings['title_tag'] ); ?> class="athemes-dual-heading"> 489 490 <?php -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/gallery/class-gallery.php
r3350396 r3391637 1222 1222 <?php if ( 'image' === $item['lightbox_content'] ) : ?> 1223 1223 <div class="gallery-item-content"> 1224 <?php $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); ?> 1224 1225 <<?php echo tag_escape( $settings['title_html_tag'] ); ?> class="item-title"><?php echo esc_html( $item['title'] ); ?></<?php echo tag_escape( $settings['title_html_tag'] ); ?>> 1225 1226 … … 1244 1245 <?php else : ?> 1245 1246 <div class="gallery-item-video-icon"> 1247 <?php $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); ?> 1246 1248 <<?php echo tag_escape( $settings['title_html_tag'] ); ?> class="item-title"><?php echo esc_html( $item['title'] ); ?></<?php echo tag_escape( $settings['title_html_tag'] ); ?>> 1247 1249 -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/gallery/skins/class-gallery-card.php
r3350396 r3391637 168 168 169 169 <div class="gallery-item-ext-content"> 170 <?php $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); ?> 170 171 <<?php echo tag_escape( $settings['title_html_tag'] ); ?> class="item-title"> 171 172 <?php if ( ! empty( $item['link']['url'] ) ) : ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/image-accordion/class-image-accordion.php
r3300619 r3391637 748 748 <?php Group_Control_Image_Size::print_attachment_image_html( $item, 'thumb', 'image' ); ?> 749 749 <div class="image-accordion-content"> 750 <?php $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); ?> 750 751 <<?php echo tag_escape( $settings['title_html_tag'] ); ?> class="image-accordion-title"><?php echo esc_html( $item['title'] ); ?></<?php echo tag_escape( $settings['title_html_tag'] ); ?>> 751 752 <div class="image-accordion-text"><?php echo wp_kses_post( $item['text'] ); ?></div> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/news-ticker/class-news-ticker.php
r3300619 r3391637 769 769 <?php endif; ?> 770 770 <?php if ( ! empty( $settings['title'] ) ) : ?> 771 <?php $settings['main_title_tag'] = athemes_addons_validate_html_tag( $settings['main_title_tag'] ); ?> 771 772 <<?php echo tag_escape( $settings['main_title_tag'] ); ?> class="title"><?php echo esc_html( $settings['title'] ); ?></<?php echo tag_escape( $settings['main_title_tag'] ); ?>> 772 773 <?php endif; ?> … … 801 802 802 803 <div class="post-content"> 803 <?php the_title( '<' . esc_attr( $settings['title_tag'] ) . ' class="item-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></' . esc_attr( $settings['title_tag'] ) . '>' ); ?> 804 <?php $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); ?> 805 <?php the_title( '<' . tag_escape( $settings['title_tag'] ) . ' class="item-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></' . tag_escape( $settings['title_tag'] ) . '>' ); ?> 804 806 <div class="post-info"> 805 807 <?php if ( $settings['show_date'] ) : ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/ninja-forms/class-ninja-forms.php
r3350396 r3391637 851 851 <div class="athemes-addons-form-inner"> 852 852 <?php if ( $settings['form_title'] ) : ?> 853 <?php $settings['form_title_tag'] = athemes_addons_validate_html_tag( $settings['form_title_tag'] ); ?> 853 854 <<?php echo tag_escape( $settings['form_title_tag'] ); ?> class="athemes-addons-contact-form-title"> 854 855 <?php echo esc_html( $settings['form_title'] ); ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/posts-list/class-posts-list.php
r3300619 r3391637 1667 1667 1668 1668 <?php if ( $settings['show_title'] ) { 1669 $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); 1669 1670 the_title( '<' . tag_escape( $settings['title_tag'] ) . ' class="item-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></' . tag_escape( $settings['title_tag'] ) . '>' ); 1670 1671 } -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/posts-list/skins/class-posts-list-banner.php
r3300619 r3391637 249 249 250 250 <?php if ( $settings['show_title'] ) { 251 $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); 251 252 the_title( '<' . tag_escape( $settings['title_tag'] ) . ' class="item-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></' . tag_escape( $settings['title_tag'] ) . '>' ); 252 253 } -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/posts-list/skins/class-posts-list-modern.php
r3300619 r3391637 236 236 237 237 <?php if ( $settings['show_title'] ) { 238 $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); 238 239 the_title( '<' . tag_escape( $settings['title_tag'] ) . ' class="item-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></' . tag_escape( $settings['title_tag'] ) . '>' ); 239 240 } -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/posts-list/skins/class-posts-list-title-list.php
r3300619 r3391637 203 203 204 204 <?php if ( $settings['show_title'] ) { 205 $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); 205 206 the_title( '<' . tag_escape( $settings['title_tag'] ) . ' class="item-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></' . tag_escape( $settings['title_tag'] ) . '>' ); 206 207 } -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/pricing-table/class-pricing-table.php
r3300619 r3391637 1659 1659 <div class="plan-header"> 1660 1660 <?php if ( ! empty( $settings['header_title'] ) ) : ?> 1661 <?php $settings['header_title_tag'] = athemes_addons_validate_html_tag( $settings['header_title_tag'] ); ?> 1661 1662 <<?php echo tag_escape( $settings['header_title_tag'] ); ?> class="plan-title"><?php echo esc_html( $settings['header_title'] ); ?></<?php echo tag_escape( $settings['header_title_tag'] ); ?>> 1662 1663 <?php endif; ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/step-flow/class-step-flow.php
r3335355 r3391637 1293 1293 <a <?php $this->print_render_attribute_string( 'link_' . $index ); ?>> 1294 1294 <?php endif; ?> 1295 <?php $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); ?> 1295 1296 <<?php echo tag_escape( $settings['title_tag'] ); ?> class="step-flow-title"><?php echo esc_html( $item['step_title'] ); ?></<?php echo tag_escape( $settings['title_tag'] ); ?>> 1296 1297 <?php if ( $has_link ) : ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/table-of-contents/class-table-of-contents.php
r3350396 r3391637 807 807 <div class="toc-header"> 808 808 <?php if ( ! empty( $settings['title'] ) ) : ?> 809 <?php $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); ?> 809 810 <<?php echo tag_escape( $settings['title_tag'] ); ?> class="toc-title"> 810 811 <?php echo esc_html( $settings['title'] ); ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/team-member/class-team-member.php
r3350396 r3391637 1010 1010 </div> 1011 1011 <div class="team-member-content"> 1012 <?php $settings['title_tag'] = athemes_addons_validate_html_tag( $settings['title_tag'] ); ?> 1012 1013 <<?php echo tag_escape( $settings['title_tag'] ); ?> class="team-member-name"><?php echo esc_html( $settings['name'] ); ?></<?php echo tag_escape( $settings['title_tag'] ); ?>> 1013 1014 <?php if ( ! empty( $settings['position'] ) ) : ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/weforms/class-weforms.php
r3350396 r3391637 839 839 <div class="athemes-addons-form-inner"> 840 840 <?php if ( $settings['form_title'] ) : ?> 841 <?php $settings['form_title_tag'] = athemes_addons_validate_html_tag( $settings['form_title_tag'] ); ?> 841 842 <<?php echo tag_escape( $settings['form_title_tag'] ); ?> class="athemes-addons-contact-form-title"> 842 843 <?php echo esc_html( $settings['form_title'] ); ?> -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/woo-product-grid/templates/product-template-style1.php
r3300619 r3391637 48 48 } 49 49 50 $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); 50 51 echo '<' . tag_escape( $settings['title_html_tag'] ) . ' class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . esc_html( get_the_title() ) . '</' . tag_escape( $settings['title_html_tag'] ) . '>'; 51 52 -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/woo-product-grid/templates/product-template-style2.php
r3300619 r3391637 42 42 athemes_addons_woo_categories(); 43 43 } 44 $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); 44 45 echo '<' . tag_escape( $settings['title_html_tag'] ) . ' class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . esc_html( get_the_title() ) . '</' . tag_escape( $settings['title_html_tag'] ) . '>'; 45 46 -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/woo-product-grid/templates/product-template-style3.php
r3300619 r3391637 49 49 } 50 50 51 $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); 51 52 echo '<' . tag_escape( $settings['title_html_tag'] ) . ' class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . esc_html( get_the_title() ) . '</' . tag_escape( $settings['title_html_tag'] ) . '>'; 52 53 -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/woo-product-grid/templates/product-template-style4.php
r3300619 r3391637 47 47 } 48 48 49 $settings['title_html_tag'] = athemes_addons_validate_html_tag( $settings['title_html_tag'] ); 49 50 echo '<' . tag_escape( $settings['title_html_tag'] ) . ' class="' . esc_attr( apply_filters( 'woocommerce_product_loop_title_classes', 'woocommerce-loop-product__title' ) ) . '">' . esc_html( get_the_title() ) . '</' . tag_escape( $settings['title_html_tag'] ) . '>'; 50 51 -
athemes-addons-for-elementor-lite/trunk/inc/modules/widgets/wpforms/class-wpforms.php
r3350396 r3391637 833 833 <div class="athemes-addons-form-inner"> 834 834 <?php if ( $settings['form_title'] ) : ?> 835 <?php $settings['form_title_tag'] = athemes_addons_validate_html_tag( $settings['form_title_tag'] ); ?> 835 836 <<?php echo tag_escape( $settings['form_title_tag'] ); ?> class="athemes-addons-contact-form-title"> 836 837 <?php echo esc_html( $settings['form_title'] ); ?> -
athemes-addons-for-elementor-lite/trunk/readme.txt
r3382624 r3391637 4 4 Tested up to: 6.8 5 5 Requires PHP: 5.6 6 Stable tag: 1.1. 56 Stable tag: 1.1.6 7 7 Contributors: aThemes 8 8 License: GPLv3 or later License … … 142 142 == Changelog == 143 143 144 = 1.1.6 = 145 * Improved tag validation 146 144 147 = 1.1.4 = 145 148 * Improved some checks regarding file loading
Note: See TracChangeset
for help on using the changeset viewer.