Creative Mail – Easier WordPress & WooCommerce Email Marketing - Version 1.1.9

Version Description

Download this release

Release Info

Developer constantcontact
Plugin Icon 128x128 Creative Mail – Easier WordPress & WooCommerce Email Marketing
Version 1.1.9
Comparing to
See all releases

Code changes from version 1.1.8 to 1.1.9

CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
  Changelog
2
  =========
3
 
 
 
 
4
  #### 1.1.8 - October 8 2020
5
  - Fixes an issue that could cause a crash for some users.
6
 
1
  Changelog
2
  =========
3
 
4
+ #### 1.1.9 - October 26 2020
5
+ - Fixes an issue that would not allow you to open the dashboard again after you opened it once.
6
+
7
  #### 1.1.8 - October 8 2020
8
  - Fixes an issue that could cause a crash for some users.
9
 
README.md CHANGED
@@ -3,7 +3,7 @@ Contributors: Constant Contact
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.6
5
  Tested up to: 5.5
6
- Stable tag: 1.1.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 5.6
@@ -88,6 +88,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
88
  6. Enhance your brand with logomaker
89
 
90
  == Changelog ==
 
91
  * 1.1.8 - Fixes an issue that could cause a crash for some users.
92
  * 1.1.7 - Add support for Elementor forms.
93
  * 1.1.6 - Add option to refresh the SSO url without reloading the entire page, and add the support for opt-in checkbox in the WooCommerce checkout flow.
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.6
5
  Tested up to: 5.5
6
+ Stable tag: 1.1.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 5.6
88
  6. Enhance your brand with logomaker
89
 
90
  == Changelog ==
91
+ * 1.1.9 - Fixes an issue that would not allow you to open the dashboard again after you opened it once.
92
  * 1.1.8 - Fixes an issue that could cause a crash for some users.
93
  * 1.1.7 - Add support for Elementor forms.
94
  * 1.1.6 - Add option to refresh the SSO url without reloading the entire page, and add the support for opt-in checkbox in the WooCommerce checkout flow.
creative-mail-plugin.php CHANGED
@@ -6,7 +6,7 @@ use CreativeMail\CreativeMail;
6
  * Plugin URI: https://wordpress.org/plugins/creative-mail-by-constant-contact/
7
  * Description: Free email marketing designed specifically for WordPress, Jetpack and WooCommerce. Send newsletters, promotions, updates and transactional e-commerce emails. Simple and easy, powered by Constant Contact’s rock solid reliability.
8
  * Author: Constant Contact
9
- * Version: 1.1.8
10
  * Author URI: https://www.constantcontact.com
11
  */
12
 
@@ -22,7 +22,7 @@ function _load_ce4wp_plugin()
22
  define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
23
  define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
24
  define('CE4WP_PLUGIN_FILE', __FILE__);
25
- define('CE4WP_PLUGIN_VERSION', '1.1.8');
26
  define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
27
  define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
28
  define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
@@ -39,7 +39,7 @@ function _load_ce4wp_plugin()
39
  define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
40
  define('CE4WP_APP_URL', 'https://app.creativemail.com/');
41
  define('CE4WP_ENVIRONMENT', 'PRODUCTION');
42
- define('CE4WP_BUILD_NUMBER', '659');
43
  define('CE4WP_BATCH_SIZE', 500);
44
  define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
45
  define('CE4WP_WC_API_CONSUMER_KEY', 'ce4wp_woocommerce_consumer_key');
6
  * Plugin URI: https://wordpress.org/plugins/creative-mail-by-constant-contact/
7
  * Description: Free email marketing designed specifically for WordPress, Jetpack and WooCommerce. Send newsletters, promotions, updates and transactional e-commerce emails. Simple and easy, powered by Constant Contact’s rock solid reliability.
8
  * Author: Constant Contact
9
+ * Version: 1.1.9
10
  * Author URI: https://www.constantcontact.com
11
  */
12
 
22
  define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
23
  define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
24
  define('CE4WP_PLUGIN_FILE', __FILE__);
25
+ define('CE4WP_PLUGIN_VERSION', '1.1.9');
26
  define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
27
  define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
28
  define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
39
  define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
40
  define('CE4WP_APP_URL', 'https://app.creativemail.com/');
41
  define('CE4WP_ENVIRONMENT', 'PRODUCTION');
42
+ define('CE4WP_BUILD_NUMBER', '697');
43
  define('CE4WP_BATCH_SIZE', 500);
44
  define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
45
  define('CE4WP_WC_API_CONSUMER_KEY', 'ce4wp_woocommerce_consumer_key');
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Constant Contact
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.6
5
  Tested up to: 5.5
6
- Stable tag: 1.1.8
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 5.6
@@ -93,6 +93,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
93
  6. Enhance your brand with logomaker
94
 
95
  == Changelog ==
 
96
  * 1.1.8 - Fixes an issue that could cause a crash for some users.
97
  * 1.1.7 - Add support for Elementor forms.
