Plugin Directory

Changeset 2750705


Ignore:
Timestamp:
07/01/2022 10:09:51 AM (4 years ago)
Author:
teamappsaloon
Message:

Fixed undefined variable src when using instagram embed

Location:
cookiebot/trunk
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • cookiebot/trunk/cookiebot.php

    r2742886 r2750705  
    66Description: Cookiebot is a cloud-driven solution that automatically controls cookies and trackers, enabling full GDPR/ePrivacy and CCPA compliance for websites.
    77Author: Cybot A/S
    8 Version: 4.1.0
     8Version: 4.1.1
    99Author URI: http://cookiebot.com
    1010Text Domain: cookiebot
  • cookiebot/trunk/readme.txt

    r2742886 r2750705  
    44* Requires at least: 4.4
    55* Tested up to: 6.0.0
    6 * Stable tag: 4.1.0
     6* Stable tag: 4.1.1
    77* Requires PHP: 5.6
    88* License: GPLv2 or later
     
    199199
    200200## Changelog ##
     201### 4.1.1 - 2022-07-01 ###
     202* Fixed undefined variable src when using instagram embed
     203
    201204### 4.1.0 - 2022-06-15 ###
    202205* Added setting to ignore scripts from cookiebot scan
  • cookiebot/trunk/src/addons/controller/addons/embed_autocorrect/Embed_Autocorrect.php

    r2742886 r2750705  
    291291        );
    292292        foreach ( $matches[0] as $match ) {
     293            preg_match( '/src\s*=\s*"(.+?)"/', $match, $src );
     294
     295            //$matches[1] will have the text that matched the first captured parenthesized
     296            if ( isset( $src[1] ) ) {
     297                $src = $src[1];
     298            } else {
     299                $src = '';
     300            }
     301
    293302            //Replace - and add cookie consent notice.
    294303            $adjusted = str_replace(
  • cookiebot/trunk/src/lib/Cookiebot_WP.php

    r2742886 r2750705  
    1212
    1313class Cookiebot_WP {
    14     const COOKIEBOT_PLUGIN_VERSION  = '4.1.0';
     14    const COOKIEBOT_PLUGIN_VERSION  = '4.1.1';
    1515    const COOKIEBOT_MIN_PHP_VERSION = '5.6.0';
    1616
Note: See TracChangeset for help on using the changeset viewer.