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

Version Description

Download this release

Release Info

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

Code changes from version 1.6.2 to 1.6.3

CHANGELOG.md CHANGED
@@ -1,6 +1,9 @@
1
  Changelog
2
  =========
3
 
 
 
 
4
  #### 1.6.2 - November 2nd, 2022
5
  - Security updates
6
  - Removal of Unsupported Plugin (Caldera Forms)
1
  Changelog
2
  =========
3
 
4
+ #### 1.6.3 - November 11th, 2022
5
+ - Hotfix: Fixed a bug where the plugin was not working on some servers.
6
+
7
  #### 1.6.2 - November 2nd, 2022
8
  - Security updates
9
  - Removal of Unsupported Plugin (Caldera Forms)
README.md CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Constant Contact
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.9
5
- Tested up to: 6.0.2
6
- Stable tag: 1.6.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 7.2
@@ -93,6 +93,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
93
  6. Enhance your brand with LogoBuilder
94
 
95
  == Changelog ==
 
96
  * 1.6.2 - Security updates and removal of Unsupported Plugin (Caldera Forms)
97
  * 1.6.1 - Security update
98
  * 1.6.0 - Security update, Bug fixes and Support to sync Address Fields for Contact Form 7
2
  Contributors: Constant Contact
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.9
5
+ Tested up to: 6.1
6
+ Stable tag: 1.6.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 7.2
93
  6. Enhance your brand with LogoBuilder
94
 
95
  == Changelog ==
96
+ * 1.6.3 - Hotfix: Fixed a bug where the plugin was not working on some servers.
97
  * 1.6.2 - Security updates and removal of Unsupported Plugin (Caldera Forms)
98
  * 1.6.1 - Security update
99
  * 1.6.0 - Security update, Bug fixes and Support to sync Address Fields for Contact Form 7
creative-mail-plugin.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin URI: https://wordpress.org/plugins/creative-mail-by-constant-contact/
10
  * 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.
11
  * Author: Constant Contact
12
- * Version: 1.6.2
13
  * Author URI: https://www.constantcontact.com
14
  * WC requires at least: 3.6.0
15
  * WC tested up to: 6.8.2
@@ -20,7 +20,7 @@ use CreativeMail\Blocks\LoadBlock;
20
  define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
21
  define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
22
  define('CE4WP_PLUGIN_FILE', __FILE__);
23
- define('CE4WP_PLUGIN_VERSION', '1.6.2');
24
  define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
25
  define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
26
  define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
@@ -37,7 +37,7 @@ define('CE4WP_CHECKOUT_CHECKBOX_ENABLED', 'ce4wp_checkout_checkbox_enabled');
37
  define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
38
  define('CE4WP_APP_URL', 'https://app.creativemail.com/');
39
  define('CE4WP_ENVIRONMENT', 'PRODUCTION');
40
- define('CE4WP_BUILD_NUMBER', '1933');
41
  define('CE4WP_RAYGUN_PHP_KEY', 'Z85xL3mkgnW13Ri9DajGUg');
42
  define('CE4WP_BATCH_SIZE', 500);
43
  define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
9
  * Plugin URI: https://wordpress.org/plugins/creative-mail-by-constant-contact/
10
  * 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.
11
  * Author: Constant Contact
12
+ * Version: 1.6.3
13
  * Author URI: https://www.constantcontact.com
14
  * WC requires at least: 3.6.0
15
  * WC tested up to: 6.8.2
20
  define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
21
  define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
22
  define('CE4WP_PLUGIN_FILE', __FILE__);
23
+ define('CE4WP_PLUGIN_VERSION', '1.6.3');
24
  define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
25
  define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
26
  define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
37
  define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
38
  define('CE4WP_APP_URL', 'https://app.creativemail.com/');
39
  define('CE4WP_ENVIRONMENT', 'PRODUCTION');
40
+ define('CE4WP_BUILD_NUMBER', '1951');
41
  define('CE4WP_RAYGUN_PHP_KEY', 'Z85xL3mkgnW13Ri9DajGUg');
42
  define('CE4WP_BATCH_SIZE', 500);
43
  define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Constant Contact
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.9
5
- Tested up to: 6.0.2
6
- Stable tag: 1.6.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 7.2
@@ -102,6 +102,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
102
  6. Enhance your brand with LogoBuilder
103
 
104
  == Changelog ==
 
105
  * 1.6.2 - Security updates and removal of Unsupported Plugin (Caldera Forms)
106
  * 1.6.1 - Security update
107
  * 1.6.0 - Security update, Bug fixes and Support to sync Address Fields for Contact Form 7
2
  Contributors: Constant Contact
