Version Description
Download this release
Release Info
Developer | eherman24 |
Plugin | Easy Forms for MailChimp |
Version | 6.0.5.3 |
Comparing to | |
See all releases |
Code changes from version 6.0.5.2 to 6.0.5.3
- admin/partials/ajax/class.ajax.php +3 -3
- admin/partials/dashboard-widgets/class.list-activity-widget.php +6 -5
- admin/partials/edit-form.php +4 -6
- admin/partials/menu/account-details.php +9 -8
- admin/partials/menu/lists.php +4 -4
- admin/partials/menu/manage-forms.php +3 -3
- admin/partials/menu/manage-lists.php +3 -3
- admin/partials/menu/options-sections/integration-settings.php +3 -3
- includes/class-yikes-inc-easy-mailchimp-extender.php +1 -1
- includes/error_log/yikes-easy-mailchimp-error-log.php +0 -217
- public/partials/shortcodes/process/process_form_submission_ajax.php +6 -4
- readme.txt +1 -9
- yikes-inc-easy-mailchimp-extender.php +1 -1
admin/partials/ajax/class.ajax.php
CHANGED
@@ -104,10 +104,10 @@
|
|
104 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
105 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $interest_groupings['error'], __( "Get Interest Groups" , 'yikes-inc-easy-mailchimp-extender' ), "class.ajax.php" );
|
106 |
}
|
107 |
-
|
|
|
|
|
108 |
}
|
109 |
-
// set the transient for 2 hours
|
110 |
-
set_transient( $list_id . '_interest_group', $interest_groupings, 2 * HOUR_IN_SECONDS );
|
111 |
}
|
112 |
if( isset( $interest_groupings ) && ! empty( $interest_groupings ) ) {
|
113 |
require( YIKES_MC_PATH . 'admin/partials/menu/options-sections/templates/integration-interest-groups.php' );
|
104 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
105 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $interest_groupings['error'], __( "Get Interest Groups" , 'yikes-inc-easy-mailchimp-extender' ), "class.ajax.php" );
|
106 |
}
|
107 |
+
} else {
|
108 |
+
// set the transient for 2 hours
|
109 |
+
set_transient( $list_id . '_interest_group', $interest_groupings, 2 * HOUR_IN_SECONDS );
|
110 |
}
|
|
|
|
|
111 |
}
|
112 |
if( isset( $interest_groupings ) && ! empty( $interest_groupings ) ) {
|
113 |
require( YIKES_MC_PATH . 'admin/partials/menu/options-sections/templates/integration-interest-groups.php' );
|
admin/partials/dashboard-widgets/class.list-activity-widget.php
CHANGED
@@ -80,9 +80,10 @@
|
|
80 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
81 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Dashboard Activity Widget" );
|
82 |
}
|
|
|
|
|
|
|
83 |
}
|
84 |
-
// set our transient
|
85 |
-
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
86 |
}
|
87 |
?>
|
88 |
<!-- Dropdown to Change the list -->
|
@@ -139,10 +140,10 @@
|
|
139 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
140 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $account_activity['error'], __( "Get Account Activity" , 'yikes-inc-easy-mailchimp-extender' ), "Dashboard Activity Widget" );
|
141 |
}
|
142 |
-
|
|
|
|
|
143 |
}
|
144 |
-
// set our transient for one hour
|
145 |
-
set_transient( 'yikes-easy-mailchimp-account-activity', $account_activity, 1 * HOUR_IN_SECONDS );
|
146 |
}
|
147 |
if( ! empty( $account_activity ) ) {
|
148 |
include_once( YIKES_MC_PATH . 'admin/partials/dashboard-widgets/templates/account-activity-template.php' );
|
80 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
81 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Dashboard Activity Widget" );
|
82 |
}
|
83 |
+
} else {
|
84 |
+
// set our transient
|
85 |
+
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
86 |
}
|
|
|
|
|
87 |
}
|
88 |
?>
|
89 |
<!-- Dropdown to Change the list -->
|
140 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
141 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $account_activity['error'], __( "Get Account Activity" , 'yikes-inc-easy-mailchimp-extender' ), "Dashboard Activity Widget" );
|
142 |
}
|
143 |
+
} else {
|
144 |
+
// set our transient for one hour
|
145 |
+
set_transient( 'yikes-easy-mailchimp-account-activity', $account_activity, 1 * HOUR_IN_SECONDS );
|
146 |
}
|
|
|
|
|
147 |
}
|
148 |
if( ! empty( $account_activity ) ) {
|
149 |
include_once( YIKES_MC_PATH . 'admin/partials/dashboard-widgets/templates/account-activity-template.php' );
|
admin/partials/edit-form.php
CHANGED
@@ -82,10 +82,10 @@
|
|
82 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
83 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Edit Form Page" );
|
84 |
}
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
}
|
90 |
|
91 |
// get the list data
|
@@ -107,7 +107,6 @@
|
|
107 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
108 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $available_merge_variables['error'], __( "Get Merge Variables" , 'yikes-inc-easy-mailchimp-extender' ), "Edit Form Page" );
|
109 |
}
|
110 |
-
return;
|
111 |
}
|
112 |
|
113 |
// get the interest group data
|
@@ -129,7 +128,6 @@
|
|
129 |
require_once YIKES_MC_PATH . 'includes/error_log/class-yikes-inc-easy-mailchimp-error-logging.php';
|
130 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
131 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $interest_groupings['error'], __( "Get Interest Groups" , 'yikes-inc-easy-mailchimp-extender' ), "Edit Form Page" );
|
132 |
-
return;
|
133 |
}
|
134 |
}
|
135 |
|
82 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
83 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Edit Form Page" );
|
84 |
}
|
85 |
+
} else {
|
86 |
+
// set our transient
|
87 |
+
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
88 |
+
}
|
89 |
}
|
90 |
|
91 |
// get the list data
|
107 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
108 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $available_merge_variables['error'], __( "Get Merge Variables" , 'yikes-inc-easy-mailchimp-extender' ), "Edit Form Page" );
|
109 |
}
|
|
|
110 |
}
|
111 |
|
112 |
// get the interest group data
|
128 |
require_once YIKES_MC_PATH . 'includes/error_log/class-yikes-inc-easy-mailchimp-error-logging.php';
|
129 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
130 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $interest_groupings['error'], __( "Get Interest Groups" , 'yikes-inc-easy-mailchimp-extender' ), "Edit Form Page" );
|
|
|
131 |
}
|
132 |
}
|
133 |
|
admin/partials/menu/account-details.php
CHANGED
@@ -24,9 +24,10 @@
|
|
24 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $profile_info['error'], __( "Get Profile Info." , 'yikes-inc-easy-mailchimp-extender' ), "Account Details Page" );
|
25 |
}
|
26 |
return;
|
|
|
|
|
|
|
27 |
}
|
28 |
-
// set our transient for one week
|
29 |
-
set_transient( 'yikes-easy-mailchimp-profile-data', $profile_info, 1 * WEEK_IN_SECONDS );
|
30 |
}
|
31 |
if ( false === ( $account_details = get_transient( 'yikes-easy-mailchimp-account-data' ) ) ) {
|
32 |
if( $dash_position !== false ) {
|
@@ -46,10 +47,10 @@
|
|
46 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
47 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $account_details['error'], __( "Get Account Details" , 'yikes-inc-easy-mailchimp-extender' ), "Account Details Page" );
|
48 |
}
|
49 |
-
|
|
|
|
|
50 |
}
|
51 |
-
// set our transient for one hour
|
52 |
-
set_transient( 'yikes-easy-mailchimp-account-data', $account_details, 1 * HOUR_IN_SECONDS );
|
53 |
}
|
54 |
if ( false === ( $account_activity = get_transient( 'yikes-easy-mailchimp-account-activity' ) ) ) {
|
55 |
// retreive our list data
|
@@ -70,10 +71,10 @@
|
|
70 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
71 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $account_activity['error'], __( "Get Chimp Chatter" , 'yikes-inc-easy-mailchimp-extender' ), "Account Details Page" );
|
72 |
}
|
73 |
-
|
|
|
|
|
74 |
}
|
75 |
-
// set our transient for one hour
|
76 |
-
set_transient( 'yikes-easy-mailchimp-account-activity', $account_activity, 1 * HOUR_IN_SECONDS );
|
77 |
}
|
78 |
} else {
|
79 |
wp_die( __( 'It looks like you need to re-validate your MailChimp API key before you can continue.' , 'yikes-inc-easy-mailchimp-extender' ) , 500 );
|
24 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $profile_info['error'], __( "Get Profile Info." , 'yikes-inc-easy-mailchimp-extender' ), "Account Details Page" );
|
25 |
}
|
26 |
return;
|
27 |
+
} else {
|
28 |
+
// set our transient for one week
|
29 |
+
set_transient( 'yikes-easy-mailchimp-profile-data', $profile_info, 1 * WEEK_IN_SECONDS );
|
30 |
}
|
|
|
|
|
31 |
}
|
32 |
if ( false === ( $account_details = get_transient( 'yikes-easy-mailchimp-account-data' ) ) ) {
|
33 |
if( $dash_position !== false ) {
|
47 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
48 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $account_details['error'], __( "Get Account Details" , 'yikes-inc-easy-mailchimp-extender' ), "Account Details Page" );
|
49 |
}
|
50 |
+
} else {
|
51 |
+
// set our transient for one hour
|
52 |
+
set_transient( 'yikes-easy-mailchimp-account-data', $account_details, 1 * HOUR_IN_SECONDS );
|
53 |
}
|
|
|
|
|
54 |
}
|
55 |
if ( false === ( $account_activity = get_transient( 'yikes-easy-mailchimp-account-activity' ) ) ) {
|
56 |
// retreive our list data
|
71 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
72 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $account_activity['error'], __( "Get Chimp Chatter" , 'yikes-inc-easy-mailchimp-extender' ), "Account Details Page" );
|
73 |
}
|
74 |
+
} else {
|
75 |
+
// set our transient for one hour
|
76 |
+
set_transient( 'yikes-easy-mailchimp-account-activity', $account_activity, 1 * HOUR_IN_SECONDS );
|
77 |
}
|
|
|
|
|
78 |
}
|
79 |
} else {
|
80 |
wp_die( __( 'It looks like you need to re-validate your MailChimp API key before you can continue.' , 'yikes-inc-easy-mailchimp-extender' ) , 500 );
|
admin/partials/menu/lists.php
CHANGED
@@ -23,10 +23,10 @@
|
|
23 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
24 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "View Lists Page" );
|
25 |
}
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
}
|
31 |
} else {
|
32 |
wp_die( __( 'It looks like you need to re-validate your MailChimp API key before you can continue.' , 'yikes-inc-easy-mailchimp-extender' ) , 500 );
|
23 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
24 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "View Lists Page" );
|
25 |
}
|
26 |
+
} else {
|
27 |
+
// set our transient
|
28 |
+
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
29 |
+
}
|
30 |
}
|
31 |
} else {
|
32 |
wp_die( __( 'It looks like you need to re-validate your MailChimp API key before you can continue.' , 'yikes-inc-easy-mailchimp-extender' ) , 500 );
|
admin/partials/menu/manage-forms.php
CHANGED
@@ -33,10 +33,10 @@
|
|
33 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
34 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Manage Forms Page" );
|
35 |
}
|
36 |
-
|
|
|
|
|
37 |
}
|
38 |
-
// set our transient
|
39 |
-
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
40 |
}
|
41 |
} else {
|
42 |
$list_data = null;
|
33 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
34 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Manage Forms Page" );
|
35 |
}
|
36 |
+
} else {
|
37 |
+
// set our transient
|
38 |
+
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
39 |
}
|
|
|
|
|
40 |
}
|
41 |
} else {
|
42 |
$list_data = null;
|
admin/partials/menu/manage-lists.php
CHANGED
@@ -23,10 +23,10 @@
|
|
23 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
24 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Manage Lists Page" );
|
25 |
}
|
26 |
-
|
|
|
|
|
27 |
}
|
28 |
-
// set our transient
|
29 |
-
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
30 |
}
|
31 |
}
|
32 |
?>
|
23 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
24 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Manage Lists Page" );
|
25 |
}
|
26 |
+
} else {
|
27 |
+
// set our transient
|
28 |
+
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
29 |
}
|
|
|
|
|
30 |
}
|
31 |
}
|
32 |
?>
|
admin/partials/menu/options-sections/integration-settings.php
CHANGED
@@ -104,10 +104,10 @@
|
|
104 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
105 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Integration Settings Page" );
|
106 |
}
|
107 |
-
|
|
|
|
|
108 |
}
|
109 |
-
// set our transient
|
110 |
-
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
111 |
}
|
112 |
} else {
|
113 |
?>
|
104 |
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
105 |
$error_logging->yikes_easy_mailchimp_write_to_error_log( $list_data['error'], __( "Get Account Lists" , 'yikes-inc-easy-mailchimp-extender' ), "Integration Settings Page" );
|
106 |
}
|
107 |
+
} else {
|
108 |
+
// set our transient
|
109 |
+
set_transient( 'yikes-easy-mailchimp-list-data', $list_data, 1 * HOUR_IN_SECONDS );
|
110 |
}
|
|
|
|
|
111 |
}
|
112 |
} else {
|
113 |
?>
|
includes/class-yikes-inc-easy-mailchimp-extender.php
CHANGED
@@ -62,7 +62,7 @@ class Yikes_Inc_Easy_Mailchimp_Extender {
|
|
62 |
*/
|
63 |
public function __construct() {
|
64 |
$this->yikes_inc_easy_mailchimp_extender = 'yikes-inc-easy-mailchimp-extender';
|
65 |
-
$this->version = '6.0.5.
|
66 |
$this->load_dependencies();
|
67 |
$this->define_admin_hooks();
|
68 |
$this->define_public_hooks();
|
62 |
*/
|
63 |
public function __construct() {
|
64 |
$this->yikes_inc_easy_mailchimp_extender = 'yikes-inc-easy-mailchimp-extender';
|
65 |
+
$this->version = '6.0.5.3';
|
66 |
$this->load_dependencies();
|
67 |
$this->define_admin_hooks();
|
68 |
$this->define_public_hooks();
|
includes/error_log/yikes-easy-mailchimp-error-log.php
CHANGED
@@ -1,217 +0,0 @@
|
|
1 |
-
<tr>
|
2 |
-
<td class="row-title">
|
3 |
-
<label for="tablecell">
|
4 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
5 |
-
</label>
|
6 |
-
</td>
|
7 |
-
<td>
|
8 |
-
Page: process_form_submission_ajax.php || Type: Subscribe New User || Time: March 11, 2016 4:50 pm </td>
|
9 |
-
</tr>
|
10 |
-
<tr>
|
11 |
-
<td class="row-title">
|
12 |
-
<label for="tablecell">
|
13 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
14 |
-
</label>
|
15 |
-
</td>
|
16 |
-
<td>
|
17 |
-
Page: process_form_submission_ajax.php || Type: Subscribe New User || Time: March 11, 2016 4:49 pm </td>
|
18 |
-
</tr>
|
19 |
-
<tr>
|
20 |
-
<td class="row-title">
|
21 |
-
<label for="tablecell">
|
22 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
23 |
-
</label>
|
24 |
-
</td>
|
25 |
-
<td>
|
26 |
-
Page: process_form_submission.php || Type: Subscribe New User || Time: March 11, 2016 4:49 pm </td>
|
27 |
-
</tr>
|
28 |
-
<tr>
|
29 |
-
<td class="row-title">
|
30 |
-
<label for="tablecell">
|
31 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
32 |
-
</label>
|
33 |
-
</td>
|
34 |
-
<td>
|
35 |
-
Page: process_form_submission.php || Type: Subscribe New User || Time: March 11, 2016 4:49 pm </td>
|
36 |
-
</tr>
|
37 |
-
<tr>
|
38 |
-
<td class="row-title">
|
39 |
-
<label for="tablecell">
|
40 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
41 |
-
</label>
|
42 |
-
</td>
|
43 |
-
<td>
|
44 |
-
Page: process_form_submission.php || Type: Subscribe New User || Time: March 11, 2016 4:48 pm </td>
|
45 |
-
</tr>
|
46 |
-
<tr>
|
47 |
-
<td class="row-title">
|
48 |
-
<label for="tablecell">
|
49 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
50 |
-
</label>
|
51 |
-
</td>
|
52 |
-
<td>
|
53 |
-
Page: process_form_submission.php || Type: Subscribe New User || Time: March 11, 2016 4:48 pm </td>
|
54 |
-
</tr>
|
55 |
-
<tr>
|
56 |
-
<td class="row-title">
|
57 |
-
<label for="tablecell">
|
58 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
59 |
-
</label>
|
60 |
-
</td>
|
61 |
-
<td>
|
62 |
-
Page: process_form_submission.php || Type: Subscribe New User || Time: March 11, 2016 4:48 pm </td>
|
63 |
-
</tr>
|
64 |
-
<tr>
|
65 |
-
<td class="row-title">
|
66 |
-
<label for="tablecell">
|
67 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
68 |
-
</label>
|
69 |
-
</td>
|
70 |
-
<td>
|
71 |
-
Page: process_form_submission.php || Type: Subscribe New User || Time: March 11, 2016 4:47 pm </td>
|
72 |
-
</tr>
|
73 |
-
<tr>
|
74 |
-
<td class="row-title">
|
75 |
-
<label for="tablecell">
|
76 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
77 |
-
</label>
|
78 |
-
</td>
|
79 |
-
<td>
|
80 |
-
Page: process_form_submission.php || Type: Subscribe New User || Time: March 11, 2016 4:45 pm </td>
|
81 |
-
</tr>
|
82 |
-
<tr>
|
83 |
-
<td class="row-title">
|
84 |
-
<label for="tablecell">
|
85 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
86 |
-
</label>
|
87 |
-
</td>
|
88 |
-
<td>
|
89 |
-
Page: process_form_submission_ajax.php || Type: Subscribe New User || Time: March 11, 2016 4:44 pm </td>
|
90 |
-
</tr>
|
91 |
-
<tr>
|
92 |
-
<td class="row-title">
|
93 |
-
<label for="tablecell">
|
94 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
95 |
-
</label>
|
96 |
-
</td>
|
97 |
-
<td>
|
98 |
-
Page: process_form_submission_ajax.php || Type: Subscribe New User || Time: March 11, 2016 4:43 pm </td>
|
99 |
-
</tr>
|
100 |
-
<tr>
|
101 |
-
<td class="row-title">
|
102 |
-
<label for="tablecell">
|
103 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
104 |
-
</label>
|
105 |
-
</td>
|
106 |
-
<td>
|
107 |
-
Page: process_form_submission_ajax.php || Type: Subscribe New User || Time: March 11, 2016 4:43 pm </td>
|
108 |
-
</tr>
|
109 |
-
<tr>
|
110 |
-
<td class="row-title">
|
111 |
-
<label for="tablecell">
|
112 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
113 |
-
</label>
|
114 |
-
</td>
|
115 |
-
<td>
|
116 |
-
Page: process_form_submission_ajax.php || Type: Subscribe New User || Time: March 11, 2016 4:42 pm </td>
|
117 |
-
</tr>
|
118 |
-
<tr>
|
119 |
-
<td class="row-title">
|
120 |
-
<label for="tablecell">
|
121 |
-
<em>The Email Parameter Should Include An Email, Euid, Or Leid Key</em>
|
122 |
-
</label>
|
123 |
-
</td>
|
124 |
-
<td>
|
125 |
-
Page: process_form_submission_ajax.php || Type: Subscribe New User || Time: March 11, 2016 4:34 pm </td>
|
126 |
-
</tr>
|
127 |
-
<tr>
|
128 |
-
<td class="row-title">
|
129 |
-
<label for="tablecell">
|
130 |
-
<em>You Must Specify A Apikey Value</em>
|
131 |
-
</label>
|
132 |
-
</td>
|
133 |
-
<td>
|
134 |
-
Page: Add Interest Group to Form || Type: Get Interest Groups || Time: March 11, 2016 11:20 am </td>
|
135 |
-
</tr>
|
136 |
-
<tr>
|
137 |
-
<td class="row-title">
|
138 |
-
<label for="tablecell">
|
139 |
-
<em>You Must Specify A Apikey Value</em>
|
140 |
-
</label>
|
141 |
-
</td>
|
142 |
-
<td>
|
143 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 11:20 am </td>
|
144 |
-
</tr>
|
145 |
-
<tr>
|
146 |
-
<td class="row-title">
|
147 |
-
<label for="tablecell">
|
148 |
-
<em>You Must Specify A Apikey Value</em>
|
149 |
-
</label>
|
150 |
-
</td>
|
151 |
-
<td>
|
152 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 11:19 am </td>
|
153 |
-
</tr>
|
154 |
-
<tr>
|
155 |
-
<td class="row-title">
|
156 |
-
<label for="tablecell">
|
157 |
-
<em>You Must Specify A Apikey Value</em>
|
158 |
-
</label>
|
159 |
-
</td>
|
160 |
-
<td>
|
161 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 11:18 am </td>
|
162 |
-
</tr>
|
163 |
-
<tr>
|
164 |
-
<td class="row-title">
|
165 |
-
<label for="tablecell">
|
166 |
-
<em>You Must Specify A Apikey Value</em>
|
167 |
-
</label>
|
168 |
-
</td>
|
169 |
-
<td>
|
170 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 11:17 am </td>
|
171 |
-
</tr>
|
172 |
-
<tr>
|
173 |
-
<td class="row-title">
|
174 |
-
<label for="tablecell">
|
175 |
-
<em>You Must Specify A Apikey Value</em>
|
176 |
-
</label>
|
177 |
-
</td>
|
178 |
-
<td>
|
179 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 11:16 am </td>
|
180 |
-
</tr>
|
181 |
-
<tr>
|
182 |
-
<td class="row-title">
|
183 |
-
<label for="tablecell">
|
184 |
-
<em>You Must Specify A Apikey Value</em>
|
185 |
-
</label>
|
186 |
-
</td>
|
187 |
-
<td>
|
188 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 11:01 am </td>
|
189 |
-
</tr>
|
190 |
-
<tr>
|
191 |
-
<td class="row-title">
|
192 |
-
<label for="tablecell">
|
193 |
-
<em>You Must Specify A Apikey Value</em>
|
194 |
-
</label>
|
195 |
-
</td>
|
196 |
-
<td>
|
197 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 11:01 am </td>
|
198 |
-
</tr>
|
199 |
-
<tr>
|
200 |
-
<td class="row-title">
|
201 |
-
<label for="tablecell">
|
202 |
-
<em>You Must Specify A Apikey Value</em>
|
203 |
-
</label>
|
204 |
-
</td>
|
205 |
-
<td>
|
206 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 11:00 am </td>
|
207 |
-
</tr>
|
208 |
-
<tr>
|
209 |
-
<td class="row-title">
|
210 |
-
<label for="tablecell">
|
211 |
-
<em>You Must Specify A Apikey Value</em>
|
212 |
-
</label>
|
213 |
-
</td>
|
214 |
-
<td>
|
215 |
-
Page: Add Field to Form || Type: Get Merge Variables || Time: March 11, 2016 10:59 am </td>
|
216 |
-
</tr>
|
217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/partials/shortcodes/process/process_form_submission_ajax.php
CHANGED
@@ -192,10 +192,12 @@ if( isset( $merge_variables['error'] ) ) {
|
|
192 |
'sslverify' => apply_filters( 'yikes-mailchimp-sslverify', true ),
|
193 |
) );
|
194 |
$merge_variables = json_decode( wp_remote_retrieve_body( $merge_variables ), true );
|
195 |
-
if(
|
196 |
-
|
197 |
-
|
198 |
-
|
|
|
|
|
199 |
}
|
200 |
// re-store our data
|
201 |
$merge_variables = $merge_variables['data'][0]['merge_vars'];
|
192 |
'sslverify' => apply_filters( 'yikes-mailchimp-sslverify', true ),
|
193 |
) );
|
194 |
$merge_variables = json_decode( wp_remote_retrieve_body( $merge_variables ), true );
|
195 |
+
if( is_wp_error( $merge_variables ) || isset( $merge_variables['error'] ) ) {
|
196 |
+
if( WP_DEBUG || get_option( 'yikes-mailchimp-debug-status' , '' ) == '1' ) {
|
197 |
+
require_once YIKES_MC_PATH . 'includes/error_log/class-yikes-inc-easy-mailchimp-error-logging.php';
|
198 |
+
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging();
|
199 |
+
$error_logging->yikes_easy_mailchimp_write_to_error_log( $merge_variables['error'], __( "Get Merge Variables" , 'yikes-inc-easy-mailchimp-extender' ), "process_form_submission_ajax.php" );
|
200 |
+
}
|
201 |
}
|
202 |
// re-store our data
|
203 |
$merge_variables = $merge_variables['data'][0]['merge_vars'];
|
readme.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
=== Easy Forms for MailChimp ===
|
2 |
-
added `stripslashes()` to the following settings fields :
|
3 |
-
Updated readme FAQ section
|
4 |
-
added `stripslashes()` to the following settings fields :
|
5 |
-
Updated readme FAQ section
|
6 |
-
added `stripslashes()` to the following settings fields :
|
7 |
-
Updated readme FAQ section
|
8 |
-
added `stripslashes()` to the following settings fields :
|
9 |
-
Updated readme FAQ section
|
1 |
+
=== Easy Forms for MailChimp ===
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
yikes-inc-easy-mailchimp-extender.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Easy Forms for MailChimp by YIKES
|
4 |
* Plugin URI: http://www.yikesinc.com/services/yikes-inc-easy-mailchimp-extender/
|
5 |
* Description: YIKES Easy Forms for MailChimp links your site to MailChimp and allows you to generate and display mailing list opt-in forms anywhere on your site with ease.
|
6 |
-
* Version: 6.0.5.
|
7 |
* Author: YIKES
|
8 |
* Author URI: http://www.yikesinc.com/
|
9 |
* License: GPL-3.0+
|
3 |
* Plugin Name: Easy Forms for MailChimp by YIKES
|
4 |
* Plugin URI: http://www.yikesinc.com/services/yikes-inc-easy-mailchimp-extender/
|
5 |
* Description: YIKES Easy Forms for MailChimp links your site to MailChimp and allows you to generate and display mailing list opt-in forms anywhere on your site with ease.
|
6 |
+
* Version: 6.0.5.3
|
7 |
* Author: YIKES
|
8 |
* Author URI: http://www.yikesinc.com/
|
9 |
* License: GPL-3.0+
|