Version Description
- Add a custom header "X-Unbounce-Plugin: 1" to identify all pages served by the plugin to support cache invalidation.
Download this release
Release Info
Developer | unbouncewordpress |
Plugin | Unbounce Landing Pages |
Version | 1.0.27 |
Comparing to | |
See all releases |
Code changes from version 1.0.26 to 1.0.27
- UBConfig.php +2 -2
- UBDiagnostics.php +1 -1
- UBHTTP.php +3 -0
- Unbounce-Page.php +1 -1
- readme.txt +12 -1
- templates/main_authorized_footer.php +1 -1
- templates/main_unauthorized_footer.php +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.27';
|
8 |
+
const UB_VERSION = '1.0.27';
|
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.27',
|
32 |
'Permalink Structure' => get_option('permalink_structure', ''),
|
33 |
'Domain' => $domain,
|
34 |
'Domain Authorized' => print_r(UBConfig::is_authorized_domain($domain), true),
|
UBHTTP.php
CHANGED
@@ -152,6 +152,9 @@ class UBHTTP {
|
|
152 |
$headers0,
|
153 |
$user_agent) {
|
154 |
|
|
|
|
|
|
|
155 |
$existing_headers = headers_list();
|
156 |
$forwarded_for = UBUtil::array_fetch($_SERVER, 'HTTP_X_FORWARDED_FOR');
|
157 |
$remote_ip = UBUtil::array_fetch($_SERVER, 'REMOTE_ADDR');
|
152 |
$headers0,
|
153 |
$user_agent) {
|
154 |
|
155 |
+
// Always add this header to responses to show it comes from our plugin.
|
156 |
+
header("X-Unbounce-Plugin: 1", false);
|
157 |
+
|
158 |
$existing_headers = headers_list();
|
159 |
$forwarded_for = UBUtil::array_fetch($_SERVER, 'HTTP_X_FORWARDED_FOR');
|
160 |
$remote_ip = UBUtil::array_fetch($_SERVER, 'REMOTE_ADDR');
|
Unbounce-Page.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Unbounce Landing Pages
|
4 |
Plugin URI: http://unbounce.com
|
5 |
Description: Unbounce is the most powerful standalone landing page builder available.
|
6 |
-
Version: 1.0.
|
7 |
Author: Unbounce
|
8 |
Author URI: http://unbounce.com
|
9 |
License: GPLv2
|
3 |
Plugin Name: Unbounce Landing Pages
|
4 |
Plugin URI: http://unbounce.com
|
5 |
Description: Unbounce is the most powerful standalone landing page builder available.
|
6 |
+
Version: 1.0.27
|
7 |
Author: Unbounce
|
8 |
Author URI: http://unbounce.com
|
9 |
License: GPLv2
|
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.6
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -80,6 +80,11 @@ Unbounce when switched on. This feature is disabled when you install the plugin.
|
|
80 |
Success Coach may request that you turn the debug feature on if you are experiencing issues with the plugin
|
81 |
to help track down the issue.
|
82 |
|
|
|
|
|
|
|
|
|
|
|
83 |
== Screenshots ==
|
84 |
|
85 |
1. Build your landing page in Unbounce, the world’s most powerful landing page builder.
|
@@ -89,6 +94,12 @@ to help track down the issue.
|
|
89 |
|
90 |
== Changelog ==
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
= 1.0.25 =
|
93 |
* Minor bug fix
|
94 |
|
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.6
|
6 |
+
Stable tag: 1.0.27
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
80 |
Success Coach may request that you turn the debug feature on if you are experiencing issues with the plugin
|
81 |
to help track down the issue.
|
82 |
|
83 |
+
= Unbounce Pages are loading, but my conversions are not being tracked =
|
84 |
+
|
85 |
+
This is typically caused by caching responses which affects how users are assigned unique identifiers.
|
86 |
+
You should add a rule to your cache to avoid caching Unbounce Pages which have the HTTP header "X-Unbounce-Plugin".
|
87 |
+
|
88 |
== Screenshots ==
|
89 |
|
90 |
1. Build your landing page in Unbounce, the world’s most powerful landing page builder.
|
94 |
|
95 |
== Changelog ==
|
96 |
|
97 |
+
= 1.0.27 =
|
98 |
+
* Add a custom header "X-Unbounce-Plugin: 1" to identify all pages served by the plugin to support cache invalidation.
|
99 |
+
|
100 |
+
= 1.0.26 =
|
101 |
+
* Minor fix
|
102 |
+
|
103 |
= 1.0.25 =
|
104 |
* Minor bug fix
|
105 |
|
templates/main_authorized_footer.php
CHANGED
@@ -18,4 +18,4 @@ $refresh_button = get_submit_button('refreshing the Published Pages list', 'seco
|
|
18 |
Check out our knowledge base.
|
19 |
</a>
|
20 |
<br/><a class="ub-diagnostics-link" href="<?php echo $diagnostics_url ?>">Click here for troubleshooting and plugin diagnostics</a>
|
21 |
-
<p class="ub-version">Unbounce Version 1.0.
|
18 |
Check out our knowledge base.
|
19 |
</a>
|
20 |
<br/><a class="ub-diagnostics-link" href="<?php echo $diagnostics_url ?>">Click here for troubleshooting and plugin diagnostics</a>
|
21 |
+
<p class="ub-version">Unbounce Version 1.0.27</p>
|
templates/main_unauthorized_footer.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
<a class="ub-diagnostics-link" href="<?php echo admin_url('admin.php?page=unbounce-pages-diagnostics'); ?>">
|
5 |
Click here for troubleshooting and plugin diagnostics
|
6 |
</a>
|
7 |
-
<p class="ub-version">Unbounce Version 1.0.
|
4 |
<a class="ub-diagnostics-link" href="<?php echo admin_url('admin.php?page=unbounce-pages-diagnostics'); ?>">
|
5 |
Click here for troubleshooting and plugin diagnostics
|
6 |
</a>
|
7 |
+
<p class="ub-version">Unbounce Version 1.0.27</p>
|