Version Description
Download this release
Release Info
Developer | constantcontact |
Plugin | Creative Mail – Easier WordPress & WooCommerce Email Marketing |
Version | 1.5.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.1 to 1.5.2
- CHANGELOG.md +3 -0
- README.md +2 -1
- creative-mail-plugin.php +3 -3
- readme.txt +2 -1
- src/Managers/AdminManager.php +1 -1
- src/Managers/EmailManager.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +5 -5
CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
Changelog
|
2 |
=========
|
|
|
|
|
|
|
3 |
#### 1.5.1 - March 22 2022
|
4 |
- Fix outdated PHP classes
|
5 |
|
1 |
Changelog
|
2 |
=========
|
3 |
+
#### 1.5.2 - March 22 2022
|
4 |
+
- Small bug fix for PHP versions previous to 7.1
|
5 |
+
|
6 |
#### 1.5.1 - March 22 2022
|
7 |
- Fix outdated PHP classes
|
8 |
|
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.9
|
6 |
-
Stable tag: 1.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 5.6
|
@@ -90,6 +90,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
|
|
90 |
6. Enhance your brand with LogoBuilder
|
91 |
|
92 |
== Changelog ==
|
|
|
93 |
* 1.5.1 - Fix outdated PHP classes
|
94 |
* 1.5.0 - Fix WooCommerce product lists, improved WooCommerce order workflows and improved contact management.
|
95 |
* 1.4.9 - Fixes regarding WooCoomerce and Contact Sync Updates.
|
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.9
|
6 |
+
Stable tag: 1.5.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 5.6
|
90 |
6. Enhance your brand with LogoBuilder
|
91 |
|
92 |
== Changelog ==
|
93 |
+
* 1.5.2 - Small bug fix for PHP versions previous to 7.1
|
94 |
* 1.5.1 - Fix outdated PHP classes
|
95 |
* 1.5.0 - Fix WooCommerce product lists, improved WooCommerce order workflows and improved contact management.
|
96 |
* 1.4.9 - Fixes regarding WooCoomerce and Contact Sync Updates.
|
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.5.
|
13 |
* Author URI: https://www.constantcontact.com
|
14 |
* WC requires at least: 3.0.0
|
15 |
* WC tested up to: 5.1.0
|
@@ -27,7 +27,7 @@ function _load_ce4wp_plugin()
|
|
27 |
define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
|
28 |
define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
|
29 |
define('CE4WP_PLUGIN_FILE', __FILE__);
|
30 |
-
define('CE4WP_PLUGIN_VERSION', '1.5.
|
31 |
define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
|
32 |
define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
|
33 |
define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
|
@@ -44,7 +44,7 @@ function _load_ce4wp_plugin()
|
|
44 |
define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
|
45 |
define('CE4WP_APP_URL', 'https://app.creativemail.com/');
|
46 |
define('CE4WP_ENVIRONMENT', 'PRODUCTION');
|
47 |
-
define('CE4WP_BUILD_NUMBER', '
|
48 |
define('CE4WP_RAYGUN_PHP_KEY', 'Z85xL3mkgnW13Ri9DajGUg');
|
49 |
define('CE4WP_BATCH_SIZE', 500);
|
50 |
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.5.2
|
13 |
* Author URI: https://www.constantcontact.com
|
14 |
* WC requires at least: 3.0.0
|
15 |
* WC tested up to: 5.1.0
|
27 |
define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
|
28 |
define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
|
29 |
define('CE4WP_PLUGIN_FILE', __FILE__);
|
30 |
+
define('CE4WP_PLUGIN_VERSION', '1.5.2');
|
31 |
define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
|
32 |
define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
|
33 |
define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
|
44 |
define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
|
45 |
define('CE4WP_APP_URL', 'https://app.creativemail.com/');
|
46 |
define('CE4WP_ENVIRONMENT', 'PRODUCTION');
|
47 |
+
define('CE4WP_BUILD_NUMBER', '1645');
|
48 |
define('CE4WP_RAYGUN_PHP_KEY', 'Z85xL3mkgnW13Ri9DajGUg');
|
49 |
define('CE4WP_BATCH_SIZE', 500);
|
50 |
define('CE4WP_WC_API_KEY_ID', 'ce4wp_woocommerce_api_key_id');
|
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.9
|
6 |
-
Stable tag: 1.5.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 5.6
|
@@ -104,6 +104,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
|
|
104 |
6. Enhance your brand with LogoBuilder
|
105 |
|
106 |
== Changelog ==
|
|
|
107 |
* 1.5.1 - Fix outdated PHP classes
|
108 |
* 1.5.0 - Fix WooCommerce product lists, improved WooCommerce order workflows and improved contact management.
|
109 |
* 1.4.9 - Fixes regarding WooCoomerce and Contact Sync Updates.
|
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.9
|
6 |
+
Stable tag: 1.5.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 5.6
|
104 |
6. Enhance your brand with LogoBuilder
|
105 |
|
106 |
== Changelog ==
|
107 |
+
* 1.5.2 - Small bug fix for PHP versions previous to 7.1
|
108 |
* 1.5.1 - Fix outdated PHP classes
|
109 |
* 1.5.0 - Fix WooCommerce product lists, improved WooCommerce order workflows and improved contact management.
|
110 |
* 1.4.9 - Fixes regarding WooCoomerce and Contact Sync Updates.
|
src/Managers/AdminManager.php
CHANGED
@@ -282,7 +282,7 @@ class AdminManager
|
|
282 |
|
283 |
/* translators: text. */
|
284 |
printf(
|
285 |
-
__('Awesome, you\'ve been using <a href="admin.php?page=creativemail">Creative Mail</a> for more than 1 week. May we ask you to give it a 5-star rating on WordPress? | <a href="%2$s" target="_blank">Ok, you deserved it</a> | <a href="%1$s">I already did</a> | <a href="%1$s">No, not good enough</a>', self::DOMAIN_CE4WP), '?ce4wp-ignore-notice=0',
|
286 |
'https://wordpress.org/plugins/creative-mail-by-constant-contact/'
|
287 |
);
|
288 |
echo "</p></div>";
|
282 |
|
283 |
/* translators: text. */
|
284 |
printf(
|
285 |
+
__( 'Awesome, you\'ve been using <a href="admin.php?page=creativemail">Creative Mail</a> for more than 1 week. May we ask you to give it a 5-star rating on WordPress? | <a href="%2$s" target="_blank">Ok, you deserved it</a> | <a href="%1$s">I already did</a> | <a href="%1$s">No, not good enough</a>', self::DOMAIN_CE4WP ), '?ce4wp-ignore-notice=0',
|
286 |
'https://wordpress.org/plugins/creative-mail-by-constant-contact/'
|
287 |
);
|
288 |
echo "</p></div>";
|
src/Managers/EmailManager.php
CHANGED
@@ -411,7 +411,7 @@ class EmailManager
|
|
411 |
'total_line_items_quantity' => $order->get_item_count(),
|
412 |
'total_tax' => wc_format_decimal( $order->get_total_tax(), $dp ),
|
413 |
'shipping_total' => wc_format_decimal( $order->get_shipping_total(), $dp ),
|
414 |
-
'cart_tax' => wc_format_decimal( $order->get_cart_tax(),
|
415 |
'shipping_tax' => wc_format_decimal( $order->get_shipping_tax(), $dp ),
|
416 |
'discount_total' => wc_format_decimal( $order->get_total_discount(), $dp ),
|
417 |
'shipping_methods' => $order->get_shipping_method(),
|
411 |
'total_line_items_quantity' => $order->get_item_count(),
|
412 |
'total_tax' => wc_format_decimal( $order->get_total_tax(), $dp ),
|
413 |
'shipping_total' => wc_format_decimal( $order->get_shipping_total(), $dp ),
|
414 |
+
'cart_tax' => wc_format_decimal( $order->get_cart_tax(), $dp ),
|
415 |
'shipping_tax' => wc_format_decimal( $order->get_shipping_tax(), $dp ),
|
416 |
'discount_total' => wc_format_decimal( $order->get_total_discount(), $dp ),
|
417 |
'shipping_methods' => $order->get_shipping_method(),
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit0e3763bb3e3edf488fdff81476d15b25::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitee46db4f3fa7780cf9da57748b865cb0
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
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\
|
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 ComposerAutoloaderInit0e3763bb3e3edf488fdff81476d15b25
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit0e3763bb3e3edf488fdff81476d15b25', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit0e3763bb3e3edf488fdff81476d15b25', '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\ComposerStaticInit0e3763bb3e3edf488fdff81476d15b25::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
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'F' =>
|
@@ -190,10 +190,10 @@ class ComposerStaticInitee46db4f3fa7780cf9da57748b865cb0
|
|
190 |
public static function getInitializer(ClassLoader $loader)
|
191 |
{
|
192 |
return \Closure::bind(function () use ($loader) {
|
193 |
-
$loader->prefixLengthsPsr4 =
|
194 |
-
$loader->prefixDirsPsr4 =
|
195 |
-
$loader->prefixesPsr0 =
|
196 |
-
$loader->classMap =
|
197 |
|
198 |
}, null, ClassLoader::class);
|
199 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit0e3763bb3e3edf488fdff81476d15b25
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'F' =>
|
190 |
public static function getInitializer(ClassLoader $loader)
|
191 |
{
|
192 |
return \Closure::bind(function () use ($loader) {
|
193 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit0e3763bb3e3edf488fdff81476d15b25::$prefixLengthsPsr4;
|
194 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit0e3763bb3e3edf488fdff81476d15b25::$prefixDirsPsr4;
|
195 |
+
$loader->prefixesPsr0 = ComposerStaticInit0e3763bb3e3edf488fdff81476d15b25::$prefixesPsr0;
|
196 |
+
$loader->classMap = ComposerStaticInit0e3763bb3e3edf488fdff81476d15b25::$classMap;
|
197 |
|
198 |
}, null, ClassLoader::class);
|
199 |
}
|