Plugin Directory

Changeset 3043066


Ignore:
Timestamp:
02/29/2024 10:08:41 AM (2 years ago)
Author:
cookiehub
Message:

Added missing stripslahes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cookiehub/trunk/includes/ch-generate.php

    r3036769 r3043066  
    166166    if (strpos($script, 'data-consent') === false)
    167167    {
     168        //remove slashes
     169        $script = stripslashes($script);
     170
    168171        //remove type
    169172        $script = preg_replace('#<script(.+?)type="(.*?)"(.*?)>#is', '<script$1$3>', $script);
Note: See TracChangeset for help on using the changeset viewer.