Plugin Directory

Changeset 3285444


Ignore:
Timestamp:
05/01/2025 08:53:27 AM (10 months ago)
Author:
nikelschubert
Message:

4.6.1

  • FIX: made validation more forgiving: in some misconfigured cases there was a fatal error.
Location:
beautiful-and-responsive-cookie-consent
Files:
63 added
4 edited

Legend:

Unmodified
Added
Removed
  • beautiful-and-responsive-cookie-consent/trunk/class/class-nsc_bar_admin_settings.php

    r3250352 r3285444  
    8181    $validator = new nsc_bar_input_validation();
    8282    $displayReview = $this->display_review();
    83     $exposeJSCookieTypes = json_encode($validator->esc_array_for_js($this->plugin_configs->nsc_bar_get_option("cookietypes")), JSON_UNESCAPED_UNICODE);
     83    $cookieTypesRaw = $this->plugin_configs->nsc_bar_get_option("cookietypes");
     84    if (false === is_array($cookieTypesRaw)) {
     85      $cookieTypesRaw = array();
     86    }
     87    $exposeJSCookieTypes = json_encode($validator->esc_array_for_js($cookieTypesRaw), JSON_UNESCAPED_UNICODE);
    8488    $newBannerEnabled = $this->plugin_configs->nsc_bar_new_banner_enabled();
    8589    $fallbackStateNewBanner = $this->getDefaultState();
  • beautiful-and-responsive-cookie-consent/trunk/class/class-nsc_bar_input_validation.php

    r3252894 r3285444  
    432432        );
    433433    }
    434 
    435434}
  • beautiful-and-responsive-cookie-consent/trunk/nsc_bar-cookie-consent.php

    r3261487 r3285444  
    44Description: An easy way to get a beautiful GDPR Cookie Consent Banner. Customize it to match your compliance requirements and website layout. Highly customisable and responsive.
    55Author: Beautiful Cookie Banner
    6 Version: 4.6.0
     6Version: 4.6.1
    77Author URI: https://beautiful-cookie-banner.com
    88Text Domain: bar-cookie-consent
  • beautiful-and-responsive-cookie-consent/trunk/readme.txt

    r3261487 r3285444  
    33Requires at least: 4.0
    44Donate link: https://www.paypal.me/nikelschubert/6.00EUR
    5 Tested up to: 6.7
     5Tested up to: 6.8
    66Requires PHP: 7.0.0
    77License: GPLv3
    8 Stable tag: 4.6.0
     8Stable tag: 4.6.1
    99
    1010Free and beautiful Cookie Consent Banner to make your website compliant. Highly customizable and not loading any files from 3rd party servers.
     
    119119== Changelog ==
    120120
     121= 4.6.1 =
     122- FIX: made validation more forgiving: in some misconfigured cases there was a fatal error.
     123
    121124= 4.6.0 =
    122125- NEW: added support for [WP Consent API](https://wordpress.org/plugins/wp-consent-api/)
Note: See TracChangeset for help on using the changeset viewer.