Plugin Directory

Changeset 3013524


Ignore:
Timestamp:
12/22/2023 08:02:11 PM (2 years ago)
Author:
sitewit
Message:

Release version 1.4.2

Location:
kliken-marketing-for-google
Files:
60 added
5 edited

Legend:

Unmodified
Added
Removed
  • kliken-marketing-for-google/trunk/changelog.txt

    r2980914 r3013524  
    11*** AI Powered Marketing Changelog ***
     2
     32023-12-22 - version 1.4.2
     4* Properly escape data used for JavaScript code.
    25
    362023-10-18 - version 1.4.1
  • kliken-marketing-for-google/trunk/kliken-marketing-for-google.php

    r2980914 r3013524  
    44 * Plugin URI: https://woo.kliken.com/
    55 * 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.1
     6 * Version: 1.4.2
    77 * Author: Kliken
    88 * Author URI: http://kliken.com/
     
    1111 * Text Domain: kliken-marketing-for-google
    1212 * Domain path: /languages
     13 *
     14 * Tested up to: 6.4
    1315 *
    1416 * WC requires at least: 5.5
  • kliken-marketing-for-google/trunk/pages/productscript.php

    r2980900 r3013524  
    1515            {
    1616                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'] ) ); ?>"
    2020            }
    2121        );
     
    2525                items: [
    2626                    {
    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'] ) ); ?>",
    3030                        "google_business_vertical": "retail"
    3131                    }
     
    3636        sw.gEvent('page_view',
    3737            {
    38                 "ecomm_prodid": "<?php echo esc_attr( $product['id'] ); ?>"
     38                "ecomm_prodid": "<?php echo esc_js( $product['id'] ); ?>"
    3939            }
    4040        );
     
    4242        sw.register_product_view(
    4343            {
    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'] ) ); ?>"
    4646            }
    4747        );
  • kliken-marketing-for-google/trunk/pages/transactionscript.php

    r2404806 r3013524  
    1212<script type="text/javascript">
    1313    var swPreRegister = function() {
    14         sw.gawCurrency = "<?php echo esc_attr( $trans['currency'] ); ?>";
     14        sw.gawCurrency = "<?php echo esc_js( $trans['currency'] ); ?>";
    1515
    1616        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'] ); ?>",
    2525        );
    2626
    2727        <?php foreach ( $trans['items'] as $index => $item ) : ?>
    2828            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'] ); ?>",
    3434            );
    3535        <?php endforeach; ?>
  • kliken-marketing-for-google/trunk/readme.txt

    r2990229 r3013524  
    55Tested up to: 6.4
    66Requires PHP: 5.6
    7 Stable tag: 1.4.1
     7Stable tag: 1.4.2
    88WC requires at least: 5.5
    99WC tested up to: 8.0
     
    139139== Changelog ==
    140140
     141= 1.4.2 =
     142* Properly escape data used for JavaScript code.
     143
    141144= 1.4.1 =
    142145* Use our own translations.
Note: See TracChangeset for help on using the changeset viewer.