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

Version Description

Download this release

Release Info

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

Code changes from version 1.0.3 to 1.0.4

CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
  Changelog
2
  =========
3
 
 
 
 
 
4
  #### 1.0.3 - July 16 2020
5
  - Small fixes in the plugin readme.
6
 
1
  Changelog
2
  =========
3
 
4
+ #### 1.0.4 - July 23 2020
5
+ - Small fixes in the plugin readme.
6
+ - Added compatibility with PHP 5.6
7
+
8
  #### 1.0.3 - July 16 2020
9
  - Small fixes in the plugin readme.
10
 
README.md CHANGED
@@ -2,7 +2,7 @@
2
  - Tags: email, marketing, newsletter, subscribe, contact form 7, woocommerce, constant contact
3
  - Requires at least: 4.6
4
  - Tested up to: 5.4.1
5
- - Stable tag: 1.0.3
6
  - License: GPLv2 or later
7
  - License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  - Requires PHP: 7.1
2
  - Tags: email, marketing, newsletter, subscribe, contact form 7, woocommerce, constant contact
3
  - Requires at least: 4.6
4
  - Tested up to: 5.4.1
5
+ - Stable tag: 1.0.4
6
  - License: GPLv2 or later
7
  - License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  - Requires PHP: 7.1
creative-mail-plugin.php CHANGED
@@ -6,7 +6,7 @@ use CreativeMail\CreativeMail;
6
  * Plugin URI: https://bitbucket.org/creativemail/creativemail-for-wordpress/src
7
  * Description: Power your WooCommerce Store or WordPress Blog with simple & free email marketing from Constant Contact. With the official Creative Mail for WooCommerce plugin, your products, blog posts, images and store links are automatically included as rich shoppable email marketing content for your customers. Our included CRM also intelligently pulls in and identifies your WordPress site contacts and WooCommerce store customers. That makes it easy to build audiences and send targeted customer campaigns. Get free email marketing, 98% deliverability, and Constant Contact rock solid reliability all without ever needing to leave your WP Admin.
8
  * Author: Constant Contact
9
- * Version: 1.0.3
10
  * Author URI: https://www.constantcontact.com
11
  */
12
 
