Plugin Directory

Changeset 3398212


Ignore:
Timestamp:
11/18/2025 04:19:12 PM (4 months ago)
Author:
bqworks
Message:

add version 1.9.14

Location:
grid-accordion
Files:
160 added
3 edited

Legend:

Unmodified
Added
Removed
  • grid-accordion/trunk/grid-accordion.php

    r3170495 r3398212  
    55    Plugin URI:  https://bqworks.net/grid-accordion/
    66    Description: Responsive and touch-enabled grid accordion.
    7     Version:     1.9.13
     7    Version:     1.9.14
    88    Author:      bqworks
    99    Author URI:  https://bqworks.net
  • grid-accordion/trunk/public/class-grid-accordion.php

    r3170495 r3398212  
    1414     * @var string
    1515     */
    16     const VERSION = '1.9.13';
     16    const VERSION = '1.9.14';
    1717
    1818    /**
     
    661661                if ( $key === 'posts_post_types' || $key === 'posts_taxonomies' ) {
    662662                    $value = explode( ',', $value );
     663                } else {
     664                    $value = sanitize_text_field( $value );
    663665                }
    664666
     
    716718
    717719        $attributes = array( 'layer_settings' => array() );
     720        $name = sanitize_text_field( $atts[$key] );
    718721
    719722        foreach ( $atts as $key => $value ) {
    720723            if ( $key === 'name' ) {
    721                 $attributes[ $atts['name'] ] = $content;
    722             } else if ( isset( $atts['name'] ) && $atts['name'] === 'layer' ) {
     724                $attributes[ $name ] = $content;
     725            } else if ( isset( $name ) && $name === 'layer' ) {
    723726                if ( $value === 'true' ) {
    724727                    $value = true;
     
    729732                }
    730733
    731                 $attributes['layer_settings'][ $key ] = $value;
     734                $attributes['layer_settings'][ $key ] = sanitize_text_field( $value );
     735            } else {
     736                $value = sanitize_text_field( $value );
    732737            }
    733738        }
  • grid-accordion/trunk/readme.txt

    r3284631 r3398212  
    55Requires at least: 4.0
    66Tested up to: 6.8
    7 Stable tag: 1.9.13
     7Stable tag: 1.9.14
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8484== Changelog ==
    8585
     86= 1.9.14 =
     87* sanitize shortcode elements, to prevent JavaScript code
     88added by users who have permission to add content
     89
    8690= 1.9.13 =
    8791* patch fancybox script, to disallow html content in captions
Note: See TracChangeset for help on using the changeset viewer.