Changeset 3248584
- Timestamp:
- 02/28/2025 03:52:43 PM (12 months ago)
- Location:
- xpro-elementor-addons/trunk
- Files:
-
- 8 edited
-
assets/js/xpro-widgets.js (modified) (1 diff)
-
changelog.txt (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
widgets/animated-link/animated-link.php (modified) (2 diffs)
-
widgets/animated-link/layout/frontend.php (modified) (1 diff)
-
widgets/button/button.php (modified) (2 diffs)
-
widgets/button/layout/frontend.php (modified) (1 diff)
-
xpro-elementor-addons.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xpro-elementor-addons/trunk/assets/js/xpro-widgets.js
r3246393 r3248584 517 517 r = "", 518 518 a = e.find("#xpro-icon-box-lottie"); 519 console.log(i);520 519 "" !== t.hover_animation && 521 520 i.hover( -
xpro-elementor-addons/trunk/changelog.txt
r3246393 r3248584 1 = V 1.4.6.8 – 28 Feb 2025 2 3 Fix: Resolved vulnerability issue in the Button Widget. 4 Fix: Resolved vulnerability issue in the Animated Link Widget. 5 6 1 7 = V 1.4.6.7 – 25 Feb 2025 2 8 -
xpro-elementor-addons/trunk/readme.txt
r3246393 r3248584 1 1 === 140+ Widgets | Xpro Addons For Elementor - FREE === 2 2 Plugin Name: Xpro Addons For Elementor (140+ Widgets & Free Theme Builder) 3 Version: 1.4.6. 73 Version: 1.4.6.8 4 4 Contributors: Xpro 5 5 Tags: elementor, widgets for elementor, elementor widgets, addons for elementor, woocommerce elementor … … 266 266 == Changelog == 267 267 268 = V 1.4.6.8 – 28 Feb 2025 269 270 Fix: Resolved vulnerability issue in the Button Widget. 271 Fix: Resolved vulnerability issue in the Animated Link Widget. 272 273 268 274 = V 1.4.6.7 – 25 Feb 2025 269 275 -
xpro-elementor-addons/trunk/widgets/animated-link/animated-link.php
r3246393 r3248584 229 229 ); 230 230 231 if ( current_user_can( ' administrator' ) ) {231 if ( current_user_can( 'manage_options' ) ) { 232 232 $this->add_control( 233 233 'onclick_event', … … 363 363 } 364 364 365 public static function check_capability( $capability ) { 366 $post = get_post(); 367 if ( ! $post ) { 368 return false; 369 } 370 $post_author_id = $post->post_author; 371 return user_can( $post_author_id, $capability ); 372 } 373 365 374 /** 366 375 * Render image widget output on the frontend. -
xpro-elementor-addons/trunk/widgets/animated-link/layout/frontend.php
r3235058 r3248584 9 9 $attr .= $settings['link']['is_external'] ? ' target="_blank"' : ''; 10 10 $attr .= $settings['link']['nofollow'] ? ' rel="nofollow"' : ''; 11 12 // Sanitize the link URL13 11 $attr .= $settings['link']['url'] ? ' href="' . esc_url( $settings['link']['url'] ) . '"' : ''; 14 12 15 // Sanitize the onclick event16 13 // $attr .= ( $settings['onclick_event'] ) ? ' onclick="' . esc_js( $settings['onclick_event'] ) . '"' : ''; 17 $attr .= !empty( $settings['onclick_event'] ?? '' ) ? ' onclick="' . esc_js( $settings['onclick_event'] ) . '"' : ''; 14 15 if ( !empty( $settings['onclick_event'] ) && self::check_capability( 'manage_options' ) ) { 16 $attr .= ' onclick="' . esc_attr( $settings['onclick_event'] ) . '"'; 17 } 18 18 19 19 if ( $settings['link'] && $settings['link']['custom_attributes'] ) { -
xpro-elementor-addons/trunk/widgets/button/button.php
r3246393 r3248584 257 257 ); 258 258 259 if ( current_user_can( ' administrator' ) ) {259 if ( current_user_can( 'manage_options' ) ) { 260 260 $this->add_control( 261 261 'onclick_event', … … 744 744 } 745 745 746 public static function check_capability( $capability ) { 747 $post = get_post(); 748 if ( ! $post ) { 749 return false; 750 } 751 $post_author_id = $post->post_author; 752 return user_can( $post_author_id, $capability ); 753 } 754 746 755 /** 747 756 * Render image widget output on the frontend. -
xpro-elementor-addons/trunk/widgets/button/layout/frontend.php
r3235058 r3248584 9 9 $attr .= $settings['link']['url'] ? ' href="' . esc_url ( $settings['link']['url'] ) . '"' : ''; 10 10 // $attr .= ( $settings['onclick_event'] ) ? ' onclick="' . esc_js ( $settings['onclick_event'] ) . '"' : ''; 11 $attr .= !empty( $settings['onclick_event'] ?? '' ) ? ' onclick="' . esc_js( $settings['onclick_event'] ) . '"' : ''; 11 12 if ( !empty( $settings['onclick_event'] ) && self::check_capability( 'manage_options' ) ) { 13 $attr .= ' onclick="' . esc_attr( $settings['onclick_event'] ) . '"'; 14 } 12 15 13 16 if ( $settings['link'] && $settings['link']['custom_attributes'] ) { -
xpro-elementor-addons/trunk/xpro-elementor-addons.php
r3246393 r3248584 4 4 * Description: A complete Elementor Addons Pack to enhance your web designing experience. Create amazing websites with 50+ FREE Widgets, Extensions & more. 5 5 * Plugin URI: https://elementor.wpxpro.com/ 6 * Version: 1.4.6. 76 * Version: 1.4.6.8 7 7 * Author: Xpro 8 8 * Author URI: https://www.wpxpro.com/ … … 14 14 defined( 'ABSPATH' ) || die(); 15 15 16 define( 'XPRO_ELEMENTOR_ADDONS_VERSION', '1.4.6. 7' );16 define( 'XPRO_ELEMENTOR_ADDONS_VERSION', '1.4.6.8' ); 17 17 define( 'INNER_ELEMENTOR_WIDGET_CONTAINER', false ); 18 18 define( 'XPRO_ELEMENTOR_ADDONS__FILE__', __FILE__ ); … … 67 67 * @var string The plugin version. 68 68 */ 69 const VERSION = '1.4.6. 7';69 const VERSION = '1.4.6.8'; 70 70 71 71 /**
Note: See TracChangeset
for help on using the changeset viewer.