Changeset 2850442
- Timestamp:
- 01/18/2023 12:14:22 PM (3 years ago)
- Location:
- nd-shortcodes/trunk
- Files:
-
- 3 edited
-
nd-shortcodes.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
shortcodes/testimonial/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
nd-shortcodes/trunk/nd-shortcodes.php
r2750702 r2850442 3 3 Plugin Name: ND Shortcodes 4 4 Description: The plugin adds some useful components to your page builder ( Elementor or WP Bakery Page Builder ). All components are full responsive and retina ready. 5 Version: 6. 65 Version: 6.7 6 6 Plugin URI: https://nicdark.com 7 7 Author: Nicdark -
nd-shortcodes/trunk/readme.txt
r2750702 r2850442 4 4 Requires at least: 4.5 5 5 Tested up to: 6.0 6 Stable tag: 6. 66 Stable tag: 6.7 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 27 27 28 28 == Changelog == 29 30 = 6.7 = 31 * added data escaping on variables used on testimonial shortcode 29 32 30 33 = 6.6 = -
nd-shortcodes/trunk/shortcodes/testimonial/index.php
r2750702 r2850442 38 38 $nd_options_layout_selected = dirname( __FILE__ ).'/layout/'.$nd_options_layout.'.php'; 39 39 include realpath($nd_options_layout_selected); 40 40 41 42 //check datas 43 $nd_options_allowed_html = [ 44 'div' => [ 45 'id' => [], 46 'class' => [], 47 'style' => [], 48 ], 49 'p' => [ 50 'id' => [], 51 'class' => [], 52 'style' => [], 53 ], 54 'h4' => [ 55 'id' => [], 56 'class' => [], 57 'style' => [], 58 ], 59 'img' => [ 60 'id' => [], 61 'class' => [], 62 'style' => [], 63 'src' => [], 64 'width' => [], 65 'height' => [], 66 'alt' => [], 67 ], 68 ]; 69 70 $str = wp_kses( $str, $nd_options_allowed_html ); 71 41 72 42 return apply_filters('uds_shortcode_out_filter', $str); 73 return apply_filters('uds_shortcode_out_filter', $str); 74 43 75 } 44 76 //END TESTIMONIAL
Note: See TracChangeset
for help on using the changeset viewer.