Changeset 3147308
- Timestamp:
- 09/06/2024 02:21:54 AM (19 months ago)
- Location:
- uniconsent-cmp
- Files:
-
- 4 edited
- 24 copied
-
tags/1.5.4 (copied) (copied from uniconsent-cmp/trunk)
-
tags/1.5.4/README.txt (copied) (copied from uniconsent-cmp/trunk/README.txt) (2 diffs)
-
tags/1.5.4/admin (copied) (copied from uniconsent-cmp/trunk/admin)
-
tags/1.5.4/admin/class-unic-admin-pages.php (copied) (copied from uniconsent-cmp/trunk/admin/class-unic-admin-pages.php)
-
tags/1.5.4/admin/class-unic-values.php (copied) (copied from uniconsent-cmp/trunk/admin/class-unic-values.php)
-
tags/1.5.4/admin/images/unic-logo.png (copied) (copied from uniconsent-cmp/trunk/admin/images/unic-logo.png)
-
tags/1.5.4/admin/index.php (copied) (copied from uniconsent-cmp/trunk/admin/index.php)
-
tags/1.5.4/admin/partials/unic-cmp.php (copied) (copied from uniconsent-cmp/trunk/admin/partials/unic-cmp.php)
-
tags/1.5.4/composer.json (copied) (copied from uniconsent-cmp/trunk/composer.json)
-
tags/1.5.4/includes (copied) (copied from uniconsent-cmp/trunk/includes)
-
tags/1.5.4/includes/class-unic-activator.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-activator.php)
-
tags/1.5.4/includes/class-unic-cmp.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-cmp.php) (1 diff)
-
tags/1.5.4/includes/class-unic-deactivator.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-deactivator.php)
-
tags/1.5.4/includes/class-unic-i18n.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-i18n.php)
-
tags/1.5.4/includes/class-unic-loader.php (copied) (copied from uniconsent-cmp/trunk/includes/class-unic-loader.php)
-
tags/1.5.4/includes/index.php (copied) (copied from uniconsent-cmp/trunk/includes/index.php)
-
tags/1.5.4/index.php (copied) (copied from uniconsent-cmp/trunk/index.php)
-
tags/1.5.4/languages (copied) (copied from uniconsent-cmp/trunk/languages)
-
tags/1.5.4/public (copied) (copied from uniconsent-cmp/trunk/public)
-
tags/1.5.4/public/class-unic-public.php (copied) (copied from uniconsent-cmp/trunk/public/class-unic-public.php) (1 diff)
-
tags/1.5.4/public/index.php (copied) (copied from uniconsent-cmp/trunk/public/index.php)
-
tags/1.5.4/public/js/unic.js (copied) (copied from uniconsent-cmp/trunk/public/js/unic.js)
-
tags/1.5.4/uniconsent-cmp.php (copied) (copied from uniconsent-cmp/trunk/uniconsent-cmp.php) (2 diffs)
-
tags/1.5.4/uninstall.php (copied) (copied from uniconsent-cmp/trunk/uninstall.php)
-
trunk/README.txt (modified) (2 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.4/README.txt
r3145608 r3147308 1 1 === UniConsent CMP for IAB TCF GPP Consent Mode === 2 Version: 1.5. 32 Version: 1.5.4 3 3 Contributors: uniconsent 4 4 Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp … … 6 6 Tested up to: 6.6 7 7 Requires PHP: 7.4 8 Stable tag: 1.5. 38 Stable tag: 1.5.4 9 9 10 10 == Description == -
uniconsent-cmp/tags/1.5.4/includes/class-unic-cmp.php
r3145608 r3147308 20 20 $this->version = UNIC_VERSION; 21 21 } else { 22 $this->version = '1.5. 3';22 $this->version = '1.5.4'; 23 23 } 24 24 $this->plugin_name = 'uniconsent-cmp'; -
uniconsent-cmp/tags/1.5.4/public/class-unic-public.php
r3145608 r3147308 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:[-1],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:[-1],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:[-1],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",!1)}();132 window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),window.gtag("set","developer_id.dZTcxZD",!0),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",wait_for_update:3e3}),window.gtag("set","ads_data_redaction",!0),window.gtag("set","url_passthrough",!1); 133 133 </script> 134 134 UNIC; -
uniconsent-cmp/tags/1.5.4/uniconsent-cmp.php
r3145608 r3147308 5 5 * Plugin URI: https://www.uniconsent.com/wordpress 6 6 * Description: UniConsent CMP implements the Google Consent Mode, IAB TCF 2.2, IAB GPP for GDPR Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue. 7 * Version: 1.5. 37 * Version: 1.5.4 8 8 * Author: UniConsent 9 9 * Author URI: https://www.uniconsent.com/ … … 15 15 } 16 16 17 define( 'UNIC_CMP_VERSION', '1.5. 3' );17 define( 'UNIC_CMP_VERSION', '1.5.4' ); 18 18 19 19 function activate_unic_cmp() { -
uniconsent-cmp/trunk/README.txt
r3145608 r3147308 1 1 === UniConsent CMP for IAB TCF GPP Consent Mode === 2 Version: 1.5. 32 Version: 1.5.4 3 3 Contributors: uniconsent 4 4 Tags: cookies, cookie banner, gdpr, cpra, eprivacy, cookie consent, iab, cmp … … 6 6 Tested up to: 6.6 7 7 Requires PHP: 7.4 8 Stable tag: 1.5. 38 Stable tag: 1.5.4 9 9 10 10 == Description == -
uniconsent-cmp/trunk/includes/class-unic-cmp.php
r3145608 r3147308 20 20 $this->version = UNIC_VERSION; 21 21 } else { 22 $this->version = '1.5. 3';22 $this->version = '1.5.4'; 23 23 } 24 24 $this->plugin_name = 'uniconsent-cmp'; -
uniconsent-cmp/trunk/public/class-unic-public.php
r3145608 r3147308 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:[-1],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:[-1],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:[-1],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",!1)}();132 window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),window.gtag("set","developer_id.dZTcxZD",!0),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",wait_for_update:3e3}),window.gtag("set","ads_data_redaction",!0),window.gtag("set","url_passthrough",!1); 133 133 </script> 134 134 UNIC; -
uniconsent-cmp/trunk/uniconsent-cmp.php
r3145608 r3147308 5 5 * Plugin URI: https://www.uniconsent.com/wordpress 6 6 * Description: UniConsent CMP implements the Google Consent Mode, IAB TCF 2.2, IAB GPP for GDPR Google Ad Manager/Prebid.js/Amazon APS and increase advertising revenue. 7 * Version: 1.5. 37 * Version: 1.5.4 8 8 * Author: UniConsent 9 9 * Author URI: https://www.uniconsent.com/ … … 15 15 } 16 16 17 define( 'UNIC_CMP_VERSION', '1.5. 3' );17 define( 'UNIC_CMP_VERSION', '1.5.4' ); 18 18 19 19 function activate_unic_cmp() {
Note: See TracChangeset
for help on using the changeset viewer.