Changeset 2164181
- Timestamp:
- 09/27/2019 07:08:23 AM (7 years ago)
- Location:
- cookiepro/trunk
- Files:
-
- 2 edited
-
class-cookiepro.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cookiepro/trunk/class-cookiepro.php
r2101138 r2164181 3 3 * Plugin Name: CookiePro 4 4 * Plugin URI: http://www.onetrust.com/ 5 * Version: 1.0. 05 * Version: 1.0.1 6 6 * Author: OneTrust, Llc 7 7 * Author URI: https://www.onetrust.com/products/cookies/ … … 13 13 14 14 /* 15 Copyright 2018 OneTrust15 Copyright 2018 OneTrust 16 16 17 17 This program is free software; you can redistribute it and/or modify … … 64 64 public function dashboardnotices() { 65 65 global $pagenow; 66 $screen = get_current_screen(); 66 67 if ( ! get_option( $this->plugin->db_welcome_dismissed_key ) ) { 67 if ( ! ( 'options-general.php' === $pagenow && isset( $_GET['page'] ) && 'cookiepro' === $_GET['page'] )) {68 if ( 'options-general.php' !== $pagenow && 'settings_page_cookiepro' !== $screen->id ) { 68 69 $setting_page = admin_url( 'options-general.php?page=' . $this->plugin->name ); 69 70 include_once $this->plugin->folder . '/views/dashboard-notices.php'; … … 137 138 return; 138 139 } 139 $allowed_html = [140 'a' => [141 'href' => [],142 'title' => [],143 ],144 'br' => [],145 'em' => [],146 'strong' => [],147 'script' => [148 'src' => [],149 'type' => [],150 'charset' => [],151 ],152 ];140 $allowed_html = array( 141 'a' => array( 142 'href' => array(), 143 'title' => array(), 144 ), 145 'br' => array(), 146 'em' => array(), 147 'strong' => array(), 148 'script' => array( 149 'src' => array(), 150 'type' => array(), 151 'charset' => array(), 152 ), 153 ); 153 154 echo wp_unslash( $myopt ); 154 155 155 } 156 156 /** Frontendheader functions. */ -
cookiepro/trunk/readme.txt
r2100481 r2164181 3 3 Tags: Cookie consent, Cookie compliance, GDPR, Cookie law, EU privacy directive, cookie notice, code, content, css, facebook pixel, footer, footer code, footer scripts, footers, google analytics, head, header, header code, header scripts, headers, insert, insert code, insert scripts, js, meta, meta tags, scripts, wpmu, cookies, cookie consent, cookie banner, preference center, privacy, cookie compliance, cookie notice, privacy policy, cookie policy, cookie script, google tag manager 4 4 Requires at least: 3.6 5 Tested up to: 5.2. 16 Stable tag: 1.0. 05 Tested up to: 5.2.3 6 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.