Unbounce Landing Pages - Version 1.0.26

Version Description

Download this release

Release Info

Developer unbouncewordpress
Plugin Icon Unbounce Landing Pages
Version 1.0.26
Comparing to
See all releases

Code changes from version 1.0.24 to 1.0.26

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.24';
8
- const UB_VERSION = '1.0.24';
9
 
10
  // Option keys
11
  const UB_ROUTES_CACHE_KEY = 'ub-route-cache';
@@ -41,7 +41,8 @@ class UBConfig {
41
  UBConfig::UB_USER_ID_KEY,
42
  UBConfig::UB_DOMAIN_ID_KEY,
43
  UBConfig::UB_CLIENT_ID_KEY,
44
- UBConfig::UB_PROXY_ERROR_MESSAGE_KEY
 
45
  );
46
  }
47
 
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.26';
8
+ const UB_VERSION = '1.0.26';
9
 
10
  // Option keys
11
  const UB_ROUTES_CACHE_KEY = 'ub-route-cache';
41
  UBConfig::UB_USER_ID_KEY,
42
  UBConfig::UB_DOMAIN_ID_KEY,
43
  UBConfig::UB_CLIENT_ID_KEY,
44
+ UBConfig::UB_PROXY_ERROR_MESSAGE_KEY,
45
+ UBConfig::UB_ALLOW_PUBLIC_ADDRESS_X_FORWARDED_FOR
46
  );
47
  }
48
 
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.24',
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.26',
32
  'Permalink Structure' => get_option('permalink_structure', ''),
33
  'Domain' => $domain,
34
  'Domain Authorized' => print_r(UBConfig::is_authorized_domain($domain), true),
UBHTTP.php CHANGED
@@ -165,6 +165,8 @@ class UBHTTP {
165
  $forwarded_for,
166
  $remote_ip);
167
  UBLogger::debug_var('target_url', $target_url);
 
 
168
 
169
  $stream_headers = UBHTTP::stream_headers_function($existing_headers);
170
  $stream_body = UBHTTP::stream_response_function();
165
  $forwarded_for,
166
  $remote_ip);
167
  UBLogger::debug_var('target_url', $target_url);
168
+ UBLogger::debug_var('original_headers', print_r($headers0, true));
169
+ UBLogger::debug_var('sent_headers', print_r($headers, true));
170
 
171
  $stream_headers = UBHTTP::stream_headers_function($existing_headers);
172
  $stream_body = UBHTTP::stream_response_function();
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.24
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.26
7
  Author: Unbounce
8
  Author URI: http://unbounce.com
9
  License: GPLv2
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.5.3
6
- Stable tag: 1.0.24
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -89,7 +89,10 @@ to help track down the issue.
89
 
90
  == Changelog ==
91
 
92
- = 1.0.24=
 
 
 
93
  * Improves support for installations using SSL
94
  * is_ssl() has higher precedence for determing protocol of content to serve
95
 
2
  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.26
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
89
 
90
  == Changelog ==
91
 
92
+ = 1.0.25 =
93
+ * Minor bug fix
94
+
95
+ = 1.0.24 =
96
  * Improves support for installations using SSL
97
  * is_ssl() has higher precedence for determing protocol of content to serve
98
 
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.24</p>
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.26</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.24</p>
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.26</p>