Version Description
(2022-07-28) = - Removed "Host" header from sent requests - Changed api url
Download this release
Release Info
Developer | marek@instapage.com |
Plugin | Instapage WordPress Plugin |
Version | 3.4.0 |
Comparing to | |
See all releases |
Code changes from version 3.3.1 to 3.4.0
- README.txt +5 -1
- instapage.php +2 -2
- models/InstapageCmsPluginAPIModel.php +0 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: landing page, lead generation, a/b testing, Instapage, squeeze page, conve
|
|
4 |
Requires at least: 3.4
|
5 |
Requires PHP: 5.4.0
|
6 |
Tested up to: 5.8.0
|
7 |
-
Stable tag: 3.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -55,6 +55,10 @@ Join 250,000+ businesses who rely on Instapage.
|
|
55 |
4. Instapage app's dashboard.
|
56 |
|
57 |
== Changelog ==
|
|
|
|
|
|
|
|
|
58 |
= 3.3.1 (2021-08-24) =
|
59 |
- Bugfix: Problems with proxying experiment cookie in some setups (experiment variation changes upon refresh)
|
60 |
- Increased Tested up to: 5.8.0
|
4 |
Requires at least: 3.4
|
5 |
Requires PHP: 5.4.0
|
6 |
Tested up to: 5.8.0
|
7 |
+
Stable tag: 3.4.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
55 |
4. Instapage app's dashboard.
|
56 |
|
57 |
== Changelog ==
|
58 |
+
= 3.4.0 (2022-07-28) =
|
59 |
+
- Removed "Host" header from sent requests
|
60 |
+
- Changed api url
|
61 |
+
|
62 |
= 3.3.1 (2021-08-24) =
|
63 |
- Bugfix: Problems with proxying experiment cookie in some setups (experiment variation changes upon refresh)
|
64 |
- Increased Tested up to: 5.8.0
|
instapage.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Instapage Plugin
|
5 |
Description: The best way for WordPress to seamlessly publish landing pages as a natural extension of your website.
|
6 |
-
Version: 3.
|
7 |
Requires PHP: 5.4.0
|
8 |
Plugin URI: https://instapage.com/
|
9 |
Author: Instapage
|
@@ -20,7 +20,7 @@ define('MINIUM_PHP_VERSION', '5.2.4');
|
|
20 |
* @var array $consts Holds constant names to be defined with their default values - if not already defined or found in `$_ENV`
|
21 |
*/
|
22 |
$consts = array(
|
23 |
-
'INSTAPAGE_ENTERPRISE_ENDPOINT' => 'http://pageserve.co',
|
24 |
'INSTAPAGE_PROXY_ENDPOINT' => 'http://app.instapage.com',
|
25 |
'INSTAPAGE_APP_ENDPOINT' => 'http://app.instapage.com/api/plugin'
|
26 |
);
|
3 |
/*
|
4 |
Plugin Name: Instapage Plugin
|
5 |
Description: The best way for WordPress to seamlessly publish landing pages as a natural extension of your website.
|
6 |
+
Version: 3.4.0
|
7 |
Requires PHP: 5.4.0
|
8 |
Plugin URI: https://instapage.com/
|
9 |
Author: Instapage
|
20 |
* @var array $consts Holds constant names to be defined with their default values - if not already defined or found in `$_ENV`
|
21 |
*/
|
22 |
$consts = array(
|
23 |
+
'INSTAPAGE_ENTERPRISE_ENDPOINT' => 'http://plugin.pageserve.co',
|
24 |
'INSTAPAGE_PROXY_ENDPOINT' => 'http://app.instapage.com',
|
25 |
'INSTAPAGE_APP_ENDPOINT' => 'http://app.instapage.com/api/plugin'
|
26 |
);
|
models/InstapageCmsPluginAPIModel.php
CHANGED
@@ -54,7 +54,6 @@ class InstapageCmsPluginAPIModel {
|
|
54 |
$data['variant'] = filter_input(INPUT_GET, 'variant');
|
55 |
$data['requestHost'] = $host;
|
56 |
$headers['integration'] = $integration;
|
57 |
-
$headers['host'] = $host;
|
58 |
$response = InstapageCmsPluginConnector::getSelectedConnector()->remoteRequest($url, $data, $headers, 'POST');
|
59 |
|
60 |
InstapageCmsPluginHelper::writeDiagnostics($url, 'Enterprise call URL');
|
54 |
$data['variant'] = filter_input(INPUT_GET, 'variant');
|
55 |
$data['requestHost'] = $host;
|
56 |
$headers['integration'] = $integration;
|
|
|
57 |
$response = InstapageCmsPluginConnector::getSelectedConnector()->remoteRequest($url, $data, $headers, 'POST');
|
58 |
|
59 |
InstapageCmsPluginHelper::writeDiagnostics($url, 'Enterprise call URL');
|