Version Description
- Improved support for PHP 7.1
Download this release
Release Info
Developer | unbouncewordpress |
Plugin | Unbounce Landing Pages |
Version | 1.0.33 |
Comparing to | |
See all releases |
Code changes from version 1.0.32 to 1.0.33
- UBCompatibility.php +1 -1
- UBConfig.php +6 -2
- UBDiagnostics.php +7 -1
- Unbounce-Page.php +1 -1
- readme.txt +5 -2
- templates/main_authorized_footer.php +1 -1
- templates/main_unauthorized_footer.php +1 -1
UBCompatibility.php
CHANGED
@@ -141,7 +141,7 @@ if (!function_exists('http_response_code')) {
|
|
141 |
if (!function_exists('getallheaders')) {
|
142 |
function getallheaders()
|
143 |
{
|
144 |
-
$headers =
|
145 |
foreach ($_SERVER as $name => $value) {
|
146 |
if (substr($name, 0, 5) == 'HTTP_') {
|
147 |
$headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value;
|
141 |
if (!function_exists('getallheaders')) {
|
142 |
function getallheaders()
|
143 |
{
|
144 |
+
$headers = array();
|
145 |
foreach ($_SERVER as $name => $value) {
|
146 |
if (substr($name, 0, 5) == 'HTTP_') {
|
147 |
$headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value;
|
UBConfig.php
CHANGED
@@ -5,8 +5,8 @@ class UBConfig
|
|
5 |
|
6 |
const UB_PLUGIN_NAME = 'ub-wordpress';
|
7 |
const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
|
8 |
-
const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.
|
9 |
-
const UB_VERSION = '1.0.
|
10 |
|
11 |
// Option keys
|
12 |
const UB_ROUTES_CACHE_KEY = 'ub-route-cache';
|
@@ -272,6 +272,10 @@ class UBConfig
|
|
272 |
return array(false, array('input is null'));
|
273 |
}
|
274 |
|
|
|
|
|
|
|
|
|
275 |
$use_internal_errors = libxml_use_internal_errors(true);
|
276 |
$sitemap = simplexml_load_string($string);
|
277 |
|
5 |
|
6 |
const UB_PLUGIN_NAME = 'ub-wordpress';
|
7 |
const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
|
8 |
+
const UB_USER_AGENT = 'Unbounce WP Plugin 1.0.33';
|
9 |
+
const UB_VERSION = '1.0.33';
|
10 |
|
11 |
// Option keys
|
12 |
const UB_ROUTES_CACHE_KEY = 'ub-route-cache';
|
272 |
return array(false, array('input is null'));
|
273 |
}
|
274 |
|
275 |
+
if (!UBDiagnostics::is_xml_installed()) {
|
276 |
+
return array(false, array('xml extension is not installed'));
|
277 |
+
}
|
278 |
+
|
279 |
$use_internal_errors = libxml_use_internal_errors(true);
|
280 |
$sitemap = simplexml_load_string($string);
|
281 |
|
UBDiagnostics.php
CHANGED
@@ -24,6 +24,7 @@ class UBDiagnostics
|
|
24 |
{
|
25 |
return array(
|
26 |
'Curl Support' => self::is_curl_installed(),
|
|
|
27 |
'Permalink Structure' => get_option('permalink_structure', '') !== '',
|
28 |
'Supported PHP Version' => version_compare(
|
29 |
phpversion(),
|
@@ -43,6 +44,11 @@ class UBDiagnostics
|
|
43 |
return function_exists('curl_init');
|
44 |
}
|
45 |
|
|
|
|
|
|
|
|
|
|
|
46 |
public static function should_show_warning($domain, $domain_info)
|
47 |
{
|
48 |
$domain_issue = in_array(false, self::domain_checks($domain, $domain_info));
|
@@ -59,7 +65,7 @@ class UBDiagnostics
|
|
59 |
return array(
|
60 |
'PHP Version' => phpversion(),
|
61 |
'WordPress Version' => UBDiagnostics::wordpress_version(),
|
62 |
-
'Unbounce Plugin Version' => '1.0.
|
63 |
'Permalink Structure' => get_option('permalink_structure', ''),
|
64 |
'Domain' => $domain,
|
65 |
'Domain Authorized' => print_r(UBConfig::is_authorized_domain($domain), true),
|
24 |
{
|
25 |
return array(
|
26 |
'Curl Support' => self::is_curl_installed(),
|
27 |
+
'XML Support' => self::is_xml_installed(),
|
28 |
'Permalink Structure' => get_option('permalink_structure', '') !== '',
|
29 |
'Supported PHP Version' => version_compare(
|
30 |
phpversion(),
|
44 |
return function_exists('curl_init');
|
45 |
}
|
46 |
|
47 |
+
public static function is_xml_installed()
|
48 |
+
{
|
49 |
+
return function_exists('simplexml_load_string');
|
50 |
+
}
|
51 |
+
|
52 |
public static function should_show_warning($domain, $domain_info)
|
53 |
{
|
54 |
$domain_issue = in_array(false, self::domain_checks($domain, $domain_info));
|
65 |
return array(
|
66 |
'PHP Version' => phpversion(),
|
67 |
'WordPress Version' => UBDiagnostics::wordpress_version(),
|
68 |
+
'Unbounce Plugin Version' => '1.0.33',
|
69 |
'Permalink Structure' => get_option('permalink_structure', ''),
|
70 |
'Domain' => $domain,
|
71 |
'Domain Authorized' => print_r(UBConfig::is_authorized_domain($domain), true),
|
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.33
|
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.7.
|
6 |
-
Stable tag: 1.0.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -94,6 +94,9 @@ You should add a rule to your cache to avoid caching Unbounce Pages which have t
|
|
94 |
|
95 |
== Changelog ==
|
96 |
|
|
|
|
|
|
|
97 |
= 1.0.32 =
|
98 |
* Fix support for PHP 5.3
|
99 |
|
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.7.3
|
6 |
+
Stable tag: 1.0.33
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
94 |
|
95 |
== Changelog ==
|
96 |
|
97 |
+
= 1.0.33 =
|
98 |
+
* Improved support for PHP 7.1
|
99 |
+
|
100 |
= 1.0.32 =
|
101 |
* Fix support for PHP 5.3
|
102 |
|
templates/main_authorized_footer.php
CHANGED
@@ -21,4 +21,4 @@ $refresh_button = get_submit_button('refreshing the Published Pages list', 'seco
|
|
21 |
<a class="ub-diagnostics-link" href="<?php echo $diagnostics_url ?>">
|
22 |
Click here for troubleshooting and plugin diagnostics
|
23 |
</a>
|
24 |
-
<p class="ub-version">Unbounce Version 1.0.
|
21 |
<a class="ub-diagnostics-link" href="<?php echo $diagnostics_url ?>">
|
22 |
Click here for troubleshooting and plugin diagnostics
|
23 |
</a>
|
24 |
+
<p class="ub-version">Unbounce Version 1.0.33</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.33</p>
|