Plugin Directory

Changeset 2448534


Ignore:
Timestamp:
12/31/2020 01:22:19 PM (5 years ago)
Author:
wecantrack
Message:

release 1.2.5

Location:
wecantrack
Files:
25 added
5 edited

Legend:

Unmodified
Added
Removed
  • wecantrack/trunk/WecantrackHelper.php

    r2435744 r2448534  
    9191    public static function useragent_is_bot($user_agent)
    9292    {
    93         $bots = ['bot/', 'crawler', 'semrush', 'bot.', ' bot ', '@bot', 'guzzle', 'gachecker', 'cache', 'cloudflare'];
     93        $bots = ['bot/', 'crawler', 'semrush', 'bot.', ' bot ', '@bot', 'guzzle', 'gachecker', 'cache', 'cloudflare', 'bing'];
    9494
    9595        foreach ($bots as $bot) {
  • wecantrack/trunk/js/admin.js

    r2312147 r2448534  
    1010        $submit_verified = $('#submit-verified'),
    1111        $plugin_status = $('.wecantrack-plugin-status input[name="wecantrack_plugin_status"]'),
    12         $plugin_status_checked = $('.wecantrack-plugin-status input[name="wecantrack_plugin_status"]:checked'),
    1312        $session_enabler = $('.wecantrack-session-enabler');
    1413
    1514    function toggle_session_enabler() {
    16         var checked_val = $($plugin_status_checked.selector).val();
     15        var checked_val = $('.wecantrack-plugin-status input[name="wecantrack_plugin_status"]:checked').val();
     16
    1717        if (checked_val === '1') {
    1818            $session_enabler.addClass('hidden');
     
    129129                $('.wecantrack-snippet.hidden, .wecantrack-plugin-status.hidden, #wecantrack_ajax_form .submit').removeClass('hidden');
    130130
    131                 if ($($plugin_status_checked.selector).val() === '0') {
     131                if ($('.wecantrack-plugin-status input[name="wecantrack_plugin_status"]:checked').val() === '0') {
    132132                    $('.wecantrack-session-enabler.hidden').removeClass('hidden');
    133133                }
     
    137137
    138138    // auto submits form when api key is already filled in
    139     if ($('#wecantrack_api_key').val().length > 30) {
     139    if ($api_key.val().length > 30) {
    140140        $form.submit();
    141141    }
  • wecantrack/trunk/readme.txt

    r2444398 r2448534  
    55Tested up to: 5.6
    66Requires PHP: 5.6.20
    7 Stable tag: 1.2.4
     7Stable tag: 1.2.5
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
     
    6060
    6161== Changelog ==
     62
     63= 1.2.5 - 31st December 2020 =
     64 * Admin JS Fix for WP 5.6+
     65 * New bot pattern added:bing
    6266
    6367= 1.2.4 - 14th December 2020 =
  • wecantrack/trunk/wecantrack.php

    r2444398 r2448534  
    77Plugin URI: https://wecantrack.com/wordpress
    88Description: Integrate all you affiliate sales in Google Analytics, Google Ads, Facebook, Data Studio and more!
    9 Version: 1.2.4
     9Version: 1.2.5
    1010Author: wecantrack.com
    1111Author URI: https://wecantrack.com
     
    1717if(!defined('ABSPATH')) { die('You are not allowed to call this page directly.'); }
    1818
    19 define('WECANTRACK_VERSION', '1.2.4');
     19define('WECANTRACK_VERSION', '1.2.5');
    2020define('WECANTRACK_PLUGIN_NAME', 'wecantrack');
    2121define('WECANTRACK_PATH', WP_PLUGIN_DIR.'/'.WECANTRACK_PLUGIN_NAME);
  • wecantrack/trunk/wecantrack.pot

    r2444398 r2448534  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WeCanTrack 1.2.4\n"
     5"Project-Id-Version: WeCanTrack 1.2.5\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wecantrack\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2020-12-22T14:05:39+00:00\n"
     12"POT-Creation-Date: 2020-12-31T13:11:23+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.4.0\n"
Note: See TracChangeset for help on using the changeset viewer.