3
  Tags: email, marketing, newsletter, subscribe, contact form, constant contact, crm, automations, ecommerce, promotion, offers, retargeting
4
  Requires at least: 4.9
5
+ Tested up to: 6.1
6
+ Stable tag: 1.6.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires PHP: 7.2
102
  6. Enhance your brand with LogoBuilder
103
 
104
  == Changelog ==
105
+ * 1.6.3 - Hotfix: Fixed a bug where the plugin was not working on some servers.
106
  * 1.6.2 - Security updates and removal of Unsupported Plugin (Caldera Forms)
107
  * 1.6.1 - Security update
108
  * 1.6.0 - Security update, Bug fixes and Support to sync Address Fields for Contact Form 7
src/Helpers/OptionsHelper.php CHANGED
@@ -342,9 +342,9 @@ final class OptionsHelper {
342
  /**
343
  * Gets a string value representing who referred this customer
344
  *
345
- * @return string
346
  */
347
- public static function get_referred_by(): string {
348
  return get_option(CE4WP_REFERRED_BY, '');
349
  }
350
 
342
  /**
343
  * Gets a string value representing who referred this customer
344
  *
345
+ * @return string|array
346
  */
347
+ public static function get_referred_by() {
348
  return get_option(CE4WP_REFERRED_BY, '');
349
  }
350
 
src/Managers/AdminManager.php CHANGED
@@ -188,6 +188,8 @@ final class AdminManager {
188
 
189
  if ( is_string($referred_by) ) {
190
  $utm_campaign = str_replace(';', '|', $referred_by);
 
 
191
  }
192
 
193
  $onboardingUrl .= '&utm_source=wordpress&utm_medium=plugin&utm_campaign=' . $utm_campaign;
188
 
189
  if ( is_string($referred_by) ) {
190
  $utm_campaign = str_replace(';', '|', $referred_by);
191
+ } elseif ( array_key_exists('plugin', $referred_by) && array_key_exists('source', $referred_by) ) {
192
+ $utm_campaign = $referred_by['plugin'] . $referred_by['source'];
193
  }
194
 
195
  $onboardingUrl .= '&utm_source=wordpress&utm_medium=plugin&utm_campaign=' . $utm_campaign;
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitcf64331d344d60cdd7c271d9659d62f2::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInite639b008930e18226c19e278c292e028::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitcf64331d344d60cdd7c271d9659d62f2
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitcf64331d344d60cdd7c271d9659d62f2
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitcf64331d344d60cdd7c271d9659d62f2', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitcf64331d344d60cdd7c271d9659d62f2', '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\ComposerStaticInitcf64331d344d60cdd7c271d9659d62f2::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 ComposerAutoloaderInite639b008930e18226c19e278c292e028
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInite639b008930e18226c19e278c292e028', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInite639b008930e18226c19e278c292e028', '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\ComposerStaticInite639b008930e18226c19e278c292e028::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 ComposerStaticInitcf64331d344d60cdd7c271d9659d62f2
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
@@ -194,10 +194,10 @@ class ComposerStaticInitcf64331d344d60cdd7c271d9659d62f2
194
  public static function getInitializer(ClassLoader $loader)
195
  {
196
  return \Closure::bind(function () use ($loader) {
197
- $loader->prefixLengthsPsr4 = ComposerStaticInitcf64331d344d60cdd7c271d9659d62f2::$prefixLengthsPsr4;
198
- $loader->prefixDirsPsr4 = ComposerStaticInitcf64331d344d60cdd7c271d9659d62f2::$prefixDirsPsr4;
199
- $loader->prefixesPsr0 = ComposerStaticInitcf64331d344d60cdd7c271d9659d62f2::$prefixesPsr0;
200
- $loader->classMap = ComposerStaticInitcf64331d344d60cdd7c271d9659d62f2::$classMap;
201
 
202
  }, null, ClassLoader::class);
203
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInite639b008930e18226c19e278c292e028
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
194
  public static function getInitializer(ClassLoader $loader)
195
  {
196
  return \Closure::bind(function () use ($loader) {
197
+ $loader->prefixLengthsPsr4 = ComposerStaticInite639b008930e18226c19e278c292e028::$prefixLengthsPsr4;
198
+ $loader->prefixDirsPsr4 = ComposerStaticInite639b008930e18226c19e278c292e028::$prefixDirsPsr4;
199
+ $loader->prefixesPsr0 = ComposerStaticInite639b008930e18226c19e278c292e028::$prefixesPsr0;
200
+ $loader->classMap = ComposerStaticInite639b008930e18226c19e278c292e028::$classMap;
201
 
202
  }, null, ClassLoader::class);
203
  }