Version Description
Download this release
Release Info
Developer | unbouncewordpress |
Plugin | Unbounce Landing Pages |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- UBConfig.php +2 -2
- Unbounce-Page.php +2 -2
- js/set-unbounce-domains.js +2 -2
- 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.
|
16 |
-
const UB_VERSION = '1.0.
|
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.2';
|
16 |
+
const UB_VERSION = '1.0.2';
|
17 |
|
18 |
public static function default_page_server_domain() {
|
19 |
$domain = getenv('UB_PAGE_SERVER_DOMAIN');
|
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
|
@@ -230,7 +230,7 @@ function render_unbounce_pages($domain_info, $domain) {
|
|
230 |
echo '. If they are still not appearing, double check that your Unbounce pages are using a Wordpress domain.</p>';
|
231 |
echo '</form>';
|
232 |
echo '<a href="http://documentation.unbounce.com/hc/en-us/articles/205069824-Integrating-with-WordPress" target="_blank">Check out our knowledge base.</a>';
|
233 |
-
echo '<p class="ub-version">Unbounce Version 1.0.
|
234 |
});
|
235 |
} else {
|
236 |
if (UBConfig::has_authorized()) {
|
3 |
Plugin Name: Unbounce
|
4 |
Plugin URI: http://unbounce.com
|
5 |
Description: Publish Unbounce Landing Pages to your Wordpress Domain.
|
6 |
+
Version: 1.0.2
|
7 |
Author: Unbounce
|
8 |
Author URI: http://unbounce.com
|
9 |
License: GPLv2
|
230 |
echo '. If they are still not appearing, double check that your Unbounce pages are using a Wordpress domain.</p>';
|
231 |
echo '</form>';
|
232 |
echo '<a href="http://documentation.unbounce.com/hc/en-us/articles/205069824-Integrating-with-WordPress" target="_blank">Check out our knowledge base.</a>';
|
233 |
+
echo '<p class="ub-version">Unbounce Version 1.0.2</p>';
|
234 |
});
|
235 |
} else {
|
236 |
if (UBConfig::has_authorized()) {
|
js/set-unbounce-domains.js
CHANGED
@@ -64,10 +64,10 @@
|
|
64 |
redirectUri = $submitButton.attr('data-redirect-uri'),
|
65 |
apiClientId = $submitButton.attr('data-api-client-id'),
|
66 |
getTokenUrl = apiUrl + '/oauth/authorize?response_type=token&client_id=' + apiClientId + '&redirect_uri=' + redirectUri,
|
67 |
-
getUserUrl = apiUrl + '/users/self',
|
68 |
getSubAccountsUrl = apiUrl + '/accounts/{accountId}/sub_accounts',
|
69 |
getSubAccountUrl = apiUrl + '/sub_accounts/{subAccountId}',
|
70 |
-
getDomainsUrl = apiUrl + '/sub_accounts/{subAccountId}/domains',
|
71 |
setDomainsUrl = $form.attr('action'),
|
72 |
matches = location.hash.match(/access_token=([a-z0-9]+)/),
|
73 |
accessToken = matches && matches[1];
|
64 |
redirectUri = $submitButton.attr('data-redirect-uri'),
|
65 |
apiClientId = $submitButton.attr('data-api-client-id'),
|
66 |
getTokenUrl = apiUrl + '/oauth/authorize?response_type=token&client_id=' + apiClientId + '&redirect_uri=' + redirectUri,
|
67 |
+
getUserUrl = apiUrl + '/users/self?limit=1000',
|
68 |
getSubAccountsUrl = apiUrl + '/accounts/{accountId}/sub_accounts',
|
69 |
getSubAccountUrl = apiUrl + '/sub_accounts/{subAccountId}',
|
70 |
+
getDomainsUrl = apiUrl + '/sub_accounts/{subAccountId}/domains?limit=1000',
|
71 |
setDomainsUrl = $form.attr('action'),
|
72 |
matches = location.hash.match(/access_token=([a-z0-9]+)/),
|
73 |
accessToken = matches && matches[1];
|
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.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|