Version Description
Download this release
Release Info
Developer | unbouncewordpress |
Plugin | Unbounce Landing Pages |
Version | 1.0.8 |
Comparing to | |
See all releases |
Code changes from version 1.0.7 to 1.0.8
- UBConfig.php +2 -2
- UBDiagnostics.php +1 -1
- UBHTTP.php +3 -3
- Unbounce-Page.php +3 -4
- readme.txt +1 -1
UBConfig.php
CHANGED
@@ -4,8 +4,8 @@ class UBConfig {
|
|
4 |
|
5 |
const UB_PLUGIN_NAME = 'ub-wordpress';
|
6 |
const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
|
7 |
-
const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.
|
8 |
-
const UB_VERSION = '1.0.
|
9 |
|
10 |
# Option keys
|
11 |
const UB_ROUTES_CACHE_KEY = 'ub-route-cache';
|
4 |
|
5 |
const UB_PLUGIN_NAME = 'ub-wordpress';
|
6 |
const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
|
7 |
+
const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.8';
|
8 |
+
const UB_VERSION = '1.0.8';
|
9 |
|
10 |
# Option keys
|
11 |
const UB_ROUTES_CACHE_KEY = 'ub-route-cache';
|
UBDiagnostics.php
CHANGED
@@ -28,7 +28,7 @@ class UBDiagnostics {
|
|
28 |
return array(
|
29 |
'PHP Version' => phpversion(),
|
30 |
'WordPress Version' => UBDiagnostics::wordpress_version(),
|
31 |
-
'Unbounce Plugin Version' => "1.0.
|
32 |
'Permalink Structure' => get_option('permalink_structure', ''),
|
33 |
'Domain' => $domain,
|
34 |
'Domain Authorized' => print_r(UBConfig::is_authorized_domain($domain), true),
|
28 |
return array(
|
29 |
'PHP Version' => phpversion(),
|
30 |
'WordPress Version' => UBDiagnostics::wordpress_version(),
|
31 |
+
'Unbounce Plugin Version' => "1.0.8",
|
32 |
'Permalink Structure' => get_option('permalink_structure', ''),
|
33 |
'Domain' => $domain,
|
34 |
'Domain Authorized' => print_r(UBConfig::is_authorized_domain($domain), true),
|
UBHTTP.php
CHANGED
@@ -127,7 +127,6 @@ class UBHTTP {
|
|
127 |
$target_url,
|
128 |
$cookie_string,
|
129 |
$headers0,
|
130 |
-
$post_body = null,
|
131 |
$user_agent) {
|
132 |
|
133 |
$existing_headers = headers_list();
|
@@ -157,8 +156,9 @@ class UBHTTP {
|
|
157 |
CURLOPT_TIMEOUT => 5
|
158 |
);
|
159 |
|
160 |
-
if ($method == "POST"
|
161 |
-
|
|
|
162 |
}
|
163 |
|
164 |
curl_setopt_array($curl, $curl_options);
|
127 |
$target_url,
|
128 |
$cookie_string,
|
129 |
$headers0,
|
|
|
130 |
$user_agent) {
|
131 |
|
132 |
$existing_headers = headers_list();
|
156 |
CURLOPT_TIMEOUT => 5
|
157 |
);
|
158 |
|
159 |
+
if ($method == "POST") {
|
160 |
+
// Use raw post body to allow the same post key to occur more than once
|
161 |
+
$curl_options[CURLOPT_POSTFIELDS] = file_get_contents('php://input');
|
162 |
}
|
163 |
|
164 |
curl_setopt_array($curl, $curl_options);
|
Unbounce-Page.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Unbounce
|
4 |
Plugin URI: http://unbounce.com
|
5 |
Description: Publish Unbounce Landing Pages to your Wordpress Domain.
|
6 |
-
Version: 1.0.
|
7 |
Author: Unbounce
|
8 |
Author URI: http://unbounce.com
|
9 |
License: GPLv2
|
@@ -150,7 +150,6 @@ add_action('init', function() {
|
|
150 |
$raw_url,
|
151 |
$cookie_string,
|
152 |
$req_headers,
|
153 |
-
$_POST,
|
154 |
$user_agent);
|
155 |
|
156 |
$end = microtime(true);
|
@@ -262,7 +261,7 @@ function render_unbounce_pages($domain_info, $domain) {
|
|
262 |
echo '<a href="http://documentation.unbounce.com/hc/en-us/articles/205069824-Integrating-with-WordPress" target="_blank">Check out our knowledge base.</a>';
|
263 |
$diagnostics_url = admin_url('admin.php?page=unbounce-pages-diagnostics');
|
264 |
echo "<br/><a class='ub-diagnostics-link' href='${diagnostics_url}'>Diagnostics</a>";
|
265 |
-
echo '<p class="ub-version">Unbounce Version 1.0.
|
266 |
});
|
267 |
} else {
|
268 |
if (UBConfig::has_authorized()) {
|
@@ -299,7 +298,7 @@ function render_unbounce_pages($domain_info, $domain) {
|
|
299 |
echo ' target="_blank">Check out our knowledge base.</a>';
|
300 |
$diagnostics_url = admin_url('admin.php?page=unbounce-pages-diagnostics');
|
301 |
echo "<br/><a class='ub-diagnostics-link' href='${diagnostics_url}'>Diagnostics</a>";
|
302 |
-
echo '<p class="ub-version">Unbounce Version 1.0.
|
303 |
});
|
304 |
}
|
305 |
|
3 |
Plugin Name: Unbounce
|
4 |
Plugin URI: http://unbounce.com
|
5 |
Description: Publish Unbounce Landing Pages to your Wordpress Domain.
|
6 |
+
Version: 1.0.8
|
7 |
Author: Unbounce
|
8 |
Author URI: http://unbounce.com
|
9 |
License: GPLv2
|
150 |
$raw_url,
|
151 |
$cookie_string,
|
152 |
$req_headers,
|
|
|
153 |
$user_agent);
|
154 |
|
155 |
$end = microtime(true);
|
261 |
echo '<a href="http://documentation.unbounce.com/hc/en-us/articles/205069824-Integrating-with-WordPress" target="_blank">Check out our knowledge base.</a>';
|
262 |
$diagnostics_url = admin_url('admin.php?page=unbounce-pages-diagnostics');
|
263 |
echo "<br/><a class='ub-diagnostics-link' href='${diagnostics_url}'>Diagnostics</a>";
|
264 |
+
echo '<p class="ub-version">Unbounce Version 1.0.8</p>';
|
265 |
});
|
266 |
} else {
|
267 |
if (UBConfig::has_authorized()) {
|
298 |
echo ' target="_blank">Check out our knowledge base.</a>';
|
299 |
$diagnostics_url = admin_url('admin.php?page=unbounce-pages-diagnostics');
|
300 |
echo "<br/><a class='ub-diagnostics-link' href='${diagnostics_url}'>Diagnostics</a>";
|
301 |
+
echo '<p class="ub-version">Unbounce Version 1.0.8</p>';
|
302 |
});
|
303 |
}
|
304 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: unbouncewordpress
|
|
3 |
Tags: Unbounce, AB testing, A/B testing, split testing, CRO, conversion optimization, wordpress landing page, wp landing pages, splash pages, landing pages, squeeze pages, lead gen, lead generation, email list, responsive landing pages, templates, inbound marketing, ppc, analytics
|
4 |
Requires at least: 4.1.5
|
5 |
Tested up to: 4.3
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
3 |
Tags: Unbounce, AB testing, A/B testing, split testing, CRO, conversion optimization, wordpress landing page, wp landing pages, splash pages, landing pages, squeeze pages, lead gen, lead generation, email list, responsive landing pages, templates, inbound marketing, ppc, analytics
|
4 |
Requires at least: 4.1.5
|
5 |
Tested up to: 4.3
|
6 |
+
Stable tag: 1.0.8
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|