@@ -20,7 +20,7 @@ function _load_ce4wp_plugin() {
20
 
21
  define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
22
  define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
23
- define('CE4WP_PLUGIN_VERSION', '1.0.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');
6
  * Plugin URI: https://bitbucket.org/creativemail/creativemail-for-wordpress/src
7
  * Description: Power your WooCommerce Store or WordPress Blog with simple & free email marketing from Constant Contact. With the official Creative Mail for WooCommerce plugin, your products, blog posts, images and store links are automatically included as rich shoppable email marketing content for your customers. Our included CRM also intelligently pulls in and identifies your WordPress site contacts and WooCommerce store customers. That makes it easy to build audiences and send targeted customer campaigns. Get free email marketing, 98% deliverability, and Constant Contact rock solid reliability all without ever needing to leave your WP Admin.
8
  * Author: Constant Contact
9
+ * Version: 1.0.4
10
  * Author URI: https://www.constantcontact.com
11
  */
12
 
20
 
21
  define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
22
  define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
23
+ define('CE4WP_PLUGIN_VERSION', '1.0.4');
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');
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === Creative Mail – Easier WordPress & WooCommerce Email Marketing ===
2
  Contributors: Constant Contact
3
- Tags: email, marketing, newsletter, subscribe, contact form 7, woocommerce, constant contact
4
  Requires at least: 4.6
5
  Tested up to: 5.4.1
6
- Stable tag: 1.0.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
- Requires PHP: 7.1
10
  Website: https://www.creativemail.com
11
 
12
  == Description ==
@@ -87,6 +87,7 @@ Creative Mail by Constant Contact [Privacy Policy](https://endurance.clarip.com/
87
  5. Open your email marketing from your WP-admin dashboard
88
 
89
  == Changelog ==
 
90
  * 1.0.3 - Small fixes in the plugin readme.
91
  * 1.0.2 - Small fixes in the plugin readme.
92
  * 1.0.1 - Fixes an issue where the "Let's get started" button needed to be clicked twice in some cases.
1
  === Creative Mail – Easier WordPress & WooCommerce Email Marketing ===
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.6
5
  Tested up to: 5.4.1
6
+ Stable tag: 1.0.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
+ Requires PHP: 5.6
10
  Website: https://www.creativemail.com
11
 
12
  == Description ==
87
  5. Open your email marketing from your WP-admin dashboard
88
 
89
  == Changelog ==
90
+ * 1.0.4 - Added compatibility with PHP 5.6
91
  * 1.0.3 - Small fixes in the plugin readme.
92
  * 1.0.2 - Small fixes in the plugin readme.
93
  * 1.0.1 - Fixes an issue where the "Let's get started" button needed to be clicked twice in some cases.
src/managers/api-manager.php CHANGED
@@ -164,8 +164,8 @@ class ApiManager
164
  $path = $route['path'];
165
  $methods = $route['methods'];
166
  $callback = $route['callback'];
167
- $require_wp_admin = $route['require_wp_admin'] ?? false;
168
- $require_api_key = $route['require_api_key'] ?? true;
169
 
170
  // Make sure we at least have a path
171
  if (empty($path)) return;
164
  $path = $route['path'];
165
  $methods = $route['methods'];
166
  $callback = $route['callback'];
167
+ $require_wp_admin = isset($route['require_wp_admin']) ? $route['require_wp_admin'] : false;
168
+ $require_api_key = isset($route['require_api_key']) ? $route['require_api_key'] : true;
169
 
170
  // Make sure we at least have a path
171
  if (empty($path)) return;
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitfdbcb28278ab984cbc8bb0799920cf54::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit3906e6c64758b2e1c597d356b135b123::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitfdbcb28278ab984cbc8bb0799920cf54
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitfdbcb28278ab984cbc8bb0799920cf54
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitfdbcb28278ab984cbc8bb0799920cf54', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitfdbcb28278ab984cbc8bb0799920cf54', '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\ComposerStaticInitfdbcb28278ab984cbc8bb0799920cf54::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 ComposerAutoloaderInit3906e6c64758b2e1c597d356b135b123
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit3906e6c64758b2e1c597d356b135b123', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit3906e6c64758b2e1c597d356b135b123', '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\ComposerStaticInit3906e6c64758b2e1c597d356b135b123::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 ComposerStaticInitfdbcb28278ab984cbc8bb0799920cf54
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
@@ -113,9 +113,9 @@ class ComposerStaticInitfdbcb28278ab984cbc8bb0799920cf54
113
  public static function getInitializer(ClassLoader $loader)
114
  {
115
  return \Closure::bind(function () use ($loader) {
116
- $loader->prefixLengthsPsr4 = ComposerStaticInitfdbcb28278ab984cbc8bb0799920cf54::$prefixLengthsPsr4;
117
- $loader->prefixDirsPsr4 = ComposerStaticInitfdbcb28278ab984cbc8bb0799920cf54::$prefixDirsPsr4;
118
- $loader->classMap = ComposerStaticInitfdbcb28278ab984cbc8bb0799920cf54::$classMap;
119
 
120
  }, null, ClassLoader::class);
121
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit3906e6c64758b2e1c597d356b135b123
8
  {
9
  public static $prefixLengthsPsr4 = array (
10
  'F' =>
113
  public static function getInitializer(ClassLoader $loader)
114
  {
115
  return \Closure::bind(function () use ($loader) {
116
+ $loader->prefixLengthsPsr4 = ComposerStaticInit3906e6c64758b2e1c597d356b135b123::$prefixLengthsPsr4;
117
+ $loader->prefixDirsPsr4 = ComposerStaticInit3906e6c64758b2e1c597d356b135b123::$prefixDirsPsr4;
118
+ $loader->classMap = ComposerStaticInit3906e6c64758b2e1c597d356b135b123::$classMap;
119
 
120
  }, null, ClassLoader::class);
121
  }