Changeset 3102844
- Timestamp:
- 06/14/2024 03:41:10 PM (22 months ago)
- Location:
- udimi-optin
- Files:
-
- 14 added
- 4 edited
-
tags/1.4/class.php (modified) (1 diff)
-
tags/2.3 (added)
-
tags/2.3/admin (added)
-
tags/2.3/admin/settings.php (added)
-
tags/2.3/class.php (added)
-
tags/2.3/images (added)
-
tags/2.3/images/logo.png (added)
-
tags/2.3/images/logo16.png (added)
-
tags/2.3/images/logo24.png (added)
-
tags/2.3/images/logo64.png (added)
-
tags/2.3/js (added)
-
tags/2.3/js/adminpanel.js (added)
-
tags/2.3/readme.txt (added)
-
tags/2.3/udimi-optin.php (added)
-
tags/2.3/uninstall.php (added)
-
trunk/class.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/udimi-optin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
udimi-optin/tags/1.4/class.php
r1913171 r3102844 58 58 } 59 59 60 private static function getApiUrl($key)60 private static function getApiUrl($key) 61 61 { 62 62 return "http://".self::getUdimiDomain()."/site/optinScript?hash=" . $key; -
udimi-optin/trunk/class.php
r3102025 r3102844 11 11 const PLUGIN_FOLDER = 'udimi-optin'; 12 12 const OPTIN_CODE_TTL_HOURS = 24; 13 const UA = 'UdimiOptinWordpress-12062024';14 13 15 14 private $apiError = ''; … … 106 105 } 107 106 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)); 113 108 114 109 if (!is_array($res)) { … … 152 147 private function getApiUrl($key) 153 148 { 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"; 155 150 } 156 151 -
udimi-optin/trunk/readme.txt
r3101942 r3102844 3 3 Requires at least: 3.0 4 4 Tested up to: 6.5 5 Stable tag: 2. 25 Stable tag: 2.3 6 6 Contributors: udimi.com 7 7 License: GPLv2 or later -
udimi-optin/trunk/udimi-optin.php
r3101961 r3102844 4 4 Plugin URI: https://udimi.com 5 5 Description: This plugin automatically inserts Udimi Optin tracking code to your site. 6 Version: 2. 2.06 Version: 2.3.0 7 7 Author: Udimicom, Limited 8 8 Author URI: http://udimi.com
Note: See TracChangeset
for help on using the changeset viewer.