Unbounce Landing Pages - Version 1.0.4

Version Description

Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

Files changed (5) hide show
  1. UBConfig.php +2 -2
  2. UBDiagnostics.php +1 -1
  3. UBHTTP.php +1 -1
  4. Unbounce-Page.php +3 -3
  5. readme.txt +1 -1
UBConfig.php CHANGED
@@ -12,8 +12,8 @@ class UBConfig {
12
  const UB_AUTHORIZED_DOMAINS_KEY = 'ub-authorized-domains';
13
  const UB_HAS_AUTHORIZED_KEY = 'ub-has-authorized';
14
  const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
15
- const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.3';
16
- const UB_VERSION = '1.0.3';
17
 
18
  public static function default_page_server_domain() {
19
  $domain = getenv('UB_PAGE_SERVER_DOMAIN');
12
  const UB_AUTHORIZED_DOMAINS_KEY = 'ub-authorized-domains';
13
  const UB_HAS_AUTHORIZED_KEY = 'ub-has-authorized';
14
  const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
15
+ const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.4';
16
+ const UB_VERSION = '1.0.4';
17
 
18
  public static function default_page_server_domain() {
19
  $domain = getenv('UB_PAGE_SERVER_DOMAIN');
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.3",
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.4",
32
  'Permalink Structure' => get_option('permalink_structure', ''),
33
  'Domain' => $domain,
34
  'Domain Authorized' => print_r(UBConfig::is_authorized_domain($domain), true),
UBHTTP.php CHANGED
@@ -217,7 +217,7 @@ class UBHTTP {
217
  UBHTTP::is_tracking_link($proxyable_url_set, $url_without_protocol)) {
218
  return "TrackClick";
219
 
220
- } elseif ($http_method == "GET" &&
221
  (in_array($url_without_protocol, $proxyable_url_set) ||
222
  UBHTTP::is_confirmation_dialog($proxyable_url_set, $url_without_protocol))) {
223
  return "ViewLandingPage";
217
  UBHTTP::is_tracking_link($proxyable_url_set, $url_without_protocol)) {
218
  return "TrackClick";
219
 
220
+ } elseif (($http_method == "GET" || $http_method == "POST") &&
221
  (in_array($url_without_protocol, $proxyable_url_set) ||
222
  UBHTTP::is_confirmation_dialog($proxyable_url_set, $url_without_protocol))) {
223
  return "ViewLandingPage";
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.3
7
  Author: Unbounce
8
  Author URI: http://unbounce.com
9
  License: GPLv2
@@ -233,7 +233,7 @@ function render_unbounce_pages($domain_info, $domain) {
233
  echo '<a href="http://documentation.unbounce.com/hc/en-us/articles/205069824-Integrating-with-WordPress" target="_blank">Check out our knowledge base.</a>';
234
  $diagnostics_url = admin_url('admin.php?page=unbounce-pages-diagnostics');
235
  echo "<br/><a class='ub-diagnostics-link' href='${diagnostics_url}'>Diagnostics</a>";
236
- echo '<p class="ub-version">Unbounce Version 1.0.3</p>';
237
  });
238
  } else {
239
  if (UBConfig::has_authorized()) {
@@ -270,7 +270,7 @@ function render_unbounce_pages($domain_info, $domain) {
270
  echo ' target="_blank">Check out our knowledge base.</a>';
271
  $diagnostics_url = admin_url('admin.php?page=unbounce-pages-diagnostics');
272
  echo "<br/><a class='ub-diagnostics-link' href='${diagnostics_url}'>Diagnostics</a>";
273
- echo '<p class="ub-version">Unbounce Version 1.0.3</p>';
274
  });
275
  }
276
 
3
  Plugin Name: Unbounce
4
  Plugin URI: http://unbounce.com
5
  Description: Publish Unbounce Landing Pages to your Wordpress Domain.
6
+ Version: 1.0.4
7
  Author: Unbounce
8
  Author URI: http://unbounce.com
9
  License: GPLv2
233
  echo '<a href="http://documentation.unbounce.com/hc/en-us/articles/205069824-Integrating-with-WordPress" target="_blank">Check out our knowledge base.</a>';
234
  $diagnostics_url = admin_url('admin.php?page=unbounce-pages-diagnostics');
235
  echo "<br/><a class='ub-diagnostics-link' href='${diagnostics_url}'>Diagnostics</a>";
236
+ echo '<p class="ub-version">Unbounce Version 1.0.4</p>';
237
  });
238
  } else {
239
  if (UBConfig::has_authorized()) {
270
  echo ' target="_blank">Check out our knowledge base.</a>';
271
  $diagnostics_url = admin_url('admin.php?page=unbounce-pages-diagnostics');
272
  echo "<br/><a class='ub-diagnostics-link' href='${diagnostics_url}'>Diagnostics</a>";
273
+ echo '<p class="ub-version">Unbounce Version 1.0.4</p>';
274
  });
275
  }
276
 
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.3
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.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9