Plugin Directory

Changeset 2975507


Ignore:
Timestamp:
10/06/2023 10:32:16 AM (2 years ago)
Author:
shark986
Message:
  1. 2.3.2 (bug fixing)
Location:
smart-cookie-kit/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • smart-cookie-kit/trunk/plugin.php

    r2442583 r2975507  
    88**  Author: Nicola Modugno
    99**  Author URI: https://nicolamodugno.it
    10 **  Version: 2.3.1
     10**  Version: 2.3.2
    1111**  Requires at least: 4.6
    1212**  License: GPL2
  • smart-cookie-kit/trunk/plugin_frontend.php

    r2442331 r2975507  
    819819      'class'     => '',
    820820      'style'     => '',
    821       'text'      => \esc_html__( 'Cookie preferences', 'smart-cookie-kit' )
     821      'text'      => \__( 'Cookie preferences', 'smart-cookie-kit' )
    822822    ), $atts, 'cookie_banner_link' );
    823823
     
    828828    $properties = array();
    829829    $properties[] = 'href="#"';
    830     $properties[] = \sprintf( 'class="%s"', $atts['class'] );
     830    $properties[] = \sprintf( 'class="%s"', \esc_attr( $atts['class'] ) );
    831831    if ( '' != $atts['style'] )
    832       $properties[] = \sprintf( 'style="%s"', $atts['style'] );
     832      $properties[] = \sprintf( 'style="%s"', \esc_attr( $atts['style'] ) );
    833833
    834834    return \sprintf(
    835835      '<a %s>%s</a>',
    836836      \implode( ' ', $properties ),
    837       $atts['text']
     837      \esc_html( $atts['text'] )
    838838    );
    839839  }
  • smart-cookie-kit/trunk/readme.txt

    r2442556 r2975507  
    33Donate link: https://paypal.me/modugnonicola
    44Tags: gdpr, eprivacy, cookie, cookie law, banner
    5 Requires at least: 3.0.1
     5Requires at least: 4.6
    66Tested up to: 5.6
    77Stable tag: trunk
     
    9797
    9898== Changelog ==
     99
     100= 2.3.2 =
     101* Fixed a XSS vulnerability (thanks to patchstack.com )
    99102
    100103= 2.3.1 =
Note: See TracChangeset for help on using the changeset viewer.