Version Description
- December 30, 2020 =
- Added 'yearRange' to jQuery UI Datepicker Options Thank you to @ptsteadman
Download this release
Release Info
Developer | jpowersdev |
Plugin | Easy Forms for MailChimp |
Version | 6.8.1 |
Comparing to | |
See all releases |
Code changes from version 6.8.0 to 6.8.1
- includes/images/MailChimp_Assets/Freddie_60px.png +0 -0
- includes/images/MailChimp_Assets/Freddie_original.png +0 -0
- includes/images/MailChimp_Assets/Freddie_wink_icon.png +0 -0
- includes/images/MailChimp_Assets/mailchimp-logo.png +0 -0
- includes/images/MailChimp_Assets/yikes-mailchimp-welcome-logo.png +0 -0
- public/js/yikes-datepicker-scripts.js +64 -63
- public/js/yikes-datepicker-scripts.min.js +1 -1
- readme.txt +11 -7
- yikes-inc-easy-mailchimp-extender.php +1 -1
includes/images/MailChimp_Assets/Freddie_60px.png
ADDED
Binary file
|
includes/images/MailChimp_Assets/Freddie_original.png
ADDED
Binary file
|
includes/images/MailChimp_Assets/Freddie_wink_icon.png
ADDED
Binary file
|
includes/images/MailChimp_Assets/mailchimp-logo.png
ADDED
Binary file
|
includes/images/MailChimp_Assets/yikes-mailchimp-welcome-logo.png
ADDED
Binary file
|
public/js/yikes-datepicker-scripts.js
CHANGED
@@ -1,78 +1,79 @@
|
|
1 |
-
(
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
26 |
|
27 |
-
|
28 |
-
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
|
34 |
-
|
35 |
-
|
36 |
|
37 |
-
|
38 |
-
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
|
49 |
-
|
50 |
-
|
51 |
|
52 |
-
|
53 |
-
|
54 |
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
|
59 |
-
|
60 |
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
})(
|
1 |
+
(function ($) {
|
2 |
|
3 |
+
function get_datepicker_options(date_format) {
|
4 |
+
return {
|
5 |
+
dateFormat: date_format,
|
6 |
+
isRTL: datepicker_settings.rtl,
|
7 |
+
dayNames: datepicker_settings.day_names,
|
8 |
+
dayNamesMin: datepicker_settings.day_names_min,
|
9 |
+
dayNamesShort: datepicker_settings.day_names_short,
|
10 |
+
monthNames: datepicker_settings.month_names,
|
11 |
+
monthNamesShort: datepicker_settings.month_names_short,
|
12 |
+
firstDay: datepicker_settings.first_day,
|
13 |
+
changeMonth: datepicker_settings.change_month,
|
14 |
+
changeYear: datepicker_settings.change_year,
|
15 |
+
yearRange: datepicker_settings.year_range,
|
16 |
+
minDate: datepicker_settings.min_date,
|
17 |
+
maxDate: datepicker_settings.max_date,
|
18 |
+
defaultDate: datepicker_settings.default_date,
|
19 |
+
numberOfMonths: typeof (datepicker_settings.number_of_months) === 'string' ? parseInt(datepicker_settings.number_of_months) : datepicker_settings.number_of_months, // works
|
20 |
+
showOtherMonths: datepicker_settings.show_other_months,
|
21 |
+
selectOtherMonths: datepicker_settings.select_other_months,
|
22 |
+
showAnim: datepicker_settings.show_anim,
|
23 |
+
showButtonPanel: datepicker_settings.show_button_panel,
|
24 |
+
beforeShowDay: typeof (yikes_mc_before_show_day) === 'function' ? yikes_mc_before_show_day : null
|
25 |
+
}
|
26 |
+
}
|
27 |
|
28 |
+
// Initialize the datepicker.
|
29 |
+
$(document).ready(function () {
|
30 |
|
31 |
+
// Date Fields.
|
32 |
+
$('body').on('focus', 'input[data-attr-type="date"]', function () {
|
33 |
+
const element = $(this);
|
34 |
|
35 |
+
// Handle conflicting IDs.
|
36 |
+
handle_conflicting_id_datepicker_hack(element, 'input[data-attr-type="date"]');
|
37 |
|
38 |
+
// Initialize the datepicker.
|
39 |
+
element.datepicker(get_datepicker_options(element.data('date-format').replace('yyyy', 'yy')));
|
40 |
|
41 |
+
// Show the year.
|
42 |
+
remove_datepicker_hide_year_class();
|
43 |
+
});
|
44 |
|
45 |
|
46 |
+
// Birthday Fields.
|
47 |
+
$('body').on('focus', 'input[data-attr-type="birthday"]', function () {
|
48 |
+
const element = $(this);
|
49 |
|
50 |
+
// Handle conflicting IDs.
|
51 |
+
handle_conflicting_id_datepicker_hack(element, 'input[data-attr-type="birthday"]');
|
52 |
|
53 |
+
// Initialize the datepicker.
|
54 |
+
element.datepicker(get_datepicker_options(element.data('date-format')));
|
55 |
|
56 |
+
// Hide the year (relies on some CSS in the yikes-datepicker-styles.css file).
|
57 |
+
add_datepicker_hide_year_class();
|
58 |
+
});
|
59 |
|
60 |
+
});
|
61 |
|
62 |
+
function handle_conflicting_id_datepicker_hack(element, elements_selector) {
|
63 |
+
$(elements_selector).each(function () {
|
64 |
+
if (this.id.length) {
|
65 |
+
$(this).data('id', this.id);
|
66 |
+
}
|
67 |
+
});
|
68 |
+
$(elements_selector).attr('id', '');
|
69 |
+
element.attr('id', element.data('id'));
|
70 |
+
}
|
71 |
|
72 |
+
function remove_datepicker_hide_year_class() {
|
73 |
+
$('#ui-datepicker-div').removeClass('yikes-datepicker-hide-year');
|
74 |
+
}
|
75 |
|
76 |
+
function add_datepicker_hide_year_class() {
|
77 |
+
$('#ui-datepicker-div').addClass('yikes-datepicker-hide-year');
|
78 |
+
}
|
79 |
+
})(jQuery);
|
public/js/yikes-datepicker-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(t){function e(t){return{dateFormat:t,isRTL:datepicker_settings.rtl,dayNames:datepicker_settings.day_names,dayNamesMin:datepicker_settings.day_names_min,dayNamesShort:datepicker_settings.day_names_short,monthNames:datepicker_settings.month_names,monthNamesShort:datepicker_settings.month_names_short,firstDay:datepicker_settings.first_day,changeMonth:datepicker_settings.change_month,changeYear:datepicker_settings.change_year,minDate:datepicker_settings.min_date,maxDate:datepicker_settings.max_date,defaultDate:datepicker_settings.default_date,numberOfMonths:"string"==typeof datepicker_settings.number_of_months?parseInt(datepicker_settings.number_of_months):datepicker_settings.number_of_months,showOtherMonths:datepicker_settings.show_other_months,selectOtherMonths:datepicker_settings.select_other_months,showAnim:datepicker_settings.show_anim,showButtonPanel:datepicker_settings.show_button_panel,beforeShowDay:"function"==typeof yikes_mc_before_show_day?yikes_mc_before_show_day:null}}function a(e,a){t(a).each(function(){this.id.length&&t(this).data("id",this.id)}),t(a).attr("id",""),e.attr("id",e.data("id"))}t(document).ready(function(){t("body").on("focus",'input[data-attr-type="date"]',function(){const s=t(this);a(s,'input[data-attr-type="date"]'),s.datepicker(e(s.data("date-format").replace("yyyy","yy"))),t("#ui-datepicker-div").removeClass("yikes-datepicker-hide-year")}),t("body").on("focus",'input[data-attr-type="birthday"]',function(){const s=t(this);a(s,'input[data-attr-type="birthday"]'),s.datepicker(e(s.data("date-format"))),t("#ui-datepicker-div").addClass("yikes-datepicker-hide-year")})})}(jQuery);
|
1 |
+
!function(t){function e(t){return{dateFormat:t,isRTL:datepicker_settings.rtl,dayNames:datepicker_settings.day_names,dayNamesMin:datepicker_settings.day_names_min,dayNamesShort:datepicker_settings.day_names_short,monthNames:datepicker_settings.month_names,monthNamesShort:datepicker_settings.month_names_short,firstDay:datepicker_settings.first_day,changeMonth:datepicker_settings.change_month,changeYear:datepicker_settings.change_year,yearRange:datepicker_settings.year_range,minDate:datepicker_settings.min_date,maxDate:datepicker_settings.max_date,defaultDate:datepicker_settings.default_date,numberOfMonths:"string"==typeof datepicker_settings.number_of_months?parseInt(datepicker_settings.number_of_months):datepicker_settings.number_of_months,showOtherMonths:datepicker_settings.show_other_months,selectOtherMonths:datepicker_settings.select_other_months,showAnim:datepicker_settings.show_anim,showButtonPanel:datepicker_settings.show_button_panel,beforeShowDay:"function"==typeof yikes_mc_before_show_day?yikes_mc_before_show_day:null}}function a(e,a){t(a).each(function(){this.id.length&&t(this).data("id",this.id)}),t(a).attr("id",""),e.attr("id",e.data("id"))}t(document).ready(function(){t("body").on("focus",'input[data-attr-type="date"]',function(){const s=t(this);a(s,'input[data-attr-type="date"]'),s.datepicker(e(s.data("date-format").replace("yyyy","yy"))),t("#ui-datepicker-div").removeClass("yikes-datepicker-hide-year")}),t("body").on("focus",'input[data-attr-type="birthday"]',function(){const s=t(this);a(s,'input[data-attr-type="birthday"]'),s.datepicker(e(s.data("date-format"))),t("#ui-datepicker-div").addClass("yikes-datepicker-hide-year")})})}(jQuery);
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
=== Easy Forms for Mailchimp ===
|
2 |
-
Contributors: yikesinc, eherman24, liljimmi, JPry, yikesitskevin, fmixell,
|
3 |
Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=donate_link&utm_campaign=easy_forms_for_mailchimp
|
4 |
Tags: Mailchimp, Mailchimp forms, Mailchimp lists, opt-in forms, sign up form, Mailchimp, email, forms, mailing lists, marketing, newsletter, sign up
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.6
|
7 |
Requires PHP: 5.2.13
|
8 |
-
Stable tag: 6.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -172,20 +172,24 @@ For information and code examples on how to implement the hooks and filters prov
|
|
172 |
|
173 |
== Changelog ==
|
174 |
|
175 |
-
= 6.8.
|
|
|
|
|
|
|
|
|
176 |
* Added 'Placeholder' for dropdown.
|
177 |
* Patched bug for checkbox interest group.
|
178 |
|
179 |
-
= 6.7.0 - July
|
180 |
* Adding support for Google Recaptcha Version 3.
|
181 |
|
182 |
-
= 6.6.4 - March
|
183 |
* Fixes "Freddie" logo image path.
|
184 |
|
185 |
-
= 6.6.3 - February
|
186 |
* Important security release.
|
187 |
|
188 |
-
= 6.6.2 - November
|
189 |
* Bug scrub WCUS! Fixed issues with adding tags on resubscribe.
|
190 |
|
191 |
= 6.6.0 - October 25, 2019 =
|
1 |
=== Easy Forms for Mailchimp ===
|
2 |
+
Contributors: yikesinc, eherman24, liljimmi, JPry, yikesitskevin, fmixell, vochr
|
3 |
Donate link: https://yikesplugins.com/?utm_source=wp_plugin_repo&utm_medium=donate_link&utm_campaign=easy_forms_for_mailchimp
|
4 |
Tags: Mailchimp, Mailchimp forms, Mailchimp lists, opt-in forms, sign up form, Mailchimp, email, forms, mailing lists, marketing, newsletter, sign up
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.6
|
7 |
Requires PHP: 5.2.13
|
8 |
+
Stable tag: 6.8.1
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
172 |
|
173 |
== Changelog ==
|
174 |
|
175 |
+
= 6.8.1 - December 30, 2020 =
|
176 |
+
* Added 'yearRange' to jQuery UI Datepicker Options
|
177 |
+
Thank you to @ptsteadman
|
178 |
+
|
179 |
+
= 6.8.0 - September 14, 2020 =
|
180 |
* Added 'Placeholder' for dropdown.
|
181 |
* Patched bug for checkbox interest group.
|
182 |
|
183 |
+
= 6.7.0 - July 1, 2020 =
|
184 |
* Adding support for Google Recaptcha Version 3.
|
185 |
|
186 |
+
= 6.6.4 - March 26, 2020 =
|
187 |
* Fixes "Freddie" logo image path.
|
188 |
|
189 |
+
= 6.6.3 - February 27, 2020 =
|
190 |
* Important security release.
|
191 |
|
192 |
+
= 6.6.2 - November 3, 2019 =
|
193 |
* Bug scrub WCUS! Fixed issues with adding tags on resubscribe.
|
194 |
|
195 |
= 6.6.0 - October 25, 2019 =
|
yikes-inc-easy-mailchimp-extender.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Easy Forms for Mailchimp
|
4 |
* Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
|
5 |
* Description: The ultimate Mailchimp WordPress plugin. Easily build <strong>unlimited forms for your Mailchimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">Mailchimp API key</a>.
|
6 |
-
* Version: 6.8.
|
7 |
* Author: YIKES, Inc.
|
8 |
* Author URI: https://www.yikesplugins.com/
|
9 |
* License: GPL-3.0+
|
3 |
* Plugin Name: Easy Forms for Mailchimp
|
4 |
* Plugin URI: https://yikesplugins.com/plugin/easy-forms-for-mailchimp/
|
5 |
* Description: The ultimate Mailchimp WordPress plugin. Easily build <strong>unlimited forms for your Mailchimp lists</strong>, add them to your site and track subscriber activity. To get started, go to the settings page and enter your <a href="https://yikesplugins.com/support/knowledge-base/finding-your-mailchimp-api-key/" target="_blank">Mailchimp API key</a>.
|
6 |
+
* Version: 6.8.1
|
7 |
* Author: YIKES, Inc.
|
8 |
* Author URI: https://www.yikesplugins.com/
|
9 |
* License: GPL-3.0+
|