Changeset 3084097
- Timestamp:
- 05/09/2024 03:23:09 PM (23 months ago)
- Location:
- uniconsent-cmp
- Files:
-
- 4 edited
- 23 copied
-
tags/1.5.0 (copied) (copied from uniconsent-cmp/trunk)
-
tags/1.5.0/README.txt (copied) (copied from uniconsent-cmp/trunk/README.txt) (3 diffs)
-
tags/1.5.0/admin (copied) (copied from uniconsent-cmp/trunk/admin)
-
tags/1.5.0/admin/class-unic-admin-pages.php (copied) (copied from uniconsent-cmp/trunk/admin/class-unic-admin-pages.php)
-
tags/1.5.0/admin/class-unic-values.php (copied) (copied from uniconsent-cmp/trunk/admin/class-unic-values.php)
-
tags/1.5.0/admin/index.php (copied) (copied from uniconsent-cmp/trunk/admin/index.php)
-
tags/1.5.0/admin/partials/unic-cmp.php (copied) (copied from uniconsent-cmp/trunk/admin/partials/unic-cmp.php)
-
tags/1.5.0/composer.json (copied) (copied from uniconsent-cmp/trunk/composer.json)
-
tags/1.5.0/includes (copied) (copied from uniconsent-cmp/trunk/includes)
-
tags/1.5.0/includes/class-unic-activator.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-activator.php)
-
tags/1.5.0/includes/class-unic-cmp.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-cmp.php) (1 diff)
-
tags/1.5.0/includes/class-unic-deactivator.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-deactivator.php)
-
tags/1.5.0/includes/class-unic-i18n.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-i18n.php)
-
tags/1.5.0/includes/class-unic-loader.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-loader.php)
-
tags/1.5.0/includes/index.php (copied) (copied from uniconsent-cmp/trunk/includes/index.php)
-
tags/1.5.0/index.php (copied) (copied from uniconsent-cmp/trunk/index.php)
-
tags/1.5.0/languages (copied) (copied from uniconsent-cmp/trunk/languages)
-
tags/1.5.0/public (copied) (copied from uniconsent-cmp/trunk/public)
-
tags/1.5.0/public/class-unic-public.php (copied) (copied from uniconsent-cmp/trunk/public/class-unic-public.php) (1 diff)
-
tags/1.5.0/public/index.php (copied) (copied from uniconsent-cmp/trunk/public/index.php)
-
tags/1.5.0/public/js/unic.js (copied) (copied from uniconsent-cmp/trunk/public/js/unic.js)
-
tags/1.5.0/uniconsent-cmp.php (copied) (copied from uniconsent-cmp/trunk/uniconsent-cmp.php) (2 diffs)
-
tags/1.5.0/uninstall.php (copied) (copied from uniconsent-cmp/trunk/uninstall.php)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/includes/class-unic-cmp.php (modified) (1 diff)
-
trunk/public/class-unic-public.php (modified) (1 diff)
-
trunk/uniconsent-cmp.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uniconsent-cmp/tags/1.5.0/README.txt
r3052771 r3084097 1 1 === UniConsent CMP for IAB TCF GDPR GPP === 2 Version: 1. 4.92 Version: 1.5.0 3 3 Contributors: uniconsent 4 4 Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp … … 6 6 Tested up to: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1. 4.98 Stable tag: 1.5.0 9 9 10 10 == Description == … … 116 116 == Changelog == 117 117 118 = 1.5.0 = 119 * Improve Google Consent mode V2 default status 120 118 121 = 1.4.9 = 119 122 * Improve GPP consent performance -
uniconsent-cmp/tags/1.5.0/includes/class-unic-cmp.php
r3052771 r3084097 20 20 $this->version = UNIC_VERSION; 21 21 } else { 22 $this->version = '1. 4.9';22 $this->version = '1.5.0'; 23 23 } 24 24 $this->plugin_name = 'uniconsent-cmp'; -
uniconsent-cmp/tags/1.5.0/public/class-unic-public.php
r3052771 r3084097 130 130 !function(){var i,n,s;i="__uspapiLocator",n=[],(s=window.frames[i])||(function a(){var e=window.document,n=!!s;if(!s)if(e.body){var t=e.createElement("iframe");t.style.cssText="display:none",t.name=i,e.body.appendChild(t)}else setTimeout(a,50);return!n}(),window.__uspapi=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];if(!a.length)return n;"ping"===a[0]?"function"==typeof a[2]&&a[2]({cmpLoaded:!1,cmpStatus:"stub"},!0):n.push(a)},window.addEventListener("message",function(t){var i="string"==typeof t.data,a={};try{a=i?JSON.parse(t.data):t.data}catch(a){}var s=a.__uspapiCall;s&&window.__uspapi(s.command,s.version,function(a,e){var n={__uspapiReturn:{returnValue:a,success:e,callId:s.callId}};i&&(n=JSON.stringify(n)),t.source.postMessage(n,"*")},s.parameter)},!1))}(); 131 131 window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var t=document.createElement("iframe");t.style.cssText="display:none",t.name=e,document.body.appendChild(t)}else window.setTimeout(window.__gpp_addFrame,50,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!e.length||1==e.length&&"queue"==e[0])return __gpp.queue;if(1==e.length&&"events"==e[0])return __gpp.events;var t=e[0],p=1<e.length?e[1]:null,s=2<e.length?e[2]:null;if("ping"===t)p&&p({gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}},!0);else if("addEventListener"===t){"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var n=__gpp.lastId;__gpp.events.push({id:n,callback:p,parameter:s}),p({eventName:"listenerRegistered",listenerId:n,data:!0,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else if("removeEventListener"===t){for(var a=!1,i=0;i<__gpp.events.length;i++)if(__gpp.events[i].id==s){__gpp.events.splice(i,1),a=!0;break}p({eventName:"listenerRemoved",listenerId:s,data:a,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else"hasSection"===t?p(!1,!0):"getSection"===t||"getField"===t?p(null,!0):__gpp.queue.push([].slice.apply(e))},window.__gpp_msghandler=function(s){var n="string"==typeof s.data;try{var t=n?JSON.parse(s.data):s.data}catch(e){t=null}if("object"==typeof t&&null!==t&&"__gppCall"in t){var a=t.__gppCall;window.__gpp(a.command,function(e,t){var p={__gppReturn:{returnValue:e,success:t,callId:a.callId}};s.source.postMessage(n?JSON.stringify(p):p,"*")},"parameter"in a?a.parameter:null,"version"in a?a.version:"1.1")}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator")); 132 !function(){if(window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),window.gtag("set","developer_id.dZTcxZD",!0),localStorage&&null!==localStorage.getItem("__unic_consent_mode")){var consentStatus=JSON.parse(localStorage.getItem("__unic_consent_mode"));window.gtag("consent","default",consentStatus)}else window.gtag("consent","default",{ad_storage:"denied",functionality_storage:"denied",personalization_storage:"denied",analytics_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",security_storage:"granted"});window.gtag("set","ads_data_redaction",!0),window.gtag("set","url_passthrough",!0)}(); 132 133 </script> 133 134 UNIC; -
uniconsent-cmp/tags/1.5.0/uniconsent-cmp.php
r3052771 r3084097 4 4 * Plugin Name: UniConsent CMP for IAB TCF GDPR GPP 5 5 * Plugin URI: https://www.uniconsent.com/wordpress 6 * Description: UniConsent CMP implements the IAB TCF 2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue.7 * Version: 1. 4.96 * Description: UniConsent CMP implements the Consent Mode, IAB TCF 2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue. 7 * Version: 1.5.0 8 8 * Author: UniConsent 9 9 * Author URI: https://www.uniconsent.com/ … … 15 15 } 16 16 17 define( 'UNIC_CMP_VERSION', '1. 4.9' );17 define( 'UNIC_CMP_VERSION', '1.5.0' ); 18 18 19 19 function activate_unic_cmp() { -
uniconsent-cmp/trunk/README.txt
r3052771 r3084097 1 1 === UniConsent CMP for IAB TCF GDPR GPP === 2 Version: 1. 4.92 Version: 1.5.0 3 3 Contributors: uniconsent 4 4 Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp … … 6 6 Tested up to: 6.3 7 7 Requires PHP: 7.4 8 Stable tag: 1. 4.98 Stable tag: 1.5.0 9 9 10 10 == Description == … … 116 116 == Changelog == 117 117 118 = 1.5.0 = 119 * Improve Google Consent mode V2 default status 120 118 121 = 1.4.9 = 119 122 * Improve GPP consent performance -
uniconsent-cmp/trunk/includes/class-unic-cmp.php
r3052771 r3084097 20 20 $this->version = UNIC_VERSION; 21 21 } else { 22 $this->version = '1. 4.9';22 $this->version = '1.5.0'; 23 23 } 24 24 $this->plugin_name = 'uniconsent-cmp'; -
uniconsent-cmp/trunk/public/class-unic-public.php
r3052771 r3084097 130 130 !function(){var i,n,s;i="__uspapiLocator",n=[],(s=window.frames[i])||(function a(){var e=window.document,n=!!s;if(!s)if(e.body){var t=e.createElement("iframe");t.style.cssText="display:none",t.name=i,e.body.appendChild(t)}else setTimeout(a,50);return!n}(),window.__uspapi=function(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];if(!a.length)return n;"ping"===a[0]?"function"==typeof a[2]&&a[2]({cmpLoaded:!1,cmpStatus:"stub"},!0):n.push(a)},window.addEventListener("message",function(t){var i="string"==typeof t.data,a={};try{a=i?JSON.parse(t.data):t.data}catch(a){}var s=a.__uspapiCall;s&&window.__uspapi(s.command,s.version,function(a,e){var n={__uspapiReturn:{returnValue:a,success:e,callId:s.callId}};i&&(n=JSON.stringify(n)),t.source.postMessage(n,"*")},s.parameter)},!1))}(); 131 131 window.__gpp_addFrame=function(e){if(!window.frames[e])if(document.body){var t=document.createElement("iframe");t.style.cssText="display:none",t.name=e,document.body.appendChild(t)}else window.setTimeout(window.__gpp_addFrame,50,e)},window.__gpp_stub=function(){var e=arguments;if(__gpp.queue=__gpp.queue||[],__gpp.events=__gpp.events||[],!e.length||1==e.length&&"queue"==e[0])return __gpp.queue;if(1==e.length&&"events"==e[0])return __gpp.events;var t=e[0],p=1<e.length?e[1]:null,s=2<e.length?e[2]:null;if("ping"===t)p&&p({gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}},!0);else if("addEventListener"===t){"lastId"in __gpp||(__gpp.lastId=0),__gpp.lastId++;var n=__gpp.lastId;__gpp.events.push({id:n,callback:p,parameter:s}),p({eventName:"listenerRegistered",listenerId:n,data:!0,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else if("removeEventListener"===t){for(var a=!1,i=0;i<__gpp.events.length;i++)if(__gpp.events[i].id==s){__gpp.events.splice(i,1),a=!0;break}p({eventName:"listenerRemoved",listenerId:s,data:a,pingData:{gppVersion:"1.1",cmpStatus:"stub",cmpDisplayStatus:"hidden",signalStatus:"not ready",supportedAPIs:["2:tcfeuv2","5:tcfcav1","6:uspv1","7:usnatv1","8:uscav1","9:usvav1","10:uscov1","11:usutv1","12:usctv1"],cmpId:0,sectionList:[],applicableSections:[],gppString:"",parsedSections:{}}},!0)}else"hasSection"===t?p(!1,!0):"getSection"===t||"getField"===t?p(null,!0):__gpp.queue.push([].slice.apply(e))},window.__gpp_msghandler=function(s){var n="string"==typeof s.data;try{var t=n?JSON.parse(s.data):s.data}catch(e){t=null}if("object"==typeof t&&null!==t&&"__gppCall"in t){var a=t.__gppCall;window.__gpp(a.command,function(e,t){var p={__gppReturn:{returnValue:e,success:t,callId:a.callId}};s.source.postMessage(n?JSON.stringify(p):p,"*")},"parameter"in a?a.parameter:null,"version"in a?a.version:"1.1")}},"__gpp"in window&&"function"==typeof window.__gpp||(window.__gpp=window.__gpp_stub,window.addEventListener("message",window.__gpp_msghandler,!1),window.__gpp_addFrame("__gppLocator")); 132 !function(){if(window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),window.gtag("set","developer_id.dZTcxZD",!0),localStorage&&null!==localStorage.getItem("__unic_consent_mode")){var consentStatus=JSON.parse(localStorage.getItem("__unic_consent_mode"));window.gtag("consent","default",consentStatus)}else window.gtag("consent","default",{ad_storage:"denied",functionality_storage:"denied",personalization_storage:"denied",analytics_storage:"denied",ad_user_data:"denied",ad_personalization:"denied",security_storage:"granted"});window.gtag("set","ads_data_redaction",!0),window.gtag("set","url_passthrough",!0)}(); 132 133 </script> 133 134 UNIC; -
uniconsent-cmp/trunk/uniconsent-cmp.php
r3052771 r3084097 4 4 * Plugin Name: UniConsent CMP for IAB TCF GDPR GPP 5 5 * Plugin URI: https://www.uniconsent.com/wordpress 6 * Description: UniConsent CMP implements the IAB TCF 2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue.7 * Version: 1. 4.96 * Description: UniConsent CMP implements the Consent Mode, IAB TCF 2.2, GPP for GDPR/CRPA support Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue. 7 * Version: 1.5.0 8 8 * Author: UniConsent 9 9 * Author URI: https://www.uniconsent.com/ … … 15 15 } 16 16 17 define( 'UNIC_CMP_VERSION', '1. 4.9' );17 define( 'UNIC_CMP_VERSION', '1.5.0' ); 18 18 19 19 function activate_unic_cmp() {
Note: See TracChangeset
for help on using the changeset viewer.