Version Description
(2019-12-18) = - Changed naming from subaccounts to workspaces - Increased Tested up to: 5.3.1
Download this release
Release Info
Developer | marek@instapage.com |
Plugin | Instapage WordPress Plugin |
Version | 3.2.12 |
Comparing to | |
See all releases |
Code changes from version 3.2.11 to 3.2.12
- InstapageCmsPluginHelper.php +1 -1
- README.txt +5 -1
- assets/lang/en-GB.js +3 -3
- instapage.php +1 -1
- models/InstapageCmsPluginSubaccountModel.php +6 -6
- views/edit.php +1 -1
- views/settings.php +1 -1
InstapageCmsPluginHelper.php
CHANGED
@@ -49,7 +49,7 @@ class InstapageCmsPluginHelper {
|
|
49 |
* @return string string representation of SVG icon
|
50 |
*/
|
51 |
public static function getMenuIcon() {
|
52 |
-
return 'data:image/svg+xml;base64,
|
53 |
}
|
54 |
|
55 |
/**
|
49 |
* @return string string representation of SVG icon
|
50 |
*/
|
51 |
public static function getMenuIcon() {
|
52 |
+
return 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAyOCAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik02LjQ0MTIyIDI4LjA4MTlWMy43Njk4OUM2LjQzODE5IDMuNTQ0MzggNi4yNzkwOCAzLjM1Mjk2IDYuMDYyMyAzLjMxNDA0TDQuNjQ1NDggMy4xMjgzMkM0LjUxOTYgMy4xMTAwNCA0LjM5MjA3IDMuMTQ3NDMgNC4yOTQ2NSAzLjIzMTE1QzQuMTk3MjQgMy4zMTQ4OCA0LjEzOTEyIDMuNDM3MDcgNC4xMzQ3NyAzLjU2NzI5VjI4LjI4NDVDNC4xMzgxMiAyOC40MTY0IDQuMTk1MjkgMjguNTQwOCA0LjI5MjM3IDI4LjYyNzRDNC4zODk0NSAyOC43MTQxIDQuNTE3NTQgMjguNzU1IDQuNjQ1NDggMjguNzQwM0w2LjA2MjMgMjguNTIwOEM2LjI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aXRzPSJ1c2VyU3BhY2VPblVzZSI+DQo8c3RvcCBzdG9wLWNvbG9yPSJ3aGl0ZSIvPg0KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSJ3aGl0ZSIgc3RvcC1vcGFjaXR5PSIwIi8+DQo8L2xpbmVhckdyYWRpZW50Pg0KPGxpbmVhckdyYWRpZW50IGlkPSJwYWludDJfbGluZWFyIiB4MT0iMTcuODU5MSIgeTE9IjAuODkzNTU1IiB4Mj0iMTcuODU5MSIgeTI9IjMxLjIzIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+DQo8c3RvcCBzdG9wLWNvbG9yPSJ3aGl0ZSIvPg0KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSJ3aGl0ZSIgc3RvcC1vcGFjaXR5PSIwIi8+DQo8L2xpbmVhckdyYWRpZW50Pg0KPC9kZWZzPg0KPC9zdmc+DQo=';
|
53 |
}
|
54 |
|
55 |
/**
|
README.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: marek@instapage
|
|
3 |
Tags: landing page, lead generation, a/b testing, Instapage, squeeze page, conversion rate optimization, splash page, WordPress landing page, landing page optimization, lead capture page, mobile app landing page, Facebook landing page, sales page
|
4 |
Requires at least: 3.4
|
5 |
Requires PHP: 5.2.4
|
6 |
-
Tested up to: 5.
|
7 |
Stable tag: 3.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -55,6 +55,10 @@ Join 250,000+ businesses who rely on Instapage.
|
|
55 |
4. Instapage app's dashboard.
|
56 |
|
57 |
== Changelog ==
|
|
|
|
|
|
|
|
|
58 |
= 3.2.11 (2019-11-27) =
|
59 |
- Bugfix: Custom experience display issues on WP Engine hosting
|
60 |
- Bugfix: Removing a PHP notice generated during the landing page display path
|
3 |
Tags: landing page, lead generation, a/b testing, Instapage, squeeze page, conversion rate optimization, splash page, WordPress landing page, landing page optimization, lead capture page, mobile app landing page, Facebook landing page, sales page
|
4 |
Requires at least: 3.4
|
5 |
Requires PHP: 5.2.4
|
6 |
+
Tested up to: 5.3.1
|
7 |
Stable tag: 3.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
55 |
4. Instapage app's dashboard.
|
56 |
|
57 |
== Changelog ==
|
58 |
+
= 3.2.12 (2019-12-18) =
|
59 |
+
- Changed naming from subaccounts to workspaces
|
60 |
+
- Increased Tested up to: 5.3.1
|
61 |
+
|
62 |
= 3.2.11 (2019-11-27) =
|
63 |
- Bugfix: Custom experience display issues on WP Engine hosting
|
64 |
- Bugfix: Removing a PHP notice generated during the landing page display path
|
assets/lang/en-GB.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
var InstapageDictionary = {};
|
2 |
InstapageDictionary['ALL'] = 'All';
|
3 |
-
InstapageDictionary['LOGIN_OR_ADD_TOKEN_FIRST'] = 'No pages are available for publishing. You have to:<br />- log in or<br />- add a valid
|
4 |
InstapageDictionary['SLUG_CANNOT_BE_EMPTY'] = 'Slug cannot be empty.';
|
5 |
InstapageDictionary['SLUG_IS_USED_BY_CMS'] = 'Selected slug is invalid because there is a CMS item with the same slug. Change landing page slug or %s in CMS.';
|
6 |
InstapageDictionary['SLUG_IS_USED_BY_PLUGIN'] = 'Selected slug is invalid, it\'s used by another landing page.';
|
@@ -9,8 +9,8 @@ InstapageDictionary['404_ALREADY_DEFINED'] = 'There is a landing page defined as
|
|
9 |
InstapageDictionary['USER_LOGGED_IN'] = 'You have been logged in.';
|
10 |
InstapageDictionary['USER_LOGGED_OUT'] = 'You have been logged out.';
|
11 |
InstapageDictionary['EMAIL_OR_PASSWORD_INCORRECT'] = 'E-mail address or password is incorrect.';
|
12 |
-
InstapageDictionary['ERROR_WHILE_CONNECTING_SUBACCOUNTS'] = 'There was an error, selected
|
13 |
-
InstapageDictionary['ERROR_WHILE_DISCONNECTING_SUBACCOUNTS'] = 'There was an error, selected
|
14 |
InstapageDictionary['NO_DEPRECATED_PAGES_MIGRATED'] = 'No pages migrated.';
|
15 |
InstapageDictionary['COULDNT_PARSE_RESPONSE'] = 'Couldn\'t parse response.';
|
16 |
InstapageDictionary['TOKEN_ALREADY_IN_USE'] = 'This token is already in use.';
|
1 |
var InstapageDictionary = {};
|
2 |
InstapageDictionary['ALL'] = 'All';
|
3 |
+
InstapageDictionary['LOGIN_OR_ADD_TOKEN_FIRST'] = 'No pages are available for publishing. You have to:<br />- log in or<br />- add a valid workspace token in settings or<br />- publish some pages in Instapage app dashboard.';
|
4 |
InstapageDictionary['SLUG_CANNOT_BE_EMPTY'] = 'Slug cannot be empty.';
|
5 |
InstapageDictionary['SLUG_IS_USED_BY_CMS'] = 'Selected slug is invalid because there is a CMS item with the same slug. Change landing page slug or %s in CMS.';
|
6 |
InstapageDictionary['SLUG_IS_USED_BY_PLUGIN'] = 'Selected slug is invalid, it\'s used by another landing page.';
|
9 |
InstapageDictionary['USER_LOGGED_IN'] = 'You have been logged in.';
|
10 |
InstapageDictionary['USER_LOGGED_OUT'] = 'You have been logged out.';
|
11 |
InstapageDictionary['EMAIL_OR_PASSWORD_INCORRECT'] = 'E-mail address or password is incorrect.';
|
12 |
+
InstapageDictionary['ERROR_WHILE_CONNECTING_SUBACCOUNTS'] = 'There was an error, selected workspaces are not properly connected to app. Try to connect workspaces again.';
|
13 |
+
InstapageDictionary['ERROR_WHILE_DISCONNECTING_SUBACCOUNTS'] = 'There was an error, selected workspaces are not properly disconnected from app. Try to disconnect workspaces again.';
|
14 |
InstapageDictionary['NO_DEPRECATED_PAGES_MIGRATED'] = 'No pages migrated.';
|
15 |
InstapageDictionary['COULDNT_PARSE_RESPONSE'] = 'Couldn\'t parse response.';
|
16 |
InstapageDictionary['TOKEN_ALREADY_IN_USE'] = 'This token is already in use.';
|
instapage.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/*
|
4 |
Plugin Name: Instapage Plugin
|
5 |
Description: The best way for WordPress to seamlessly publish landing pages as a natural extension of your website.
|
6 |
-
Version: 3.2.
|
7 |
Requires PHP: 5.2.4
|
8 |
Plugin URI: https://instapage.com/
|
9 |
Author: Instapage
|
3 |
/*
|
4 |
Plugin Name: Instapage Plugin
|
5 |
Description: The best way for WordPress to seamlessly publish landing pages as a natural extension of your website.
|
6 |
+
Version: 3.2.12
|
7 |
Requires PHP: 5.2.4
|
8 |
Plugin URI: https://instapage.com/
|
9 |
Author: Instapage
|
models/InstapageCmsPluginSubaccountModel.php
CHANGED
@@ -138,27 +138,27 @@ class InstapageCmsPluginSubaccountModel {
|
|
138 |
$action[1] = $status == 'connect' ? 'connect' : 'disconnect';
|
139 |
|
140 |
if (count($selectedSubaccounts) > 1) {
|
141 |
-
$message = InstapageCmsPluginHelper::getVar($response->message, InstapageCmsPluginConnector::lang('There was an error, selected
|
142 |
} else {
|
143 |
-
$message = InstapageCmsPluginHelper::getVar($response->message, InstapageCmsPluginConnector::lang('There was an error, selected
|
144 |
}
|
145 |
|
146 |
echo InstapageCmsPluginHelper::formatJsonMessage($message, 'ERROR');
|
147 |
} else {
|
148 |
$action = array();
|
149 |
-
$action[0] = $status == 'connect' ? 'Selected
|
150 |
$action[1] = $status == 'connect' ? 'connected' : 'disconnected';
|
151 |
|
152 |
if (count($selectedSubaccounts) > 1) {
|
153 |
$message = InstapageCmsPluginHelper::getVar($response->message, InstapageCmsPluginConnector::lang('%s are %s.', $action[0], $action[1]));
|
154 |
} else {
|
155 |
-
$message = InstapageCmsPluginHelper::getVar($response->message, InstapageCmsPluginConnector::lang('Selected
|
156 |
}
|
157 |
|
158 |
echo InstapageCmsPluginHelper::formatJsonMessage($message);
|
159 |
}
|
160 |
} else {
|
161 |
-
echo InstapageCmsPluginHelper::formatJsonMessage(InstapageCmsPluginConnector::lang('No
|
162 |
}
|
163 |
}
|
164 |
|
@@ -180,7 +180,7 @@ class InstapageCmsPluginSubaccountModel {
|
|
180 |
$this->setSubAccountsStatus('disconnect', $tokens, $silent);
|
181 |
} else {
|
182 |
if (!$silent) {
|
183 |
-
echo InstapageCmsPluginHelper::formatJsonMessage(InstapageCmsPluginConnector::lang('
|
184 |
}
|
185 |
}
|
186 |
}
|
138 |
$action[1] = $status == 'connect' ? 'connect' : 'disconnect';
|
139 |
|
140 |
if (count($selectedSubaccounts) > 1) {
|
141 |
+
$message = InstapageCmsPluginHelper::getVar($response->message, InstapageCmsPluginConnector::lang('There was an error, selected workspaces are not properly %s app. Try to %s workspaces again.', $action[0], $action[1]));
|
142 |
} else {
|
143 |
+
$message = InstapageCmsPluginHelper::getVar($response->message, InstapageCmsPluginConnector::lang('There was an error, selected workspace is not properly %s app. Try to %s workspaces again.', $action[0], $action[1]));
|
144 |
}
|
145 |
|
146 |
echo InstapageCmsPluginHelper::formatJsonMessage($message, 'ERROR');
|
147 |
} else {
|
148 |
$action = array();
|
149 |
+
$action[0] = $status == 'connect' ? 'Selected workspaces' : 'Workspaces bound to your account';
|
150 |
$action[1] = $status == 'connect' ? 'connected' : 'disconnected';
|
151 |
|
152 |
if (count($selectedSubaccounts) > 1) {
|
153 |
$message = InstapageCmsPluginHelper::getVar($response->message, InstapageCmsPluginConnector::lang('%s are %s.', $action[0], $action[1]));
|
154 |
} else {
|
155 |
+
$message = InstapageCmsPluginHelper::getVar($response->message, InstapageCmsPluginConnector::lang('Selected workspace is %s.', $action[1]));
|
156 |
}
|
157 |
|
158 |
echo InstapageCmsPluginHelper::formatJsonMessage($message);
|
159 |
}
|
160 |
} else {
|
161 |
+
echo InstapageCmsPluginHelper::formatJsonMessage(InstapageCmsPluginConnector::lang('No workspaces were connected.'));
|
162 |
}
|
163 |
}
|
164 |
|
180 |
$this->setSubAccountsStatus('disconnect', $tokens, $silent);
|
181 |
} else {
|
182 |
if (!$silent) {
|
183 |
+
echo InstapageCmsPluginHelper::formatJsonMessage(InstapageCmsPluginConnector::lang('Workspaces bound to your account are disconnected'));
|
184 |
}
|
185 |
}
|
186 |
}
|
views/edit.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
<div class="ui-sub-section">
|
10 |
<div class="l-grid l-space-top-primary">
|
11 |
<div class="l-grid__cell l-grid__cell--1/3">
|
12 |
-
<label><?php echo InstapageCmsPluginConnector::lang('
|
13 |
<select class="c-form-text-item__field is-not-empty" data-bind="options: subAccounts, optionsText: 'name', optionsValue: 'id', value: choosenSubAccount"></select>
|
14 |
</div>
|
15 |
<div class="l-grid__cell l-grid__cell--1/3">
|
9 |
<div class="ui-sub-section">
|
10 |
<div class="l-grid l-space-top-primary">
|
11 |
<div class="l-grid__cell l-grid__cell--1/3">
|
12 |
+
<label><?php echo InstapageCmsPluginConnector::lang('Workspace'); ?></label>
|
13 |
<select class="c-form-text-item__field is-not-empty" data-bind="options: subAccounts, optionsText: 'name', optionsValue: 'id', value: choosenSubAccount"></select>
|
14 |
</div>
|
15 |
<div class="l-grid__cell l-grid__cell--1/3">
|
views/settings.php
CHANGED
@@ -41,7 +41,7 @@
|
|
41 |
</div>
|
42 |
</div>
|
43 |
<div data-bind="visible: !hideConnectedTokens() && connectedTokens().length">
|
44 |
-
<h3><?php echo InstapageCmsPluginConnector::lang('Select which
|
45 |
<ul class="c-list" data-bind="template: {name: 'subaccounts-connection-template', foreach: connectedTokens}">
|
46 |
</ul>
|
47 |
<button class="fx-ripple-effect c-button c-button--regular c-button--action c-button--small" data-bind="click: connectSelectedSubAccounts">
|
41 |
</div>
|
42 |
</div>
|
43 |
<div data-bind="visible: !hideConnectedTokens() && connectedTokens().length">
|
44 |
+
<h3><?php echo InstapageCmsPluginConnector::lang('Select which workspaces you would like to connect with %s site.', InstapageCmsPluginConnector::getCMSName()); ?></h3>
|
45 |
<ul class="c-list" data-bind="template: {name: 'subaccounts-connection-template', foreach: connectedTokens}">
|
46 |
</ul>
|
47 |
<button class="fx-ripple-effect c-button c-button--regular c-button--action c-button--small" data-bind="click: connectSelectedSubAccounts">
|