Plugin Directory

Changeset 2475912


Ignore:
Timestamp:
02/16/2021 08:59:30 PM (5 years ago)
Author:
wojciechborowicz
Message:

1.11 - send_to outside of quotation marks fix

Location:
conversion-helper/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • conversion-helper/trunk/conversion_helper.php

    r2467244 r2475912  
    55Description: Add google adwords conversion code and goal trackers
    66Author: Wojciech Borowicz
    7 Version: 1.1
     7Version: 1.11
    88Author URI: https://borowicz.me
    99License: GPLv2
     
    133133                    <script>
    134134                      gtag('event', 'conversion', {
    135                           'send_to': <?php echo " ' " . esc_html_e($options["checkout_sendto"]) . " ' "; ?>,
     135                           'send_to': '<?php echo  esc_html_e($options["checkout_sendto"])  ; ?>',
    136136                          'value': '<?php echo esc_html_e($total); ?>',
    137137                          'currency': 'GBP',
     
    148148                            <script>
    149149                              gtag('event', 'conversion', {
    150                                   'send_to': <?php echo " ' " . $options["checkout_sendto"] . " ' "; ?>,
     150                                   'send_to': '<?php echo  esc_html_e($options["checkout_sendto"])  ; ?>',
    151151                                  'value': '<?php echo $_GET["value"]; ?>',
    152152                                  'currency': 'GBP',
  • conversion-helper/trunk/readme.txt

    r2467244 r2475912  
    4343* New feature : test mode
    4444* Couple of fixes for error exceptions
     45= 1.11 =
     46* FIX : send_to value could be displayed outside of quotation marks.
    4547
    4648
Note: See TracChangeset for help on using the changeset viewer.