98
  * 1.1.6 - Add option to refresh the SSO url without reloading the entire page, and add the support for opt-in checkbox in the WooCommerce checkout flow.
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.6
5
  Tested up to: 5.5
6
+ Stable tag: 1.1.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 5.6
93
  6. Enhance your brand with logomaker
94
 
95
  == Changelog ==
96
+ * 1.1.9 - Fixes an issue that would not allow you to open the dashboard again after you opened it once.
97
  * 1.1.8 - Fixes an issue that could cause a crash for some users.
98
  * 1.1.7 - Add support for Elementor forms.
99
  * 1.1.6 - Add option to refresh the SSO url without reloading the entire page, and add the support for opt-in checkbox in the WooCommerce checkout flow.
src/views/dashboard.php CHANGED
@@ -11,7 +11,11 @@ use CreativeMail\Helpers\EnvironmentHelper;
11
  return;
12
  }
13
  ce4wpActionPerformed = true;
14
- window.open(ce4wpDashboardUrl + '&dashboard=' + dashboard, '_blank');
 
 
 
 
15
  }
16
  </script>
17
  <div class="ce4wp-admin-wrapper">
@@ -37,7 +41,7 @@ use CreativeMail\Helpers\EnvironmentHelper;
37
  You’re all set! Creative Mail and WordPress have been linked.
38
  </p>
39
  <div id="loaded">
40
- <a id='ce4wp-go-button' href="<?php echo esc_url($this->dashboard_url) ?>" target="_blank" class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-button-contained-primary ce4wp-mt-2" tabindex="0" type="button" data-element-type="button" onclick="ce4wpMarkActionPerformed();">
41
  <span class="ce4wp-button-label" style="width: 100%;">Open your Creative Mail dashboard<span class="ce4wp-button-endIcon">
42
  <svg class="ce4wp-Svgicon-root" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
43
  <path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path>
11
  return;
12
  }
13
  ce4wpActionPerformed = true;
14
+ var url = ce4wpDashboardUrl;
15
+ if (dashboard) {
16
+ url = url + '&dashboard=' + dashboard;
17
+ }
18
+ window.open(url, '_blank');
19
  }
20
  </script>
21
  <div class="ce4wp-admin-wrapper">
41
  You’re all set! Creative Mail and WordPress have been linked.
42
  </p>
43
  <div id="loaded">
44
+ <a id='ce4wp-go-button' onclick="ce4wpNavigateToDashboard()" class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-button-contained-primary ce4wp-mt-2" tabindex="0" type="button" data-element-type="button">
45
  <span class="ce4wp-button-label" style="width: 100%;">Open your Creative Mail dashboard<span class="ce4wp-button-endIcon">
46
  <svg class="ce4wp-Svgicon-root" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
47
  <path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path>
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitbaa72cca84048005f7a1e1870d6a4754::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit12b1f26c1683114f35435fe7a4d49db1::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitbaa72cca84048005f7a1e1870d6a4754
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitbaa72cca84048005f7a1e1870d6a4754
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitbaa72cca84048005f7a1e1870d6a4754', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitbaa72cca84048005f7a1e1870d6a4754', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInitbaa72cca84048005f7a1e1870d6a4754::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit12b1f26c1683114f35435fe7a4d49db1
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit12b1f26c1683114f35435fe7a4d49db1', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit12b1f26c1683114f35435fe7a4d49db1', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit12b1f26c1683114f35435fe7a4d49db1::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitbaa72cca84048005f7a1e1870d6a4754
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
@@ -122,9 +122,9 @@ class ComposerStaticInitbaa72cca84048005f7a1e1870d6a4754
122
  public static function getInitializer(ClassLoader $loader)
123
  {
124
  return \Closure::bind(function () use ($loader) {
125
- $loader->prefixLengthsPsr4 = ComposerStaticInitbaa72cca84048005f7a1e1870d6a4754::$prefixLengthsPsr4;
126
- $loader->prefixDirsPsr4 = ComposerStaticInitbaa72cca84048005f7a1e1870d6a4754::$prefixDirsPsr4;
127
- $loader->classMap = ComposerStaticInitbaa72cca84048005f7a1e1870d6a4754::$classMap;
128
 
129
  }, null, ClassLoader::class);
130
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit12b1f26c1683114f35435fe7a4d49db1
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
122
  public static function getInitializer(ClassLoader $loader)
123
  {
124
  return \Closure::bind(function () use ($loader) {
125
+ $loader->prefixLengthsPsr4 = ComposerStaticInit12b1f26c1683114f35435fe7a4d49db1::$prefixLengthsPsr4;
126
+ $loader->prefixDirsPsr4 = ComposerStaticInit12b1f26c1683114f35435fe7a4d49db1::$prefixDirsPsr4;
127
+ $loader->classMap = ComposerStaticInit12b1f26c1683114f35435fe7a4d49db1::$classMap;
128
 
129
  }, null, ClassLoader::class);
130
  }