Plugin Directory

Changeset 3674932


Ignore:
Timestamp:
08/31/2026 08:33:05 PM (3 months ago)
Author:
msignorella
Message:

1.30.0 release

Location:
thoughtmetric-for-woocommerce
Files:
9 added
4 edited

Legend:

Unmodified
Added
Removed
  • thoughtmetric-for-woocommerce/trunk/css/style.css

    r2890651 r3674932  
    11
    22div#tm-wrap {
    3   font-family: Roboto;
     3  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    44  font-style: normal;
    55  display: flex;
  • thoughtmetric-for-woocommerce/trunk/inc/thoughtmetric-admin-settings.php

    r2890651 r3674932  
    1919
    2020function thoughtmetric_base64encode() {
     21    //only run on our own settings page, the elements below don't exist anywhere else in wp-admin
     22    if ( ! isset( $_GET['page'] ) || 'thoughtmetric' !== $_GET['page'] ) {
     23        return;
     24    }
    2125?>
    2226<script type="text/javascript">
    23 var tm_submit = document.getElementById( 'submit' )
     27(function() {
     28var tm_submit = document.getElementById( 'submit' );
    2429var tm_snippet_unencoded = document.getElementById( 'tm_snippet_unencoded' );
     30var thoughtmetric_snippet = document.getElementById( 'thoughtmetric_snippet' );
     31if ( ! tm_submit || ! tm_snippet_unencoded || ! thoughtmetric_snippet ) {
     32    return;
     33}
     34
    2535tm_submit.disabled = tm_snippet_unencoded.value === '';
    2636
    2737tm_submit.addEventListener( 'click', function() {
    28     var thoughtmetric_snippet = document.getElementById( 'thoughtmetric_snippet' );
    2938    thoughtmetric_snippet.value = window.btoa(window.btoa( tm_snippet_unencoded.value ));
    3039});
    … …  
    3342    tm_submit.disabled = tm_snippet_unencoded.value === '';
    3443}, false);
     44})();
    3545</script>
    3646<?php
  • thoughtmetric-for-woocommerce/trunk/readme.txt

    r3484208 r3674932  
    33Tags: thoughtmetric, thought metric, marketing analytics, marketing attribution, attribution
    44Requires at least: 5.2
    5 Tested up to: 6.9.1
    6 Stable tag: 1.29.0
     5Tested up to: 7.1
     6Stable tag: 1.30.0
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • thoughtmetric-for-woocommerce/trunk/thoughtmetric-ecommerce.php

    r3484208 r3674932  
    66 * Description: ThoughtMetric Marketing Attribution for WooCommerce
    77 * Text Domain: thoughtmetric
    8  * Version: 1.29.0
     8 * Version: 1.30.0
    99 * Requires at least: 5.2
    1010 * WC requires at least: 2.2
    … …  
    3434    function thoughtmetric_stylesheet(){
    3535        wp_enqueue_style( 'thoughtmetric-styles', plugins_url( 'css/style.css', __FILE__ ) );
    36         wp_enqueue_style( 'roboto', 'https://fonts.googleapis.com/css?family=Roboto:400,500' );
    3736    }
    3837    add_action( 'admin_print_styles', 'thoughtmetric_stylesheet' );
Note: See TracChangeset for help on using the changeset viewer.