Changeset 3013524
- Timestamp:
- 12/22/2023 08:02:11 PM (2 years ago)
- Location:
- kliken-marketing-for-google
- Files:
-
- 60 added
- 5 edited
-
tags/1.4.2 (added)
-
tags/1.4.2/assets (added)
-
tags/1.4.2/assets/kk-admin-script.js (added)
-
tags/1.4.2/assets/kk-script.js (added)
-
tags/1.4.2/changelog.txt (added)
-
tags/1.4.2/classes (added)
-
tags/1.4.2/classes/class-helper.php (added)
-
tags/1.4.2/classes/class-message.php (added)
-
tags/1.4.2/classes/class-plugin.php (added)
-
tags/1.4.2/classes/class-rest-misc-controller.php (added)
-
tags/1.4.2/classes/class-rest-orders-controller.php (added)
-
tags/1.4.2/classes/class-rest-products-controller.php (added)
-
tags/1.4.2/classes/class-wc-integration.php (added)
-
tags/1.4.2/kliken-marketing-for-google.php (added)
-
tags/1.4.2/languages (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-cs_CZ.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-da_DK.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-de_CH.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-de_DE.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-es_ES.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-fi.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-fr_FR.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-he_IL.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-hu_HU.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-id_ID.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-it_IT.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-ja.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-nb_NO.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-nl_NL.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-pl_PL.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-pt_BR.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-pt_PT.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-ru_RU.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-sk_SK.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-sv_SE.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google-zh_CN.mo (added)
-
tags/1.4.2/languages/kliken-marketing-for-google.pot (added)
-
tags/1.4.2/pages (added)
-
tags/1.4.2/pages/admin-style.php (added)
-
tags/1.4.2/pages/dashboard.php (added)
-
tags/1.4.2/pages/getstarted.php (added)
-
tags/1.4.2/pages/productscript.php (added)
-
tags/1.4.2/pages/trackingscript.php (added)
-
tags/1.4.2/pages/transactionscript.php (added)
-
tags/1.4.2/readme.txt (added)
-
tags/1.4.2/uninstall.php (added)
-
tags/1.4.2/vendor (added)
-
tags/1.4.2/vendor/autoload.php (added)
-
tags/1.4.2/vendor/composer (added)
-
tags/1.4.2/vendor/composer/ClassLoader.php (added)
-
tags/1.4.2/vendor/composer/InstalledVersions.php (added)
-
tags/1.4.2/vendor/composer/LICENSE (added)
-
tags/1.4.2/vendor/composer/autoload_classmap.php (added)
-
tags/1.4.2/vendor/composer/autoload_namespaces.php (added)
-
tags/1.4.2/vendor/composer/autoload_psr4.php (added)
-
tags/1.4.2/vendor/composer/autoload_real.php (added)
-
tags/1.4.2/vendor/composer/autoload_static.php (added)
-
tags/1.4.2/vendor/composer/installed.json (added)
-
tags/1.4.2/vendor/composer/installed.php (added)
-
tags/1.4.2/vendor/composer/platform_check.php (added)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/kliken-marketing-for-google.php (modified) (2 diffs)
-
trunk/pages/productscript.php (modified) (4 diffs)
-
trunk/pages/transactionscript.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kliken-marketing-for-google/trunk/changelog.txt
r2980914 r3013524 1 1 *** AI Powered Marketing Changelog *** 2 3 2023-12-22 - version 1.4.2 4 * Properly escape data used for JavaScript code. 2 5 3 6 2023-10-18 - version 1.4.1 -
kliken-marketing-for-google/trunk/kliken-marketing-for-google.php
r2980914 r3013524 4 4 * Plugin URI: https://woo.kliken.com/ 5 5 * Description: Kliken's all-in-one marketing platform helps business owners reach high-intent customers, surpass your competition and realize significant growth in sales, while decreasing conversion costs. 6 * Version: 1.4. 16 * Version: 1.4.2 7 7 * Author: Kliken 8 8 * Author URI: http://kliken.com/ … … 11 11 * Text Domain: kliken-marketing-for-google 12 12 * Domain path: /languages 13 * 14 * Tested up to: 6.4 13 15 * 14 16 * WC requires at least: 5.5 -
kliken-marketing-for-google/trunk/pages/productscript.php
r2980900 r3013524 15 15 { 16 16 content_type: 'product', 17 content_ids: ["<?php echo esc_ attr( $product['id'] ); ?>"],18 content_name: "<?php echo esc_ attr( $product['name'] ); ?>",19 content_category: "<?php echo esc_ attr( implode( ',', $product['category'] ) ); ?>"17 content_ids: ["<?php echo esc_js( $product['id'] ); ?>"], 18 content_name: "<?php echo esc_js( $product['name'] ); ?>", 19 content_category: "<?php echo esc_js( implode( ',', $product['category'] ) ); ?>" 20 20 } 21 21 ); … … 25 25 items: [ 26 26 { 27 "id": "<?php echo esc_ attr( $product['id'] ); ?>",28 "name": "<?php echo esc_ attr( $product['name'] ); ?>",29 "category": "<?php echo esc_ attr( implode( ',', $product['category'] ) ); ?>",27 "id": "<?php echo esc_js( $product['id'] ); ?>", 28 "name": "<?php echo esc_js( $product['name'] ); ?>", 29 "category": "<?php echo esc_js( implode( ',', $product['category'] ) ); ?>", 30 30 "google_business_vertical": "retail" 31 31 } … … 36 36 sw.gEvent('page_view', 37 37 { 38 "ecomm_prodid": "<?php echo esc_ attr( $product['id'] ); ?>"38 "ecomm_prodid": "<?php echo esc_js( $product['id'] ); ?>" 39 39 } 40 40 ); … … 42 42 sw.register_product_view( 43 43 { 44 "id": "<?php echo esc_ attr( $product['id'] ); ?>",45 "category": "<?php echo esc_ attr( implode( ',', $product['category'] ) ); ?>"44 "id": "<?php echo esc_js( $product['id'] ); ?>", 45 "category": "<?php echo esc_js( implode( ',', $product['category'] ) ); ?>" 46 46 } 47 47 ); -
kliken-marketing-for-google/trunk/pages/transactionscript.php
r2404806 r3013524 12 12 <script type="text/javascript"> 13 13 var swPreRegister = function() { 14 sw.gawCurrency = "<?php echo esc_ attr( $trans['currency'] ); ?>";14 sw.gawCurrency = "<?php echo esc_js( $trans['currency'] ); ?>"; 15 15 16 16 var trans = sw.create_transaction( 17 "<?php echo esc_ attr( $trans['order_id'] ); ?>",18 "<?php echo esc_ attr( $trans['affiliate'] ); ?>",19 "<?php echo esc_ attr( $trans['sub_total'] ); ?>",20 "<?php echo esc_ attr( $trans['tax'] ); ?>",21 "<?php echo esc_ attr( $trans['city'] ); ?>",22 "<?php echo esc_ attr( $trans['state'] ); ?>",23 "<?php echo esc_ attr( $trans['country'] ); ?>",24 "<?php echo esc_ attr( $trans['total'] ); ?>",17 "<?php echo esc_js( $trans['order_id'] ); ?>", 18 "<?php echo esc_js( $trans['affiliate'] ); ?>", 19 "<?php echo esc_js( $trans['sub_total'] ); ?>", 20 "<?php echo esc_js( $trans['tax'] ); ?>", 21 "<?php echo esc_js( $trans['city'] ); ?>", 22 "<?php echo esc_js( $trans['state'] ); ?>", 23 "<?php echo esc_js( $trans['country'] ); ?>", 24 "<?php echo esc_js( $trans['total'] ); ?>", 25 25 ); 26 26 27 27 <?php foreach ( $trans['items'] as $index => $item ) : ?> 28 28 trans.add_item( 29 "<?php echo esc_ attr( $item['id'] ); ?>",30 "<?php echo esc_ attr( $item['name'] ); ?>",31 "<?php echo esc_ attr( $item['category'] ); ?>",32 "<?php echo esc_ attr( $item['price'] ); ?>",33 "<?php echo esc_ attr( $item['quantity'] ); ?>",29 "<?php echo esc_js( $item['id'] ); ?>", 30 "<?php echo esc_js( $item['name'] ); ?>", 31 "<?php echo esc_js( $item['category'] ); ?>", 32 "<?php echo esc_js( $item['price'] ); ?>", 33 "<?php echo esc_js( $item['quantity'] ); ?>", 34 34 ); 35 35 <?php endforeach; ?> -
kliken-marketing-for-google/trunk/readme.txt
r2990229 r3013524 5 5 Tested up to: 6.4 6 6 Requires PHP: 5.6 7 Stable tag: 1.4. 17 Stable tag: 1.4.2 8 8 WC requires at least: 5.5 9 9 WC tested up to: 8.0 … … 139 139 == Changelog == 140 140 141 = 1.4.2 = 142 * Properly escape data used for JavaScript code. 143 141 144 = 1.4.1 = 142 145 * Use our own translations.
Note: See TracChangeset
for help on using the changeset viewer.