Plugin Directory

Changeset 3094116


Ignore:
Timestamp:
05/28/2024 07:12:20 PM (22 months ago)
Author:
baden03
Message:

escaping ID attribute to prevent any funny business

Location:
jquery-collapse-o-matic/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • jquery-collapse-o-matic/trunk/README.md

    r3075464 r3094116  
    55* Requires at least: 4.9
    66* Tested up to: 6.5.3
    7 * Stable tag: 1.8.5.7
     7* Stable tag: 1.8.5.8
    88* Requires PHP: 7.2
    99* License: GPLv2 or later
  • jquery-collapse-o-matic/trunk/collapse-o-matic.php

    r3075449 r3094116  
    55Plugin URI: https://pluginoven.com/plugins/collapse-o-matic/
    66Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
    7 Version: 1.8.5.7
     7Version: 1.8.5.8
    88Author: twinpictures, baden03
    99Author URI: https://twinpictures.de/
     
    3030     * @var string
    3131     */
    32     var $version = '1.8.5.7';
     32    var $version = '1.8.5.8';
    3333
    3434    /**
     
    278278        }
    279279
    280         //id does not allow spaces
    281         $id = preg_replace('/\s+/', '_', $id);
    282 
    283280        $ewo = '';
    284281        $ewc = '';
    285282
    286         //id does not allow spaces
    287         $id = preg_replace('/\s+/', '_', $id);
     283        //id does not allow spaces or any funny business
     284        $id = preg_replace('/\s+/', '_', esc_attr($id));
    288285
    289286        //placeholders
  • jquery-collapse-o-matic/trunk/readme.txt

    r3075460 r3094116  
    66Requires at least: 4.9
    77Tested up to: 6.5.2
    8 Stable tag: 1.8.5.7
     8Stable tag: 1.8.5.8
    99Requires PHP: 7.2
    1010License: GPLv2 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
    1212
    13 Place content inside an expanding/collapsing accordion element.
     13Add an expanding/collapsing accordion shortcode.
    1414
    1515== Description ==
     
    5151
    5252== Changelog ==
     53
     54= 1.8.5.8 =
     55* the id attribute is escaped to prevent any funny business
     56
    5357
    5458= 1.8.5.7 =
     
    440444
    441445== Upgrade Notice ==
    442 * the tag, targtag and elwrap will now also allow the tag defined as the default tag attribute in the plugin settings page.
    443 * button has been added to the allowed html tag list
     446* the id attribute is escaped to prevent any funny business
Note: See TracChangeset for help on using the changeset viewer.