Plugin Directory

Changeset 2850442


Ignore:
Timestamp:
01/18/2023 12:14:22 PM (3 years ago)
Author:
nicdark
Message:

edit files for version 6.7

Location:
nd-shortcodes/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • nd-shortcodes/trunk/nd-shortcodes.php

    r2750702 r2850442  
    33Plugin Name:       ND Shortcodes
    44Description:       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.6
     5Version:           6.7
    66Plugin URI:        https://nicdark.com
    77Author:            Nicdark
  • nd-shortcodes/trunk/readme.txt

    r2750702 r2850442  
    44Requires at least: 4.5
    55Tested up to: 6.0
    6 Stable tag: 6.6
     6Stable tag: 6.7
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2727
    2828== Changelog ==
     29
     30= 6.7 =
     31* added data escaping on variables used on testimonial shortcode
    2932
    3033= 6.6 =
  • nd-shortcodes/trunk/shortcodes/testimonial/index.php

    r2750702 r2850442  
    3838  $nd_options_layout_selected = dirname( __FILE__ ).'/layout/'.$nd_options_layout.'.php';
    3939  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 
    4172 
    42    return apply_filters('uds_shortcode_out_filter', $str);
     73  return apply_filters('uds_shortcode_out_filter', $str);
     74
    4375}
    4476//END TESTIMONIAL
Note: See TracChangeset for help on using the changeset viewer.