Plugin Directory

Changeset 3037436


Ignore:
Timestamp:
02/18/2024 10:42:52 AM (2 years ago)
Author:
gn_themes
Message:

7.0.3

Location:
shortcodes-ultimate
Files:
527 added
3 edited

Legend:

Unmodified
Added
Removed
  • shortcodes-ultimate/trunk/includes/shortcodes/tooltip.php

    r2610856 r3037436  
    113113
    114114function su_shortcode_tooltip( $atts = null, $content = null ) {
     115
     116    global $allowedposttags;
    115117
    116118    $atts = su_parse_shortcode_atts(
     
    192194    $atts['tabindex'] = 'yes' === $atts['tabindex'] ? ' tabindex="0"' : '';
    193195
     196    if ( ! in_array(
     197        $atts['reference_tag'],
     198        array_keys( $allowedposttags ?: [] ),
     199        true
     200    ) ) {
     201        return su_error_message( 'Tooltip', __( 'invalid reference_tag', 'shortcodes-ultimate' ) );
     202    }
     203
    194204    $js_settings = array(
    195205        'position'  => sanitize_key( $atts['position'] ),
     
    219229        '{{ALIGN}}'         => sanitize_key( $atts['text_align'] ),
    220230        '{{OUTLINE}}'       => sanitize_key( $atts['outline'] ),
    221         '{{REFERENCE_TAG}}' => sanitize_key( $atts['reference_tag'] ),
     231        '{{REFERENCE_TAG}}' => $atts['reference_tag'],
    222232        '{{TABINDEX}}'      => $atts['tabindex'],
    223233        '{{LINE_HEIGHT}}'   => esc_attr( $atts['line_height'] ),
  • shortcodes-ultimate/trunk/readme.txt

    r3026377 r3037436  
    44Donate link: https://getshortcodes.com/pricing/
    55Tags: posts, carousel, shortcode, toggle, columns
    6 Stable tag: 7.0.2
     6Stable tag: 7.0.3
    77Requires PHP: 5.4
    88Requires at least: 5.0
     
    143143== Changelog ==
    144144
     145
     146
     147### 7.0.3
     148
     149This update features security improvements and is recommended for all users
    145150
    146151
  • shortcodes-ultimate/trunk/shortcodes-ultimate.php

    r3026377 r3037436  
    99 * Text Domain: shortcodes-ultimate
    1010 * License: GPLv3
    11  * Version: 7.0.2
     11 * Version: 7.0.3
    1212 * Requires PHP: 5.4
    1313 * Requires at least: 5.0
     
    7070    }
    7171    define( 'SU_PLUGIN_FILE', __FILE__ );
    72     define( 'SU_PLUGIN_VERSION', '7.0.2' );
     72    define( 'SU_PLUGIN_VERSION', '7.0.3' );
    7373    require_once dirname( __FILE__ ) . '/plugin.php';
    7474}
Note: See TracChangeset for help on using the changeset viewer.