MailChimp for WordPress - Version 1.4.7

Version Description

  • December 4, 2013 =
  • Fixed: Checkbox width not being reset when loading default CSS.
  • Improved: Minor security improvement to prevent some plugin files from being accessed directly.
Download this release

Release Info

Developer DvanKooten
Plugin Icon 128x128 MailChimp for WordPress
Version 1.4.7
Comparing to
See all releases

Code changes from version 1.4.6 to 1.4.7

assets/css/checkbox.css CHANGED
@@ -11,6 +11,7 @@
11
  vertical-align: middle;
12
  display:inline-block !important;
13
  -webkit-appearance: checkbox;
 
14
  }
15
 
16
  #mc4wp-checkbox label{
11
  vertical-align: middle;
12
  display:inline-block !important;
13
  -webkit-appearance: checkbox;
14
+ width: auto;
15
  }
16
 
17
  #mc4wp-checkbox label{
includes/views/api-settings.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <div id="mc4wp-<?php echo $tab; ?>" class="wrap mc4wp-settings">
2
 
3
  <h2>MailChimp for WordPress: MailChimp Settings</h2>
1
+ <?php defined("ABSPATH") or exit; ?>
2
  <div id="mc4wp-<?php echo $tab; ?>" class="wrap mc4wp-settings">
3
 
4
  <h2>MailChimp for WordPress: MailChimp Settings</h2>
includes/views/checkbox-settings.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <div id="mc4wp-<?php echo $tab; ?>" class="wrap mc4wp-settings">
2
 
3
  <h2>MailChimp for WordPress: Checkbox Settings</h2>
1
+ <?php defined("ABSPATH") or exit; ?>
2
  <div id="mc4wp-<?php echo $tab; ?>" class="wrap mc4wp-settings">
3
 
4
  <h2>MailChimp for WordPress: Checkbox Settings</h2>
includes/views/form-settings.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <div id="mc4wp-<?php echo $tab; ?>" class="wrap mc4wp-settings">
2
 
3
  <h2>MailChimp for WordPress: Form settings</h2>
1
+ <?php defined("ABSPATH") or exit; ?>
2
  <div id="mc4wp-<?php echo $tab; ?>" class="wrap mc4wp-settings">
3
 
4
  <h2>MailChimp for WordPress: Form settings</h2>
includes/views/parts/admin-field-wizard.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <div id="mc4wp-fw" class="mc4wp-well">
2
 
3
  <h4>Add a new field</h4>
1
+ <?php defined("ABSPATH") or exit; ?>
2
  <div id="mc4wp-fw" class="mc4wp-well">
3
 
4
  <h4>Add a new field</h4>
includes/views/parts/admin-footer.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <br style="clear:both;" />
2
  <p class="copyright-notice">Enjoying this plugin? <a href="http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=lite-plugin&utm_medium=link&utm_campaign=footer-link">Upgrade to MailChimp for WordPress Pro now</a> for an even better plugin, you will love it.</p>
3
  <p class="help">What's next for MailChimp for WordPress? Submit your feature requests or vote for new features using <a href="http://www.google.com/moderator/#15/e=20c6b7&t=20c6b7.40">this Google Moderator tool.</a></p>
1
+ <?php defined("ABSPATH") or exit; ?>
2
  <br style="clear:both;" />
3
  <p class="copyright-notice">Enjoying this plugin? <a href="http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=lite-plugin&utm_medium=link&utm_campaign=footer-link">Upgrade to MailChimp for WordPress Pro now</a> for an even better plugin, you will love it.</p>
4
  <p class="help">What's next for MailChimp for WordPress? Submit your feature requests or vote for new features using <a href="http://www.google.com/moderator/#15/e=20c6b7&t=20c6b7.40">this Google Moderator tool.</a></p>
includes/views/parts/admin-need-support.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <div class="mc4wp-box">
2
  <h3>Looking for support?</h3>
3
  <p>Please use the <a href="http://wordpress.org/support/plugin/mailchimp-for-wp">support forums</a> on WordPress.org. Please do not email me directly as this is reserved for premium users only.</p>
1
+ <?php defined("ABSPATH") or exit; ?>
2
  <div class="mc4wp-box">
3
  <h3>Looking for support?</h3>
4
  <p>Please use the <a href="http://wordpress.org/support/plugin/mailchimp-for-wp">support forums</a> on WordPress.org. Please do not email me directly as this is reserved for premium users only.</p>
includes/views/parts/admin-upgrade-to-pro.php CHANGED
@@ -1,3 +1,4 @@
 
1
  <div class="mc4wp-box" id="mc4wp-upgrade-box">
2
  <h3>MailChimp for WordPress Pro</h3>
3
 
1
+ <?php defined("ABSPATH") or exit; ?>
2
  <div class="mc4wp-box" id="mc4wp-upgrade-box">
