Unbounce Landing Pages - Version 0.1.21

Version Description

Download this release

Release Info

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

Code changes from version 0.1.20 to 0.1.21

Files changed (3) hide show
  1. UBConfig.php +2 -2
  2. Unbounce-Page.php +13 -2
  3. readme.txt +1 -1
UBConfig.php CHANGED
@@ -11,8 +11,8 @@ class UBConfig {
11
  const UB_API_CLIENT_ID_KEY = 'ub-api-client-id';
12
  const UB_AUTHORIZED_DOMAINS_KEY = 'ub-authorized-domains';
13
  const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
14
- const UB_USER_AGENT = 'Unbounce WP Plugin 0.1.20';
15
- const UB_VERSION = '0.1.20';
16
 
17
  public static function default_page_server_domain() {
18
  $domain = getenv('UB_PAGE_SERVER_DOMAIN');
11
  const UB_API_CLIENT_ID_KEY = 'ub-api-client-id';
12
  const UB_AUTHORIZED_DOMAINS_KEY = 'ub-authorized-domains';
13
  const UB_CACHE_TIMEOUT_ENV_KEY = 'UB_WP_ROUTES_CACHE_EXP';
14
+ const UB_USER_AGENT = 'Unbounce WP Plugin 0.1.21';
15
+ const UB_VERSION = '0.1.21';
16
 
17
  public static function default_page_server_domain() {
18
  $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: 0.1.20
7
  Author: Unbounce
8
  Author URI: http://unbounce.com
9
  License: GPLv2
@@ -139,12 +139,23 @@ add_action('init', function() {
139
  });
140
 
141
  add_action('admin_init', function() {
 
 
 
 
 
 
142
  wp_enqueue_script('ub-rx',
143
  plugins_url('js/rx.lite.compat.min.js', __FILE__));
144
  wp_enqueue_script('set-unbounce-domains-js',
145
  plugins_url('js/set-unbounce-domains.js', __FILE__),
146
  array('jquery', 'ub-rx'));
147
- });
 
 
 
 
 
148
 
149
  function render_unbounce_pages($domain_info, $domain) {
150
  echo '<h1>Unbounce Pages</h1>';
3
  Plugin Name: Unbounce
4
  Plugin URI: http://unbounce.com
5
  Description: Publish Unbounce Landing Pages to your Wordpress Domain.
6
+ Version: 0.1.21
7
  Author: Unbounce
8
  Author URI: http://unbounce.com
9
  License: GPLv2
139
  });
140
 
141
  add_action('admin_init', function() {
142
+ # disable incompatible scripts
143
+
144
+ # WPML
145
+ wp_dequeue_script('installer-admin');
146
+
147
+ # enqueue our own scripts
148
  wp_enqueue_script('ub-rx',
149
  plugins_url('js/rx.lite.compat.min.js', __FILE__));
150
  wp_enqueue_script('set-unbounce-domains-js',
151
  plugins_url('js/set-unbounce-domains.js', __FILE__),
152
  array('jquery', 'ub-rx'));
153
+
154
+ # re-enable incompatible scripts
155
+
156
+ # WPML
157
+ wp_enqueue_script('installer-admin');
158
+ }, 0);
159
 
160
  function render_unbounce_pages($domain_info, $domain) {
161
  echo '<h1>Unbounce Pages</h1>';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: unbouncewordpress
3
  Tags: unbounce
4
  Requires at least: 4.1.5
5
  Tested up to: 4.2.2
6
- Stable tag: 0.1.20
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
3
  Tags: unbounce
4
  Requires at least: 4.1.5
5
  Tested up to: 4.2.2
6
+ Stable tag: 0.1.21
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9