Plugin Directory

Changeset 3102844


Ignore:
Timestamp:
06/14/2024 03:41:10 PM (22 months ago)
Author:
webocoders
Message:

Updated plugin to version 2.3 with changes in class.php, readme.txt, and udimi-optin.php

Location:
udimi-optin
Files:
14 added
4 edited

Legend:

Unmodified
Added
Removed
  • udimi-optin/tags/1.4/class.php

    r1913171 r3102844  
    5858    }
    5959
    60     private static function getApiUrl($key)
     60    private static function getApiUrl($key)
    6161    {
    6262        return "http://".self::getUdimiDomain()."/site/optinScript?hash=" . $key;
  • udimi-optin/trunk/class.php

    r3102025 r3102844  
    1111    const PLUGIN_FOLDER = 'udimi-optin';
    1212    const OPTIN_CODE_TTL_HOURS = 24;
    13     const UA = 'UdimiOptinWordpress-12062024';
    1413
    1514    private $apiError = '';
     
    106105        }
    107106
    108         $res = wp_remote_get($this->getApiUrl($key), [
    109             'headers' => [
    110                 'User-Agent' => self::UA,
    111             ],
    112         ]);
     107        $res = wp_remote_get($this->getApiUrl($key));
    113108
    114109        if (!is_array($res)) {
     
    152147    private function getApiUrl($key)
    153148    {
    154         return (self::IS_LOCAL ? self::API_HOST_LOCAL : self::API_HOST_PROD) . "/v1/guests/wordpress-plugin-ot/get-code/$key?v=" . self::UA;
     149        return (self::IS_LOCAL ? self::API_HOST_LOCAL : self::API_HOST_PROD) . "/v1/guests/wordpress-plugin-ot/get-code/$key";
    155150    }
    156151
  • udimi-optin/trunk/readme.txt

    r3101942 r3102844  
    33Requires at least: 3.0
    44Tested up to: 6.5
    5 Stable tag: 2.2
     5Stable tag: 2.3
    66Contributors: udimi.com
    77License: GPLv2 or later
  • udimi-optin/trunk/udimi-optin.php

    r3101961 r3102844  
    44Plugin URI:  https://udimi.com
    55Description: This plugin automatically inserts Udimi Optin tracking code to your site.
    6 Version:     2.2.0
     6Version:     2.3.0
    77Author:      Udimicom, Limited
    88Author URI:  http://udimi.com
Note: See TracChangeset for help on using the changeset viewer.