Changeset 3333508
- Timestamp:
- 07/24/2025 10:18:09 AM (8 months ago)
- Location:
- ccm19-integration/trunk
- Files:
-
- 4 edited
-
ccm19-integration.php (modified) (1 diff)
-
class-ccm19-integration.php (modified) (2 diffs)
-
languages/ccm19-integration.pot (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ccm19-integration/trunk/ccm19-integration.php
r3158122 r3333508 4 4 Plugin URI: https://www.ccm19.de 5 5 Description: Integrates the CCM19 Cookie Consent Solution into WordPress 6 Version: 1.1. 76 Version: 1.1.9 7 7 Author: Papoo Software & Media GmbH 8 8 Author URI: https://papoo-media.de -
ccm19-integration/trunk/class-ccm19-integration.php
r2798810 r3333508 127 127 */ 128 128 public function on_wp_head() { 129 $integration_url = $this->get_integration_url(); 130 129 $is_thrive_editor = ( 130 (isset($_GET['tve']) && $_GET['tve'] === 'true') || 131 (isset($_GET['tcbf']) && $_GET['tcbf'] === 'true') 132 ); 133 $is_iframe = isset($_SERVER['Sec-Fetch-Dest']) && $_SERVER['Sec-Fetch-Dest'] === 'iframe'; 134 $is_admin_area = is_admin(); 135 $is_customizer = is_customize_preview(); 136 $has_valid_referrer = empty($_SERVER['HTTP_REFERER']) || strpos($_SERVER['HTTP_REFERER'], '/wp-admin/') === false; 137 138 $should_add_script = ( 139 !$is_admin_area && 140 !$is_customizer && 141 $has_valid_referrer && 142 !$is_thrive_editor && 143 !$is_iframe 144 ); 145 146 if (!$should_add_script) {return;} 147 148 $integration_url = $this->get_integration_url(); 149 131 150 if ( $integration_url ) { 132 151 wp_print_script_tag( [ 'src' => $integration_url, 'referrerpolicy' => 'origin' ] ); … … 265 284 } 266 285 267 //custom error log function for development only286 //custom error log function for development only 268 287 public function custom_logs() 269 288 { -
ccm19-integration/trunk/languages/ccm19-integration.pot
r3176948 r3333508 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: CCM19 Integration 1.1. 7\n"5 "Project-Id-Version: CCM19 Integration 1.1.9\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/ccm19-integration\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-1 0-22T10:41:12+00:00\n"12 "POT-Creation-Date: 2024-11-04T13:23:48+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.4.0\n" … … 35 35 msgstr "" 36 36 37 #: class-ccm19-integration.php:8 538 #: class-ccm19-integration.php:2 1037 #: class-ccm19-integration.php:83 38 #: class-ccm19-integration.php:208 39 39 msgid "General settings" 40 40 msgstr "" 41 41 42 #: class-ccm19-integration.php:9 842 #: class-ccm19-integration.php:96 43 43 msgid "CCM19 code snippet" 44 44 msgstr "" 45 45 46 #: class-ccm19-integration.php:14 546 #: class-ccm19-integration.php:143 47 47 msgid "CCM19 Integration Options" 48 48 msgstr "" 49 49 50 #: class-ccm19-integration.php:14 650 #: class-ccm19-integration.php:144 51 51 #: options-page.php:2 52 52 msgid "CCM19 Cookie Consent" 53 53 msgstr "" 54 54 55 #: class-ccm19-integration.php:17 455 #: class-ccm19-integration.php:172 56 56 msgid "<p>Enter your code snippet from CCM19 below to integrate the cookie consent management with your website.</p>" 57 57 msgstr "" 58 58 59 #: class-ccm19-integration.php:17 559 #: class-ccm19-integration.php:173 60 60 msgid "<p>If you don't yet have a CCM19 account or instance yet, buy or lease one on <a target=\"_blank\" href=\"https://ccm19.de\">ccm19.de</a>.</p>" 61 61 msgstr "" … … 69 69 msgstr "" 70 70 71 #: options-page.php:2 472 #: options-page.php:4 471 #: options-page.php:29 72 #: options-page.php:49 73 73 msgid "Open CCM19 backend" 74 74 msgstr "" -
ccm19-integration/trunk/readme.txt
r3176948 r3333508 3 3 Tags: cookie consent, cookie law, eu privacy directive, GDPR, DSGVO 4 4 Requires at least: 5.1 5 Tested up to: 6. 76 Stable tag: 1.1. 85 Tested up to: 6.8 6 Stable tag: 1.1.9 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.