3
  <h3>MailChimp for WordPress Pro</h3>
4
 
mailchimp-for-wp.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MailChimp for WordPress Lite
4
  Plugin URI: http://dannyvankooten.com/mailchimp-for-wordpress/
5
  Description: Lite version of MailChimp for WordPress. Add various sign-up methods to your website. Show sign-up forms in your posts, pages or widgets. Add sign-up checkboxes to various forms, like your comment or contact forms. Premium features include multiple and better forms, easier styling, detailed statistics and much more: <a href="http://dannyvankooten.com/mailchimp-for-wordpress/">Upgrade now</a>
6
- Version: 1.4.6
7
  Author: Danny van Kooten
8
  Author URI: http://dannyvanKooten.com
9
  License: GPL v3
@@ -27,7 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27
 
28
  defined( 'ABSPATH' ) OR exit;
29
 
30
- define("MC4WP_LITE_VERSION", "1.4.6");
31
  define("MC4WP_LITE_PLUGIN_DIR", plugin_dir_path(__FILE__));
32
 
33
  if(!function_exists('is_plugin_active')) {
3
  Plugin Name: MailChimp for WordPress Lite
4
  Plugin URI: http://dannyvankooten.com/mailchimp-for-wordpress/
5
  Description: Lite version of MailChimp for WordPress. Add various sign-up methods to your website. Show sign-up forms in your posts, pages or widgets. Add sign-up checkboxes to various forms, like your comment or contact forms. Premium features include multiple and better forms, easier styling, detailed statistics and much more: <a href="http://dannyvankooten.com/mailchimp-for-wordpress/">Upgrade now</a>
6
+ Version: 1.4.7
7
  Author: Danny van Kooten
8
  Author URI: http://dannyvanKooten.com
9
  License: GPL v3
27
 
28
  defined( 'ABSPATH' ) OR exit;
29
 
30
+ define("MC4WP_LITE_VERSION", "1.4.7");
31
  define("MC4WP_LITE_PLUGIN_DIR", plugin_dir_path(__FILE__));
32
 
33
  if(!function_exists('is_plugin_active')) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://dannyvankooten.com/donate/
4
  Tags: mailchimp, widget, form, checkbox, sign-up form, mandrill, buddypress, multisite, bbpress, contact form 7, newsletter, mailinglist, cf7
5
  Requires at least: 3.1
6
  Tested up to: 3.7.1
7
- Stable tag: 1.4.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -14,45 +14,34 @@ The best MailChimp plugin to get more email subscribers. Easily add sign-up form
14
 
15
  = MailChimp for WordPress =
16
 
17
- Looking to get more email subscribers for your MailChimp lists? This plugin will be a BIG help by adding sign-up forms and sign-up checkboxes to your WordPress website.
18
 
19
- Easily build beautiful sign-up forms and display them in your posts, pages and widget areas.
20
-
21
- Add "sign up to our newsletter" checkboxes to your comment form, contact forms or any form you like, making subscribing to your list(s) effortless for your visitors.
22
-
23
- > MailChimp for WP comes with a premium version which gives you better forms, easier styling and detailed statistics.
24
- > *[Upgrade now >>](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=first-link)*
25
-
26
- **Plugin Features**
27
-
28
- * Easily create a highly customizable sign-up form
29
- * Show a sign-up form in your posts or pages using a simple shortcode `[mc4wp_form]`
30
- * Show a sign-up form in your sidebar or footer using a simple to use form widget.
31
- * Add a "sign-up to our newsletter" checkbox to your comment form or *any* other form you like.
32
- * Built-in integration with Contact Form 7, BuddyPress, WordPress MultiSite and bbPress.
33
- * Configuring this plugin is easy, all you need is your MailChimp API key.
34
-
35
- **Premium features**
36
-
37
- The premium version comes with better and unlimited forms, easier form styling, an unlocked field wizard, detailed statistics and priority support.
38
-
39
- [More information](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link) | [Demo](http://dannyvankooten.com/mailchimp-for-wordpress/demo/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link) | [Upgrade now >>](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link)
40
 
41
  = Sign-Up Forms =
42
- This plugin comes with an easy but flexible way to build sign-up forms for your MailChimp lists.
43
 
44
- With the *add field* tool you can easily customize field labels, placeholders etcetera and have the HTML generated for you. If you want more control, you can just write the form mark-up yourself.
 
45
 
46
- Use the `[mc4wp_form]` shortcode to display a sign-up form in your posts or pages or use the widget to show it in your widget areas, like your sidebar or footer.
47
 
48
- = Sign-Up Checkboxes =
49
- Subscribing to your MailChimp lists should be easy for your visitors. This plugin gives you the option to add sign-up checkboxes to various forms so all your visitors have to do to subscribe is tick the checkbox.
 
 
50
 
51
- You can add sign-up checkboxes to your comment form, Contact Form 7 forms or *any* other form you like.
 
 
 
 
 
 
52
 
53
  **More information**
54
 
55
- Check out more [WordPress plugins](http://dannyvankooten.com/wordpress-plugins/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=more-info-link) by [Danny van Kooten](http://dannyvankooten.com?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=more-info-link) or [contact him on Twitter](http://twitter.com/dannyvankooten).
56
 
57
 
58
  == Installation ==
@@ -63,33 +52,37 @@ Check out more [WordPress plugins](http://dannyvankooten.com/wordpress-plugins/?
63
  1. Activate the plugin
64
  1. Set your MailChimp API key in the plugin settings.
65
 
66
- = Configuring the sign-up checkboxes =
67
  1. Go to *MailChimp for WP > Checkboxes*
68
  1. Select at least one list to subscribe visitors to.
69
  1. Select at least 1 form to add the checkbox to, eg your comment form.
70
 
71
- = Configuring the sign-up form(s) =
72
  1. Go to *MailChimp for WP > Forms*
73
  1. Select at least one list to subscribe visitors to.
74
- 1. *(Optional)* Add some fields or dynamic content to your form.
75
  1. Show the form in pages or posts by using the `[mc4wp_form]` shortcode.
76
- 1. Show the form in your widget areas by using the widget.
 
 
 
77
 
78
  = Upgrade to Pro =
79
  If you like the plugin, upgrade to [MailChimp for WordPress Pro](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=installation-instructions-link) for an even better plugin.
80
 
81
  == Frequently Asked Questions ==
82
 
83
- = Is there a premium version of this plugin? =
84
- Yes, there is and you will love it. Some Pro features are:
85
-
86
- 1. (Multiple) AJAX powered forms (no page reload after submitting)
87
- 1. Design beautiful forms from your admin panel, no CSS knowledge required!
88
- 1. Reports, learn when, where and how your visitors subscribed.
89
- 1. Easily add *all* your MailChimp list fields to your forms using the add-field tool.
90
- 1. Priority support
91
-
92
- [More information](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=faq-link) | [Demo](http://dannyvankooten.com/mailchimp-for-wordpress/demo/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=faq-link)
 
93
 
94
  = How to display a form in posts or pages? =
95
  Use the `[mc4wp_form]` shortcode.
@@ -181,17 +174,22 @@ Your theme folder can be found by browsing to `/wp-content/themes/your-theme-nam
181
 
182
  == Screenshots ==
183
 
184
- 1. **Premium only:** Design beautiful sign-up forms using the form CSS designer.
185
- 2. Add a sign-up checkbox to various places on your website.
186
- 3. An example sign-up checkbox.
187
- 4. An example sign-up form in my footer on dannyvankooten.com. More [MailChimp sign-up form examples](http://dannyvankooten.com/mailchimp-for-wordpress/demo-sign-up-forms/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=screenshots-link) are available on my website.
188
- 5. **Premium only:** Create multiple AJAX powered sign-up forms.
189
- 6. **Premium only:** Use the field wizard to easily add advanced fields to your form mark-up. You don't have to write any HTML, if you want.
190
- 7. **Premium only:** Gain valuable insights which method your visitors used to subscribe for any given time period using beautiful line charts. [Upgrade to the premium version now.](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=screenshots-link)
 
191
 
192
 
193
  == Changelog ==
194
 
 
 
 
 
195
  = 1.4.6 - November 27, 2013 =
196
  * Fixed: Incorrect invalid email address notice showing up every time.
197
  * Fixed: Incorrect form action url for some servers.
4
  Tags: mailchimp, widget, form, checkbox, sign-up form, mandrill, buddypress, multisite, bbpress, contact form 7, newsletter, mailinglist, cf7
5
  Requires at least: 3.1
6
  Tested up to: 3.7.1
7
+ Stable tag: 1.4.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
14
 
15
  = MailChimp for WordPress =
16
 
17
+ *Adding sign-up methods for your MailChimp lists to your WordPress site should be easy. With this plugin, it is.*
18
 
19
+ MailChimp for WordPress lets you create a highly customizable sign-up form which you can display wherever you want it to display using a simple shortcode, widget or template function. You can also add sign-up checkboxes to various forms on your site, like your comment or contact forms.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
  = Sign-Up Forms =
22
+ Easily create sign-up forms for your MailChimp list and display it using a simple shortcode, widget or template function.
23
 
24
+ = Sign-Up Checkboxes =
25
+ Add sign-up checkboxes to *any* form on your website. The plugin offers built-in integration with comment forms, registration forms, Contact Form 7, BuddyPress, bbPress and WordPress MultiSite.
26
 
27
+ **MailChimp for WordPress, at a glance..**
28
 
29
+ - Simple. All you need is your MailChimp API key.
30
+ - Customizable. Have the form fields generated for you or write your own HTML.
31
+ - Beautiful. Choose one of the default form themes or write your own CSS.
32
+ - Developer friendly.
33
 
34
+ [Installation](http://wordpress.org/plugins/mailchimp-for-wp/installation/) | [Frequently Asked Questions](http://wordpress.org/plugins/mailchimp-for-wp/faq/) | [Screenshots](http://wordpress.org/plugins/mailchimp-for-wp/screenshots/)
35
+
36
+ > **Premium features**
37
+ >
38
+ > Multiple forms, AJAX, form designer, custom themes, detailed statistics, more built-in checkbox integrations and priority support.
39
+ >
40
+ > [More information](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link) | [Form demo's](http://dannyvankooten.com/mailchimp-for-wordpress/demo/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link) | [Upgrade now >>](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=after-features-link)
41
 
42
  **More information**
43
 
44
+ Take a look at some other [WordPress plugins](http://dannyvankooten.com/wordpress-plugins/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=more-info-link) by [Danny van Kooten](http://dannyvankooten.com?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=more-info-link) or contact him on Twitter: [@DannyvanKooten](http://twitter.com/dannyvankooten).
45
 
46
 
47
  == Installation ==
52
  1. Activate the plugin
53
  1. Set your MailChimp API key in the plugin settings.
54
 
55
+ = Configuring Sign-Up Checkboxes =
56
  1. Go to *MailChimp for WP > Checkboxes*
57
  1. Select at least one list to subscribe visitors to.
58
  1. Select at least 1 form to add the checkbox to, eg your comment form.
59
 
60
+ = Configuring Sign-Up Form(s) =
61
  1. Go to *MailChimp for WP > Forms*
62
  1. Select at least one list to subscribe visitors to.
63
+ 1. *(Optional)* Add more fields or dynamic content to your form using the **add field** tool.
64
  1. Show the form in pages or posts by using the `[mc4wp_form]` shortcode.
65
+ 1. Show the form in your widget areas using the plugin widget.
66
+ 1. Show the form from your template files by calling `mc4wp_form()`
67
+
68
+ Need help? Please take a look at the [frequently asked questions](http://wordpress.org/plugins/mailchimp-for-wp/faq/) first
69
 
70
  = Upgrade to Pro =
71
  If you like the plugin, upgrade to [MailChimp for WordPress Pro](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=installation-instructions-link) for an even better plugin.
72
 
73
  == Frequently Asked Questions ==
74
 
75
+ > **Is there a premium version of this plugin?**
76
+ >
77
+ > Yes, there is and you will love it. Some Pro features are:
78
+ >
79
+ > 1. (Multiple) AJAX powered forms (no page reload after submitting)
80
+ > 1. Design beautiful forms from your admin panel, no CSS knowledge required!
81
+ > 1. Reports, learn when, where and how your visitors subscribed.
82
+ > 1. Easily add *all* your MailChimp list fields to your forms using the add-field tool.
83
+ > 1. Priority support
84
+ >
85
+ > [More information](http://dannyvankooten.com/mailchimp-for-wordpress/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=faq-link) | [Demo](http://dannyvankooten.com/mailchimp-for-wordpress/demo/?utm_source=wp-plugin-repo&utm_medium=link&utm_campaign=faq-link)
86
 
87
  = How to display a form in posts or pages? =
88
  Use the `[mc4wp_form]` shortcode.
174
 
175
  == Screenshots ==
176
 
177
+ 1. Simple or advanced sign-up forms that blend in with your theme.
178
+ 2. A sign-up checkbox in your comment form is an amazing conversion booster.
179
+ 3. A simple form in the footer of the Twenty Thirteen theme.
180
+ 4. Add sign-up checkboxes to various places on your site. Easy-peasy.
181
+ 5. Creating sign-up forms is easy. The Pro version allows you to create as many form as you like.
182
+ 6. Write your own HTML or have it generated for you. Many (optional) customization settings are availabl.
183
+ 7. **Pro only:** Gain valuable insights which method your visitors used to subscribe for any given time period using beautiful line charts.
184
+ 8. **Pro only:** Create your own CSS styles with the form designer in the Pro version.
185
 
186
 
187
  == Changelog ==
188
 
189
+ = 1.4.7 - December 4, 2013 =
190
+ * Fixed: Checkbox width not being reset when loading default CSS.
191
+ * Improved: Minor security improvement to prevent some plugin files from being accessed directly.
192
+
193
  = 1.4.6 - November 27, 2013 =
194
  * Fixed: Incorrect invalid email address notice showing up every time.
195
  * Fixed: Incorrect form action url for some servers.