Version Description
Download this release
Release Info
Developer | constantcontact |
Plugin | Creative Mail – Easier WordPress & WooCommerce Email Marketing |
Version | 1.3.9 |
Comparing to | |
See all releases |
Code changes from version 1.3.8 to 1.3.9
- CHANGELOG.md +3 -0
- README.md +2 -1
- assets/css/admin.css +16 -0
- assets/images/airplane-folding.png +0 -0
- creative-mail-plugin.php +3 -3
- readme.txt +19 -71
- src/integrations/Integration.php +1 -1
- src/managers/AdminManager.php +0 -3
- src/managers/IntegrationManager.php +4 -4
- src/views/available-integrations.php +3 -2
- src/views/dashboard-open-creative-mail.php +47 -0
- src/views/dashboard.php +9 -50
- src/views/onboarding-content.php +47 -0
- src/views/onboarding.php +8 -48
- src/views/password-protected-notice.php +12 -0
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +5 -5
CHANGELOG.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
Changelog
|
2 |
=========
|
3 |
|
|
|
|
|
|
|
4 |
#### 1.3.8 - May 18 2021
|
5 |
- Fixes an issue with WooCommerce recommendations.
|
6 |
|
1 |
Changelog
|
2 |
=========
|
3 |
|
4 |
+
#### 1.3.9 - May 26 2021
|
5 |
+
- Include notice when you have enabled a password protection plugin.
|
6 |
+
|
7 |
#### 1.3.8 - May 18 2021
|
8 |
- Fixes an issue with WooCommerce recommendations.
|
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.7
|
6 |
-
Stable tag: 1.3.
|
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 logomaker
|
91 |
|
92 |
== Changelog ==
|
|
|
93 |
* 1.3.8 - Fixes an issue with WooCommerce recommendations.
|
94 |
* 1.3.7 - Fixes an issue specific to PHP 7.4
|
95 |
* 1.3.6 - Improved integrations with WooCommerce to support features like Abandoned Cart emails.
|
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.7
|
6 |
+
Stable tag: 1.3.9
|
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 logomaker
|
91 |
|
92 |
== Changelog ==
|
93 |
+
* 1.3.9 - Include notice when you have enabled a password protection plugin.
|
94 |
* 1.3.8 - Fixes an issue with WooCommerce recommendations.
|
95 |
* 1.3.7 - Fixes an issue specific to PHP 7.4
|
96 |
* 1.3.6 - Improved integrations with WooCommerce to support features like Abandoned Cart emails.
|
assets/css/admin.css
CHANGED
@@ -108,6 +108,14 @@
|
|
108 |
text-transform: none;
|
109 |
background-color: #e0e0e0;
|
110 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
.ce4wp-button-contained-primary {
|
112 |
color: #ffffff;
|
113 |
border: 1px solid #7A4CA8;
|
@@ -115,6 +123,7 @@
|
|
115 |
font-weight: 700;
|
116 |
background-color: #7A4CA8;
|
117 |
}
|
|
|
118 |
.ce4wp-button-contained-primary:hover {
|
119 |
box-shadow: none;
|
120 |
background-color: #663399;
|
@@ -500,6 +509,13 @@
|
|
500 |
color: rgba(0, 0, 0, 0.6);
|
501 |
}
|
502 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
503 |
@media (max-width: 460px) {
|
504 |
.ce4wp-typography-h1 {
|
505 |
font-size: 28px;
|
108 |
text-transform: none;
|
109 |
background-color: #e0e0e0;
|
110 |
}
|
111 |
+
.ce4wp-button-contained-orange {
|
112 |
+
color: #784100;
|
113 |
+
border: 1px solid #FFB800;
|
114 |
+
font-size: 14px;
|
115 |
+
font-weight: 700;
|
116 |
+
background-color: #FFB800;
|
117 |
+
}
|
118 |
+
|
119 |
.ce4wp-button-contained-primary {
|
120 |
color: #ffffff;
|
121 |
border: 1px solid #7A4CA8;
|
123 |
font-weight: 700;
|
124 |
background-color: #7A4CA8;
|
125 |
}
|
126 |
+
|
127 |
.ce4wp-button-contained-primary:hover {
|
128 |
box-shadow: none;
|
129 |
background-color: #663399;
|
509 |
color: rgba(0, 0, 0, 0.6);
|
510 |
}
|
511 |
|
512 |
+
.ce4wp-typography-h6-darker {
|
513 |
+
font-size: 18px;
|
514 |
+
font-weight: 400;
|
515 |
+
line-height: 24px;
|
516 |
+
color: rgba(0, 0, 0, 0.9);
|
517 |
+
}
|
518 |
+
|
519 |
@media (max-width: 460px) {
|
520 |
.ce4wp-typography-h1 {
|
521 |
font-size: 28px;
|
assets/images/airplane-folding.png
ADDED
Binary file
|
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.3.
|
13 |
* Author URI: https://www.constantcontact.com
|
14 |
* WC requires at least: 3.0.0
|
15 |
* WC tested up to: 5.1.0
|
@@ -26,7 +26,7 @@ function _load_ce4wp_plugin()
|
|
26 |
define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
|
27 |
define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
|
28 |
define('CE4WP_PLUGIN_FILE', __FILE__);
|
29 |
-
define('CE4WP_PLUGIN_VERSION', '1.3.
|
30 |
define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
|
31 |
define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
|
32 |
define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
|
@@ -43,7 +43,7 @@ function _load_ce4wp_plugin()
|
|
43 |
define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
|
44 |
define('CE4WP_APP_URL', 'https://app.creativemail.com/');
|
45 |
define('CE4WP_ENVIRONMENT', 'PRODUCTION');
|
46 |
-
define('CE4WP_BUILD_NUMBER', '
|
47 |
define('CE4WP_RAYGUN_PHP_KEY', 'Z85xL3mkgnW13Ri9DajGUg');
|
48 |
define('CE4WP_BATCH_SIZE', 500);
|
49 |
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.3.9
|
13 |
* Author URI: https://www.constantcontact.com
|
14 |
* WC requires at least: 3.0.0
|
15 |
* WC tested up to: 5.1.0
|
26 |
define('CE4WP_PLUGIN_DIR', __DIR__ . '/');
|
27 |
define('CE4WP_PLUGIN_URL', plugin_dir_url(__FILE__) . '/');
|
28 |
define('CE4WP_PLUGIN_FILE', __FILE__);
|
29 |
+
define('CE4WP_PLUGIN_VERSION', '1.3.9');
|
30 |
define('CE4WP_INSTANCE_UUID_KEY', 'ce4wp_instance_uuid');
|
31 |
define('CE4WP_INSTANCE_HANDSHAKE_TOKEN', 'ce4wp_handshake_token');
|
32 |
define('CE4WP_INSTANCE_HANDSHAKE_EXPIRATION', 'ce4wp_handshake_expiration');
|
43 |
define('CE4WP_APP_GATEWAY_URL', 'https://app-gateway.creativemail.com/');
|
44 |
define('CE4WP_APP_URL', 'https://app.creativemail.com/');
|
45 |
define('CE4WP_ENVIRONMENT', 'PRODUCTION');
|
46 |
+
define('CE4WP_BUILD_NUMBER', '1163');
|
47 |
define('CE4WP_RAYGUN_PHP_KEY', 'Z85xL3mkgnW13Ri9DajGUg');
|
48 |
define('CE4WP_BATCH_SIZE', 500);
|
49 |
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.7
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 5.6
|
@@ -25,14 +25,6 @@ It’s perfect for automatic blog post syndication, newsletters and announcement
|
|
25 |
|
26 |
Create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of Constant Contact.
|
27 |
|
28 |
-
## CREATIVE MAIL IS:
|
29 |
-
1. Incredibly easy WordPress email marketing
|
30 |
-
1. Deeply connected to your website & WooCommerce store
|
31 |
-
1. Accessed from within your WP Admin Dashboard
|
32 |
-
1. Automatically syncing your contacts and building your marketing lists
|
33 |
-
1. Powered by the reliability superior deliverability of Constant Contact
|
34 |
-
1. Fun, which makes life way better
|
35 |
-
|
36 |
### [VIEW OUR DETAILED FEATURES](https://www.creativemail.com/plans)
|
37 |
|
38 |
### [WOOCOMMERCE & WORDPRESS INTEGRATION](https://www.creativemail.com):
|
@@ -47,16 +39,13 @@ Turn your WooCommerce store and your WordPress site into efficient marketing eng
|
|
47 |
- **Live Support:** With our paid plans (Awesome & Ultimate) you get access to phone and chat support to help you get answers from real live, helpful humans. Imagine that!
|
48 |
|
49 |
### [OPT-IN EMAIL FORMS](https://www.creativemail.com):
|
50 |
-
- **Jetpack
|
51 |
-
- **
|
52 |
-
- **Creative Mail Form:** If you are not using a form on your site, you can easily add your Creative Mail Gutenberg form to start collecting email addresses of your site visitors
|
53 |
-
|
54 |
|
55 |
### [EMAIL AUTOMATIONS](https://www.creativemail.com):
|
56 |
- **Scheduled Sends:** Schedule the time and date of outgoing email marketing campaigns based on your business or organization's preferences.
|
57 |
-
- **Single-Step Triggered Emails:** Replace your non-branded
|
58 |
-
- **
|
59 |
-
- **Multi-Step Marketing Journeys:** Develop sophisticated CLM (that’s marketing speak for - customer lifecycle marketing) campaigns by leveraging our “if this, then that” campaign automation engine that responds to a customer's actions, birthdays or purchases. Welcome your customers with email automation.
|
60 |
|
61 |
### [ANALYTICS & INSIGHTS](https://www.creativemail.com):
|
62 |
- **Realtime Email Marketing Statistics:** Bounces, opens, clicks, forwards, complaints, unsubscribes and more are easily tracked and managed. Be a control freak, it’s OK.
|
@@ -69,25 +58,27 @@ Turn your WooCommerce store and your WordPress site into efficient marketing eng
|
|
69 |
- **Custom Labels:** Further refine your marketing by adding custom labels to subscribers or customers (ex. Truck Buyers, Concert Attendee, Dog Owners, etc.).
|
70 |
|
71 |
### [IMPORT & EXPORT](https://www.creativemail.com):
|
72 |
-
- **Contacts Sync & Import:**
|
73 |
-
- **Import & Export Via CSV:**
|
74 |
|
75 |
### [CAMPAIGNS](https://www.creativemail.com):
|
76 |
- **AI Emails:** Forget templates, let our A.I. build your email marketing campaigns for you. Pull in WordPress posts or WooCommerce products for sale and you’re good to go. Let our robots do your bidding!
|
77 |
- **Email Campaign Creation:** Build your email marketing campaigns in seconds from your WordPress admin dashboard.
|
78 |
- **Awesome Deliverability:** All email marketing campaigns are sent and delivered by the award-winning power of Constant Contact technology. We got you.
|
79 |
-
- **Automated Email Marketing:** Send multi-step email campaigns automatically, with triggers you define, whether that’s based on time
|
80 |
|
81 |
### [EMAIL LIST MANAGEMENT](https://www.creativemail.com):
|
82 |
- **Contact List Growth:** Creative Mail collects leads from Jetpack forms or the top WordPress lead capture forms and adds them directly to your email lists.
|
83 |
-
- **Automate Emails:** With our “Welcome” email trigger you can send a Creative Mail welcome
|
84 |
-
- **Auto List Updater:** Creative Mail automatically updates your contact lists for unsubscribes.
|
85 |
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
|
|
|
|
91 |
|
92 |
## TERMS OF SERVICE & PRIVACY NOTICE
|
93 |
On behalf of our lawyers (seriously, they’re nice people), please feel free to review our:
|
@@ -104,6 +95,7 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
|
|
104 |
6. Enhance your brand with logomaker
|
105 |
|
106 |
== Changelog ==
|
|
|
107 |
* 1.3.8 - Fixes an issue with WooCommerce recommendations.
|
108 |
* 1.3.7 - Fixes an issue specific to PHP 7.4
|
109 |
* 1.3.6 - Improved integrations with WooCommerce to support features like Abandoned Cart emails.
|
@@ -112,48 +104,4 @@ Creative Mail by Constant Contact [Privacy Notice](https://www.endurance.com/pri
|
|
112 |
* 1.3.3 - Direct access to Creative Mail features from the left side nav in WP Admin.
|
113 |
* 1.3.2 - Fixes an issue where the contact sync might cause a critical error.
|
114 |
* 1.3.1 - Add the ability to show the amount of recovered revenue via abandoned carts.
|
115 |
-
* 1.3.0 - Support for abandoned cart emails
|
116 |
-
|
117 |
-
== Installation ==
|
118 |
-
|
119 |
-
- Go to your admin dashboard
|
120 |
-
- Click the “Plugins” menu in the left side navigation bar
|
121 |
-
- Click on “Add New”
|
122 |
-
- Search for “Creative”
|
123 |
-
- Click “Install Now”
|
124 |
-
- Click “Activate”
|
125 |
-
- You will be redirected to Creative Mail where you can setup your account
|
126 |
-
|
127 |
-
== Frequently Asked Questions ==
|
128 |
-
|
129 |
-
= Requirements =
|
130 |
-
- Your website or blog must be using WordPress.org version 4.6 or higher on your server.
|
131 |
-
- The plugin can be installed on regular Wordpress environments and also on WordPress.com sites.
|
132 |
-
|
133 |
-
= What does the Creative Mail plugin do? =
|
134 |
-
The Creative mail plugin allows you to create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of Constant Contact.
|
135 |
-
Our intelligent (and super fun) email editor simplifies email marketing campaign creation and pulls your WordPress blog posts, website images and WooCommerce products right into your email content. Leads from your WordPress website, ecommerce store and contact forms are automatically captured and routed into our included Contacts CRM and synced with your email marketing lists.
|
136 |
-
It’s perfect for automatic blog post syndication, newsletters and announcements, event promotion, WooCommerce product specials, retargeting ecommerce shoppers, sending postcards, providing updates and more.
|
137 |
-
|
138 |
-
= Are coding skills needed to use Creative Mail? =
|
139 |
-
Creative Mail is built for non-developers, you don't even need to fill in API keys. If you know how to install a plugin on your website, you are good to go! You will have your images, blog posts and products from your WordPress site available to make campaigns without having to lift a finger.
|
140 |
-
|
141 |
-
= What is available for free with CreativeMail? =
|
142 |
-
With Creative Mail you can send campaigns to your contacts for free. Promote your blog articles, WooCommerce products, events and much more with your followers. Advanced functionality like sending Welcome series Automations and WooCommerce order notifications are part of a paid plan.
|
143 |
-
You can see the overview of all the features per plan [on our plans page](https://www.creativemail.com/plans/).
|
144 |
-
|
145 |
-
= What forms can I use in combination with Creative mail? =
|
146 |
-
You can add the Creative Mail Form to your site to gather contacts and add contacts automatically to a specific list.
|
147 |
-
Creative Mail also integrated with one of the form builders below. For those you can easily activate Contact Synchronization:
|
148 |
-
- Jetpack forms
|
149 |
-
- Contact form 7
|
150 |
-
- WPForms lite and WPForms
|
151 |
-
- Newsletter
|
152 |
-
- Gravity forms
|
153 |
-
- Elementor
|
154 |
-
- Ninja forms
|
155 |
-
- Caldera Forms
|
156 |
-
- Formidable
|
157 |
-
|
158 |
-
= Does Creative Mail support ecommerce stores? =
|
159 |
-
Creative mail is fully integrated with WooCommerce, which enables you to share your WooCommerce products via email campaigns. You can also replace your non-branded WooCommerce order notification triggered emails with on-brand Creative Mail emails for deeper customer engagement. Build one, and then all your other WooCommerce emails managed by Creative Mail will inherit the same branded look. Hey, style matters.
|
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.7
|
6 |
+
Stable tag: 1.3.9
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires PHP: 5.6
|
25 |
|
26 |
Create awesome email marketing campaigns right from your WordPress Admin Dashboard that are all powered by the award-winning & rock-solid reliability of Constant Contact.
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
### [VIEW OUR DETAILED FEATURES](https://www.creativemail.com/plans)
|
29 |
|
30 |
### [WOOCOMMERCE & WORDPRESS INTEGRATION](https://www.creativemail.com):
|
39 |
- **Live Support:** With our paid plans (Awesome & Ultimate) you get access to phone and chat support to help you get answers from real live, helpful humans. Imagine that!
|
40 |
|
41 |
### [OPT-IN EMAIL FORMS](https://www.creativemail.com):
|
42 |
+
- **Jetpack & WordPress Website Forms:** Creative Mail detects the current website forms used on your site, and automatically adds contacts to your email marketing lists. Automagically awesome!
|
43 |
+
- **JMML Newsletter Form:** Creative Mail and Jetpack now include a JMML (join my mailing list) Newsletter Signup form. When activated, contacts who sign up for your Newsletter through the JMML form are brought right into your Newsletter email marketing list. Easy peasy.
|
|
|
|
|
44 |
|
45 |
### [EMAIL AUTOMATIONS](https://www.creativemail.com):
|
46 |
- **Scheduled Sends:** Schedule the time and date of outgoing email marketing campaigns based on your business or organization's preferences.
|
47 |
+
- **Single-Step Triggered Emails:** Replace your non-branded triggered emails with on-brand Creative Mail emails for deeper customer engagement.
|
48 |
+
- **Multi-Step Marketing Journeys:** Develop sophisticated CLM (that’s marketing speak for - customer lifecycle marketing) campaigns by leveraging our “if this, then that” campaign automation engine that responds to a customer's actions or purchases. (Coming Soon)
|
|
|
49 |
|
50 |
### [ANALYTICS & INSIGHTS](https://www.creativemail.com):
|
51 |
- **Realtime Email Marketing Statistics:** Bounces, opens, clicks, forwards, complaints, unsubscribes and more are easily tracked and managed. Be a control freak, it’s OK.
|
58 |
- **Custom Labels:** Further refine your marketing by adding custom labels to subscribers or customers (ex. Truck Buyers, Concert Attendee, Dog Owners, etc.).
|
59 |
|
60 |
### [IMPORT & EXPORT](https://www.creativemail.com):
|
61 |
+
- **Contacts Sync & Import:** Forget adding complex integrations between your WordPress site and your email marketing provider. With Creative Mail it all simply works with WordPress out of the box. We do the heavy lifting to sync and import your Jetpack, WordPress or WooCommerce contacts automatically.
|
62 |
+
- **Import & Export Via CSV:** From our Creative Mail Contacts CRM you can import bulk email marketing lists (limits may apply), add subscribers one by one, or export your contacts into a CSV file.
|
63 |
|
64 |
### [CAMPAIGNS](https://www.creativemail.com):
|
65 |
- **AI Emails:** Forget templates, let our A.I. build your email marketing campaigns for you. Pull in WordPress posts or WooCommerce products for sale and you’re good to go. Let our robots do your bidding!
|
66 |
- **Email Campaign Creation:** Build your email marketing campaigns in seconds from your WordPress admin dashboard.
|
67 |
- **Awesome Deliverability:** All email marketing campaigns are sent and delivered by the award-winning power of Constant Contact technology. We got you.
|
68 |
+
- **Automated Email Marketing:** Send multi-step email campaigns automatically, with triggers you define, whether that’s based on time or behavioral actions. (Coming Soon)
|
69 |
|
70 |
### [EMAIL LIST MANAGEMENT](https://www.creativemail.com):
|
71 |
- **Contact List Growth:** Creative Mail collects leads from Jetpack forms or the top WordPress lead capture forms and adds them directly to your email lists.
|
72 |
+
- **Automate Emails:** With our “Welcome” email trigger you can send a Creative Mail welcome message to new subscribers and blog readers. (Coming Soon)
|
73 |
+
- **Auto List Updater:** Creative Mail automatically updates your contact lists for email bounces or unsubscribes.
|
74 |
|
75 |
+
## CREATIVE MAIL IS:
|
76 |
+
1. Incredibly easy WordPress email marketing
|
77 |
+
1. Deeply connected to your website & WooCommerce store
|
78 |
+
1. Accessed from within your WP Admin Dashboard
|
79 |
+
1. Automatically syncing your contacts and building your marketing lists
|
80 |
+
1. Powered by the reliability superior deliverability of Constant Contact
|
81 |
+
1. Fun, which makes life way better
|
82 |
|
83 |
## TERMS OF SERVICE & PRIVACY NOTICE
|
84 |
On behalf of our lawyers (seriously, they’re nice people), please feel free to review our:
|
95 |
6. Enhance your brand with logomaker
|
96 |
|
97 |
== Changelog ==
|
98 |
+
* 1.3.9 - Include notice when you have enabled a password protection plugin.
|
99 |
* 1.3.8 - Fixes an issue with WooCommerce recommendations.
|
100 |
* 1.3.7 - Fixes an issue specific to PHP 7.4
|
101 |
* 1.3.6 - Improved integrations with WooCommerce to support features like Abandoned Cart emails.
|
104 |
* 1.3.3 - Direct access to Creative Mail features from the left side nav in WP Admin.
|
105 |
* 1.3.2 - Fixes an issue where the contact sync might cause a critical error.
|
106 |
* 1.3.1 - Add the ability to show the amount of recovered revenue via abandoned carts.
|
107 |
+
* 1.3.0 - Support for abandoned cart emails
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/integrations/Integration.php
CHANGED
@@ -37,7 +37,7 @@ class Integration
|
|
37 |
$this->class = $class;
|
38 |
$this->integrationHandler = $integration_handler;
|
39 |
$this->hide_from_suggestions = $hide_from_suggestions;
|
40 |
-
$this->url = is_null($url) ? "
|
41 |
$this->has_multiple_plugins = $has_multiple_plugins;
|
42 |
}
|
43 |
|
37 |
$this->class = $class;
|
38 |
$this->integrationHandler = $integration_handler;
|
39 |
$this->hide_from_suggestions = $hide_from_suggestions;
|
40 |
+
$this->url = is_null($url) ? admin_url("plugin-install.php?tab=plugin-information&plugin=$slug&TB_iframe=true&width=772&height=1144") : $url;
|
41 |
$this->has_multiple_plugins = $has_multiple_plugins;
|
42 |
}
|
43 |
|
src/managers/AdminManager.php
CHANGED
@@ -66,9 +66,6 @@ class AdminManager
|
|
66 |
add_action(self::ADMIN_MENU_HOOK, array( $this, 'build_menu' ));
|
67 |
add_action(self::ADMIN_ENQUEUE_SCRIPTS_HOOK, array( $this, 'add_assets' ));
|
68 |
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_notice_permalink' ));
|
69 |
-
if (in_array('password-protected/password-protected.php', apply_filters('active_plugins', get_option('active_plugins')))) {
|
70 |
-
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_notice_password_protected'));
|
71 |
-
}
|
72 |
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_notice_review' ));
|
73 |
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_get_started_banner' ));
|
74 |
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_feedback_notice' ));
|
66 |
add_action(self::ADMIN_MENU_HOOK, array( $this, 'build_menu' ));
|
67 |
add_action(self::ADMIN_ENQUEUE_SCRIPTS_HOOK, array( $this, 'add_assets' ));
|
68 |
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_notice_permalink' ));
|
|
|
|
|
|
|
69 |
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_notice_review' ));
|
70 |
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_get_started_banner' ));
|
71 |
add_action(self::ADMIN_NOTICES_HOOK, array($this, 'add_admin_feedback_notice' ));
|
src/managers/IntegrationManager.php
CHANGED
@@ -42,13 +42,13 @@ class IntegrationManager
|
|
42 |
new Integration('contact-form-7', 'Contact Form 7', 'contact-form-7/wp-contact-form-7.php', ContactFormSevenPluginHandler::class, false),
|
43 |
new Integration('newsletter', 'Newsletter', 'newsletter/plugin.php', NewsLetterContactFormPluginHandler::class, false),
|
44 |
new Integration('wpforms', 'WPForms', 'wpforms/wpforms.php', WpFormsPluginHandler::class, false, 'https://wpforms.com/'),
|
45 |
-
new Integration('wpformslite', 'WPForms Lite', 'wpforms-lite/wpforms.php', WpFormsPluginHandler::class, true, '
|
46 |
new Integration('gravityforms', 'Gravity Forms', 'gravityforms/gravityforms.php', GravityFormsPluginHandler::class, false, 'https://www.gravityforms.com/'),
|
47 |
new Integration('elementor', 'Elementor', 'elementor/elementor.php', ElementorPluginHandler::class, false),
|
48 |
-
new Integration('ninjaforms', 'Ninja Forms', 'ninja-forms/ninja-forms.php', NinjaFormsPluginHandler::class, false, '
|
49 |
-
new Integration('caldera', 'Caldera Forms', 'caldera-forms/caldera-core.php', CalderaPluginHandler::class, false, '
|
50 |
new Integration('bluehost', 'Bluehost Builder', 'wb4wp-wordpress-plugin-bluehost/wb4wp-plugin.php', BlueHostBuilderPluginHandler::class, false, 'https://www.bluehost.com/'),
|
51 |
-
new Integration('formidable', 'Formidable', 'formidable/formidable.php', FormidablePluginHandler::class, false, '
|
52 |
);
|
53 |
}
|
54 |
|
42 |
new Integration('contact-form-7', 'Contact Form 7', 'contact-form-7/wp-contact-form-7.php', ContactFormSevenPluginHandler::class, false),
|
43 |
new Integration('newsletter', 'Newsletter', 'newsletter/plugin.php', NewsLetterContactFormPluginHandler::class, false),
|
44 |
new Integration('wpforms', 'WPForms', 'wpforms/wpforms.php', WpFormsPluginHandler::class, false, 'https://wpforms.com/'),
|
45 |
+
new Integration('wpformslite', 'WPForms Lite', 'wpforms-lite/wpforms.php', WpFormsPluginHandler::class, true, admin_url('plugin-install.php?tab=plugin-information&plugin=wpforms-lite&TB_iframe=true&width=772&height=1144')),
|
46 |
new Integration('gravityforms', 'Gravity Forms', 'gravityforms/gravityforms.php', GravityFormsPluginHandler::class, false, 'https://www.gravityforms.com/'),
|
47 |
new Integration('elementor', 'Elementor', 'elementor/elementor.php', ElementorPluginHandler::class, false),
|
48 |
+
new Integration('ninjaforms', 'Ninja Forms', 'ninja-forms/ninja-forms.php', NinjaFormsPluginHandler::class, false, admin_url('plugin-install.php?tab=plugin-information&plugin=ninja-forms&TB_iframe=true&width=772&height=1144')),
|
49 |
+
new Integration('caldera', 'Caldera Forms', 'caldera-forms/caldera-core.php', CalderaPluginHandler::class, false, admin_url('plugin-install.php?tab=plugin-information&plugin=caldera-forms&TB_iframe=true&width=772&height=1144')),
|
50 |
new Integration('bluehost', 'Bluehost Builder', 'wb4wp-wordpress-plugin-bluehost/wb4wp-plugin.php', BlueHostBuilderPluginHandler::class, false, 'https://www.bluehost.com/'),
|
51 |
+
new Integration('formidable', 'Formidable', 'formidable/formidable.php', FormidablePluginHandler::class, false, admin_url('plugin-install.php?tab=plugin-information&plugin=formidable&TB_iframe=true&width=772&height=1144'))
|
52 |
);
|
53 |
}
|
54 |
|
src/views/available-integrations.php
CHANGED
@@ -11,10 +11,11 @@ $title_class = $active_plugin_count == 0 ? 'ce4wp-body2' : 'ce4wp-plugin-support
|
|
11 |
?>
|
12 |
<script type="application/javascript">
|
13 |
function showPluginModal(name, url) {
|
14 |
-
if (url
|
15 |
return
|
|
|
16 |
// Check if url is relative
|
17 |
-
if (url
|
18 |
document.getElementById('plugin-store-title').textContent = name;
|
19 |
document.getElementById('plugin-store-iframe').src = url;
|
20 |
document.getElementById('plugin-store-iframe').title = name;
|
11 |
?>
|
12 |
<script type="application/javascript">
|
13 |
function showPluginModal(name, url) {
|
14 |
+
if (url == null) {
|
15 |
return
|
16 |
+
}
|
17 |
// Check if url is relative
|
18 |
+
if (url.indexOf('plugin-install.php') >= 0) {
|
19 |
document.getElementById('plugin-store-title').textContent = name;
|
20 |
document.getElementById('plugin-store-iframe').src = url;
|
21 |
document.getElementById('plugin-store-iframe').title = name;
|
src/views/dashboard-open-creative-mail.php
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<p class="ce4wp-typography-root ce4wp-subtitle ce4wp-mt-4 ce4wp-mb-4">
|
2 |
+
<?= __( 'You’re all set! Creative Mail and WordPress have been linked.', 'ce4wp'); ?>
|
3 |
+
</p>
|
4 |
+
<div id="ce4wploaded">
|
5 |
+
<a id='ce4wp-go-button' onclick="ce4wpNavigateToDashboard(this, 'd25f690a-217a-4d68-9c58-8693965d4673', { source: 'ce4wp_dashboard' }, ce4wpDashboardStartCallback, ce4wpDashboardFinishCallback)" 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">
|
6 |
+
<span class="ce4wp-button-label ce4wp-hide-on-mobile" style="width: 100%;"><?= __( 'Open your Creative Mail dashboard', 'ce4wp'); ?><span class="ce4wp-button-endIcon">
|
7 |
+
<svg class="ce4wp-Svgicon-root" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
|
8 |
+
<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>
|
9 |
+
</svg>
|
10 |
+
</span>
|
11 |
+
</span>
|
12 |
+
<span class="ce4wp-button-label ce4wp-show-on-mobile" style="width: 100%;"><?= __( 'Open Creative Mail dashboard', 'ce4wp'); ?>
|
13 |
+
</span>
|
14 |
+
</a>
|
15 |
+
<h6 id='ce4wp-sub-apps-title' class="ce4wp-typography-root ce4wp-typography-h6 ce4wp-mt-4 ce4wp-mb-3">
|
16 |
+
<?= __( 'Or jump straight into:', 'ce4wp'); ?>
|
17 |
+
</h6>
|
18 |
+
<div id='ce4wp-sub-apps-container' class="ce4wp-grid ce4wp-mt-3">
|
19 |
+
<div class="ce4wp-grid-item" onclick="ce4wpNavigateToDashboard(this, '1fabdbe2-95ed-4e1e-a2f3-ba0278f5096f', { source: 'ce4wp_dashboard' }, ce4wpDashboardStartCallback, ce4wpDashboardFinishCallback)">
|
20 |
+
<div class="ce4wp-grid-item-card ce4wp-mb-4">
|
21 |
+
<div class="ce4wp-grid-item-card-media" title="WooCommerce emails" style="background-image: url(<?php echo CE4WP_PLUGIN_URL . 'assets/images/tile-img-woocommerce.svg'; ?>);"></div>
|
22 |
+
<div class="ce4wp-grid-item-card-content-root">
|
23 |
+
<h4 class="ce4wp-typography-root ce4wp-typography-h4"><?= __( 'WooCommerce emails', 'ce4wp'); ?></h4>
|
24 |
+
<p class="ce4wp-pt-2 ce4wp-typography-root ce4wp-body2"><?= __( 'Spice up your transactional WooCommerce store emails.', 'ce4wp'); ?></p>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
</div>
|
28 |
+
<div class="ce4wp-grid-item" onclick="ce4wpNavigateToDashboard(this, 'd5baea05-c603-4cca-852e-f8e82414f6b0', { source: 'ce4wp_dashboard' }, ce4wpDashboardStartCallback, ce4wpDashboardFinishCallback)">
|
29 |
+
<div class="ce4wp-grid-item-card ce4wp-mb-4">
|
30 |
+
<div class="ce4wp-grid-item-card-media" title="Email Automations" style="background-image: url(<?php echo CE4WP_PLUGIN_URL . 'assets/images/tile-img-automations.svg'; ?>);"></div>
|
31 |
+
<div class="ce4wp-grid-item-card-content-root">
|
32 |
+
<h4 class="ce4wp-typography-root ce4wp-typography-h4"><?= __( 'Email Automations', 'ce4wp'); ?></h4>
|
33 |
+
<p class="ce4wp-pt-2 ce4wp-typography-root ce4wp-body2"><?= __( 'Engage your audience without lifting a finger.', 'ce4wp'); ?></p>
|
34 |
+
</div>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
<div class="ce4wp-grid-item" onclick="ce4wpNavigateToDashboard(this, '836b20fc-9ff1-41b2-912b-a8646caf05a4', { source: 'ce4wp_dashboard' }, ce4wpDashboardStartCallback, ce4wpDashboardFinishCallback)">
|
38 |
+
<div class="ce4wp-grid-item-card ce4wp-mb-4">
|
39 |
+
<div class="ce4wp-grid-item-card-media" title="Contact Management" style="background-image: url(<?php echo CE4WP_PLUGIN_URL . 'assets/images/tile-img-contactmanagement.svg'; ?>);"></div>
|
40 |
+
<div class="ce4wp-grid-item-card-content-root">
|
41 |
+
<h4 class="ce4wp-typography-root ce4wp-typography-h4"><?= __( 'Contact Management', 'ce4wp'); ?></h4>
|
42 |
+
<p class="ce4wp-pt-2 ce4wp-typography-root ce4wp-body2"><?= __( 'Manage your contacts and email lists, all in one place.', 'ce4wp'); ?></p>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
</div>
|
src/views/dashboard.php
CHANGED
@@ -11,61 +11,20 @@
|
|
11 |
<img src="<?php echo CE4WP_PLUGIN_URL . 'assets/images/airplane.svg'; ?>" class="ce4wp-airplane" alt="Paper airplane decoration">
|
12 |
</div>
|
13 |
</div>
|
14 |
-
|
15 |
<div class="ce4wp-card">
|
16 |
<div class="ce4wp-px-4 ce4wp-pt-4">
|
17 |
<h1 class="ce4wp-typography-root ce4wp-typography-h1 ce4wp-inline-block ce4wp-mb-3">
|
18 |
<?= __( 'Intelligent email marketing for', 'ce4wp'); ?><br><?= __( 'WordPress and WooCommerce', 'ce4wp'); ?>
|
19 |
</h1>
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
</span>
|
30 |
-
</span>
|
31 |
-
<span class="ce4wp-button-label ce4wp-show-on-mobile" style="width: 100%;"><?= __( 'Open Creative Mail dashboard', 'ce4wp'); ?>
|
32 |
-
</span>
|
33 |
-
</a>
|
34 |
-
<h6 id='ce4wp-sub-apps-title' class="ce4wp-typography-root ce4wp-typography-h6 ce4wp-mt-4 ce4wp-mb-3">
|
35 |
-
<?= __( 'Or jump straight into:', 'ce4wp'); ?>
|
36 |
-
</h6>
|
37 |
-
<div id='ce4wp-sub-apps-container' class="ce4wp-grid ce4wp-mt-3">
|
38 |
-
<div class="ce4wp-grid-item" onclick="ce4wpNavigateToDashboard(this, '1fabdbe2-95ed-4e1e-a2f3-ba0278f5096f', { source: 'ce4wp_dashboard' }, ce4wpDashboardStartCallback, ce4wpDashboardFinishCallback)">
|
39 |
-
<div class="ce4wp-grid-item-card ce4wp-mb-4">
|
40 |
-
<div class="ce4wp-grid-item-card-media" title="WooCommerce emails" style="background-image: url(<?php echo CE4WP_PLUGIN_URL . 'assets/images/tile-img-woocommerce.svg'; ?>);"></div>
|
41 |
-
<div class="ce4wp-grid-item-card-content-root">
|
42 |
-
<h4 class="ce4wp-typography-root ce4wp-typography-h4"><?= __( 'WooCommerce emails', 'ce4wp'); ?></h4>
|
43 |
-
<p class="ce4wp-pt-2 ce4wp-typography-root ce4wp-body2"><?= __( 'Spice up your transactional WooCommerce store emails.', 'ce4wp'); ?></p>
|
44 |
-
</div>
|
45 |
-
</div>
|
46 |
-
</div>
|
47 |
-
<div class="ce4wp-grid-item" onclick="ce4wpNavigateToDashboard(this, 'd5baea05-c603-4cca-852e-f8e82414f6b0', { source: 'ce4wp_dashboard' }, ce4wpDashboardStartCallback, ce4wpDashboardFinishCallback)">
|
48 |
-
<div class="ce4wp-grid-item-card ce4wp-mb-4">
|
49 |
-
<div class="ce4wp-grid-item-card-media" title="Email Automations" style="background-image: url(<?php echo CE4WP_PLUGIN_URL . 'assets/images/tile-img-automations.svg'; ?>);"></div>
|
50 |
-
<div class="ce4wp-grid-item-card-content-root">
|
51 |
-
<h4 class="ce4wp-typography-root ce4wp-typography-h4"><?= __( 'Email Automations', 'ce4wp'); ?></h4>
|
52 |
-
<p class="ce4wp-pt-2 ce4wp-typography-root ce4wp-body2"><?= __( 'Engage your audience without lifting a finger.', 'ce4wp'); ?></p>
|
53 |
-
</div>
|
54 |
-
</div>
|
55 |
-
</div>
|
56 |
-
<div class="ce4wp-grid-item" onclick="ce4wpNavigateToDashboard(this, '836b20fc-9ff1-41b2-912b-a8646caf05a4', { source: 'ce4wp_dashboard' }, ce4wpDashboardStartCallback, ce4wpDashboardFinishCallback)">
|
57 |
-
<div class="ce4wp-grid-item-card ce4wp-mb-4">
|
58 |
-
<div class="ce4wp-grid-item-card-media" title="Contact Management" style="background-image: url(<?php echo CE4WP_PLUGIN_URL . 'assets/images/tile-img-contactmanagement.svg'; ?>);"></div>
|
59 |
-
<div class="ce4wp-grid-item-card-content-root">
|
60 |
-
<h4 class="ce4wp-typography-root ce4wp-typography-h4"><?= __( 'Contact Management', 'ce4wp'); ?></h4>
|
61 |
-
<p class="ce4wp-pt-2 ce4wp-typography-root ce4wp-body2"><?= __( 'Manage your contacts and email lists, all in one place.', 'ce4wp'); ?></p>
|
62 |
-
</div>
|
63 |
-
</div>
|
64 |
-
</div>
|
65 |
-
</div>
|
66 |
-
</div>
|
67 |
-
|
68 |
-
<div id="ce4wpskeleton" style="display: none;">
|
69 |
<div class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-mt-2 skeleton-pulse" style="width: 300px; color: #8C8C8C;">
|
70 |
<span class="ce4wp-button-label" style="width: 100%;"><?= __( 'Loading your account...', 'ce4wp'); ?></span>
|
71 |
</div>
|
11 |
<img src="<?php echo CE4WP_PLUGIN_URL . 'assets/images/airplane.svg'; ?>" class="ce4wp-airplane" alt="Paper airplane decoration">
|
12 |
</div>
|
13 |
</div>
|
|
|
14 |
<div class="ce4wp-card">
|
15 |
<div class="ce4wp-px-4 ce4wp-pt-4">
|
16 |
<h1 class="ce4wp-typography-root ce4wp-typography-h1 ce4wp-inline-block ce4wp-mb-3">
|
17 |
<?= __( 'Intelligent email marketing for', 'ce4wp'); ?><br><?= __( 'WordPress and WooCommerce', 'ce4wp'); ?>
|
18 |
</h1>
|
19 |
+
<?php
|
20 |
+
if (in_array('password-protected/password-protected.php', apply_filters('active_plugins', get_option('active_plugins'))) && (bool) get_option( 'password_protected_status' ) ) {
|
21 |
+
include 'password-protected-notice.php';
|
22 |
+
}
|
23 |
+
else {
|
24 |
+
include 'dashboard-open-creative-mail.php';
|
25 |
+
}
|
26 |
+
?>
|
27 |
+
<div id="ce4wpskeleton" style="display: none;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
<div class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-mt-2 skeleton-pulse" style="width: 300px; color: #8C8C8C;">
|
29 |
<span class="ce4wp-button-label" style="width: 100%;"><?= __( 'Loading your account...', 'ce4wp'); ?></span>
|
30 |
</div>
|
src/views/onboarding-content.php
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<h6 class="ce4wp-typography-root ce4wp-typography-h6 ce4wp-mt-4 ce4wp-mb-2">
|
2 |
+
<?= __('With Creative Mail your blog posts, store promotions, announcements, event updates and more can be delivered straight into the inbox of your customers and prospects.', 'ce4wp') ?>
|
3 |
+
</h6>
|
4 |
+
<h6 class="ce4wp-typography-root ce4wp-typography-h6 ce4wp-mt-4 ce4wp-mb-2">
|
5 |
+
<?= __('The fine print:', 'ce4wp') ?>
|
6 |
+
</h6>
|
7 |
+
<ul class="ce4wp-list-root pb-4 ce4wp-list-padding">
|
8 |
+
<li class="ce4wp-list-item-root" style="max-width: 550px;">
|
9 |
+
<div class="ce4wp-list-item-icon-root ce4wp-pr-3 ce4wp-mt-2">
|
10 |
+
<svg class="ce4wp-svg-icon-root ce4wp-svg-icon-color" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
|
11 |
+
<path d="M4.75 8.12891L12.6953 0.183594L13.75 1.23828L4.75 10.2383L0.566406 6.05469L1.62109 5L4.75 8.12891Z" fill="#7A5CBD"/>
|
12 |
+
</svg>
|
13 |
+
</div>
|
14 |
+
<div class="ce4wp-list-item-text-root ce4wp-d-flex ce4wp-flex-column ce4wp-m-0">
|
15 |
+
<p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
|
16 |
+
<?= __('By using Creative Mail you’ll share basic information about your site (including your site name and URL) with Constant Contact so that we can retrieve your blog posts, media files and store products for use in your emails;', 'ce4wp') ?>
|
17 |
+
</p>
|
18 |
+
</div>
|
19 |
+
</li>
|
20 |
+
<li class="ce4wp-list-item-root" style="max-width: 550px;">
|
21 |
+
<div class="ce4wp-list-item-icon-root ce4wp-pr-3 ce4wp-mt-2">
|
22 |
+
<svg class="ce4wp-svg-icon-root ce4wp-svg-icon-color" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
|
23 |
+
<path d="M4.75 8.12891L12.6953 0.183594L13.75 1.23828L4.75 10.2383L0.566406 6.05469L1.62109 5L4.75 8.12891Z" fill="#7A5CBD"/>
|
24 |
+
</svg>
|
25 |
+
</div>
|
26 |
+
<div class="ce4wp-list-item-text-root ce4wp-d-flex ce4wp-flex-column ce4wp-m-0">
|
27 |
+
<p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
|
28 |
+
<?= __('Creative Mail uses tools, including cookies, to improve the performance and experience of the product. For more information you can read our', 'ce4wp') ?> <a href="https://www.endurance.com/privacy/privacy" target="_blank"><?= __('privacy notice', 'ce4wp') ?></a>.
|
29 |
+
</p>
|
30 |
+
</div>
|
31 |
+
</li>
|
32 |
+
</ul>
|
33 |
+
<a id='ce4wp-go-button'
|
34 |
+
target="_blank"
|
35 |
+
class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-button-contained-primary ce4wp-mb-4 ce4wp-mt-2"
|
36 |
+
tabindex="0"
|
37 |
+
type="button"
|
38 |
+
data-element-type="button"
|
39 |
+
onclick="ce4wpNavigateToDashboard(this, undefined, { source: 'onboarding' }, ce4wpWidgetStartCallback, ce4wpWidgetFinishCallback)">
|
40 |
+
<span class="ce4wp-button-label" style="width: 100%;">
|
41 |
+
<?= __('I Agree and let\'s get started!', 'ce4wp') ?><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>
|
44 |
+
</svg>
|
45 |
+
</span>
|
46 |
+
</span>
|
47 |
+
</a>
|
src/views/onboarding.php
CHANGED
@@ -11,59 +11,19 @@
|
|
11 |
<img src="<?php echo CE4WP_PLUGIN_URL . 'assets/images/airplane.svg'; ?>" class="ce4wp-airplane" alt="Paper airplane decoration">
|
12 |
</div>
|
13 |
</div>
|
14 |
-
|
15 |
<div class="ce4wp-card">
|
16 |
<div class="ce4wp-px-4 ce4wp-pt-4">
|
17 |
<h1 class="ce4wp-typography-root ce4wp-typography-h1">
|
18 |
<?= __( 'Intelligent email marketing for', 'ce4wp') ?><br /><?= __( 'WordPress and WooCommerce', 'ce4wp') ?>
|
19 |
</h1>
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
<div class="ce4wp-list-item-icon-root ce4wp-pr-3 ce4wp-mt-2">
|
29 |
-
<svg class="ce4wp-svg-icon-root ce4wp-svg-icon-color" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
|
30 |
-
<path d="M4.75 8.12891L12.6953 0.183594L13.75 1.23828L4.75 10.2383L0.566406 6.05469L1.62109 5L4.75 8.12891Z" fill="#7A5CBD"/>
|
31 |
-
</svg>
|
32 |
-
</div>
|
33 |
-
<div class="ce4wp-list-item-text-root ce4wp-d-flex ce4wp-flex-column ce4wp-m-0">
|
34 |
-
<p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
|
35 |
-
<?= __('By using Creative Mail you’ll share basic information about your site (including your site name and URL) with Constant Contact so that we can retrieve your blog posts, media files and store products for use in your emails;', 'ce4wp') ?>
|
36 |
-
</p>
|
37 |
-
</div>
|
38 |
-
</li>
|
39 |
-
<li class="ce4wp-list-item-root" style="max-width: 550px;">
|
40 |
-
<div class="ce4wp-list-item-icon-root ce4wp-pr-3 ce4wp-mt-2">
|
41 |
-
<svg class="ce4wp-svg-icon-root ce4wp-svg-icon-color" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
|
42 |
-
<path d="M4.75 8.12891L12.6953 0.183594L13.75 1.23828L4.75 10.2383L0.566406 6.05469L1.62109 5L4.75 8.12891Z" fill="#7A5CBD"/>
|
43 |
-
</svg>
|
44 |
-
</div>
|
45 |
-
<div class="ce4wp-list-item-text-root ce4wp-d-flex ce4wp-flex-column ce4wp-m-0">
|
46 |
-
<p class="ce4wp-typography-root ce4wp-body2" style="color: rgba(0, 0, 0, 0.6);">
|
47 |
-
<?= __('Creative Mail uses tools, including cookies, to improve the performance and experience of the product. For more information you can read our', 'ce4wp') ?> <a href="https://www.endurance.com/privacy/privacy" target="_blank"><?= __('privacy notice', 'ce4wp') ?></a>.
|
48 |
-
</p>
|
49 |
-
</div>
|
50 |
-
</li>
|
51 |
-
</ul>
|
52 |
-
<a id='ce4wp-go-button'
|
53 |
-
target="_blank"
|
54 |
-
class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-button-contained-primary ce4wp-mb-4 ce4wp-mt-2"
|
55 |
-
tabindex="0"
|
56 |
-
type="button"
|
57 |
-
data-element-type="button"
|
58 |
-
onclick="ce4wpNavigateToDashboard(this, undefined, { source: 'onboarding' }, ce4wpWidgetStartCallback, ce4wpWidgetFinishCallback)">
|
59 |
-
<span class="ce4wp-button-label" style="width: 100%;">
|
60 |
-
<?= __('I Agree and let\'s get started!', 'ce4wp') ?><span class="ce4wp-button-endIcon">
|
61 |
-
<svg class="ce4wp-Svgicon-root" focusable="false" viewBox="0 0 24 24" aria-hidden="true">
|
62 |
-
<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>
|
63 |
-
</svg>
|
64 |
-
</span>
|
65 |
-
</span>
|
66 |
-
</a>
|
67 |
</div>
|
68 |
</div>
|
69 |
</div>
|
11 |
<img src="<?php echo CE4WP_PLUGIN_URL . 'assets/images/airplane.svg'; ?>" class="ce4wp-airplane" alt="Paper airplane decoration">
|
12 |
</div>
|
13 |
</div>
|
|
|
14 |
<div class="ce4wp-card">
|
15 |
<div class="ce4wp-px-4 ce4wp-pt-4">
|
16 |
<h1 class="ce4wp-typography-root ce4wp-typography-h1">
|
17 |
<?= __( 'Intelligent email marketing for', 'ce4wp') ?><br /><?= __( 'WordPress and WooCommerce', 'ce4wp') ?>
|
18 |
</h1>
|
19 |
+
<?php
|
20 |
+
if (in_array('password-protected/password-protected.php', apply_filters('active_plugins', get_option('active_plugins'))) && (bool) get_option( 'password_protected_status' ) ) {
|
21 |
+
include 'password-protected-notice.php';
|
22 |
+
}
|
23 |
+
else {
|
24 |
+
include 'onboarding-content.php';
|
25 |
+
}
|
26 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
</div>
|
28 |
</div>
|
29 |
</div>
|
src/views/password-protected-notice.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<p class="ce4wp-typography-root ce4wp-typography-h6 ce4wp-mt-4 ce4wp-mb-4">
|
2 |
+
<?= __( 'With Creative Mail your blog posts, store promotions, announcements, event updates and more can be delivered straight into the inbox of your customers and prospects.', 'ce4wp'); ?>
|
3 |
+
</p>
|
4 |
+
<img src="<?php echo CE4WP_PLUGIN_URL . 'assets/images/airplane-folding.png'; ?>" height=100 class="ce4wp-airplane-folding" alt="Paper airplane decoration">
|
5 |
+
<p class="ce4wp-typography-root ce4wp-typography-h6 ce4wp-mt-4 ce4wp-mb-4">
|
6 |
+
<?= __( 'We see that you’re using the Password Protected plugin. Creative Mail needs to interact with your WordPress site but this plugin makes that impossible.', 'ce4wp'); ?>
|
7 |
+
</p>
|
8 |
+
<p class="ce4wp-typography-root ce4wp-typography-h6-darker ce4wp-mt-4 ce4wp-mb-4">
|
9 |
+
<?= __( 'Please disable the Password Protected plugin to start using CreativeMail.', 'ce4wp'); ?>
|
10 |
+
</p>
|
11 |
+
<a class="ce4wp-button-base-root ce4wp-button-root ce4wp-button-contained ce4wp-button-contained-orange" href='plugins.php' ><?= __( 'Go to Plugin Settings', 'ce4wp' ); ?></a>
|
12 |
+
|
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 ComposerAutoloaderInit3bd42710fc65484e098479b31e8e3f23::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 ComposerAutoloaderInit204d404df41fe1719a6cd0bb839f55cd
|
|
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 ComposerAutoloaderInit3bd42710fc65484e098479b31e8e3f23
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit3bd42710fc65484e098479b31e8e3f23', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit3bd42710fc65484e098479b31e8e3f23', '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\ComposerStaticInit3bd42710fc65484e098479b31e8e3f23::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' =>
|
@@ -159,10 +159,10 @@ class ComposerStaticInit204d404df41fe1719a6cd0bb839f55cd
|
|
159 |
public static function getInitializer(ClassLoader $loader)
|
160 |
{
|
161 |
return \Closure::bind(function () use ($loader) {
|
162 |
-
$loader->prefixLengthsPsr4 =
|
163 |
-
$loader->prefixDirsPsr4 =
|
164 |
-
$loader->prefixesPsr0 =
|
165 |
-
$loader->classMap =
|
166 |
|
167 |
}, null, ClassLoader::class);
|
168 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit3bd42710fc65484e098479b31e8e3f23
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'F' =>
|
159 |
public static function getInitializer(ClassLoader $loader)
|
160 |
{
|
161 |
return \Closure::bind(function () use ($loader) {
|
162 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit3bd42710fc65484e098479b31e8e3f23::$prefixLengthsPsr4;
|
163 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit3bd42710fc65484e098479b31e8e3f23::$prefixDirsPsr4;
|
164 |
+
$loader->prefixesPsr0 = ComposerStaticInit3bd42710fc65484e098479b31e8e3f23::$prefixesPsr0;
|
165 |
+
$loader->classMap = ComposerStaticInit3bd42710fc65484e098479b31e8e3f23::$classMap;
|
166 |
|
167 |
}, null, ClassLoader::class);
|
168 |
}
|