MailChimp Forms by MailMunch - Version 3.0.4

Version Description

Download this release

Release Info

Developer mailmunch
Plugin Icon 128x128 MailChimp Forms by MailMunch
Version 3.0.4
Comparing to
See all releases

Code changes from version 3.0.3 to 3.0.4

includes/class-mailchimp-mailmunch-post-type.php CHANGED
@@ -140,7 +140,7 @@ class Mailchimp_Mailmunch_Post_Type {
140
  }
141
 
142
  public function add_pages_to_dropdown($pages, $r) {
143
- if ('page_on_front' == $r['name']) {
144
  $args = array('post_type' => MAILCHIMP_MAILMUNCH_POST_TYPE);
145
  $stacks = get_posts($args);
146
  $pages = array_merge($pages, $stacks);
140
  }
141
 
142
  public function add_pages_to_dropdown($pages, $r) {
143
+ if (array_key_exists('name', $r) && 'page_on_front' == $r['name']) {
144
  $args = array('post_type' => MAILCHIMP_MAILMUNCH_POST_TYPE);
145
  $stacks = get_posts($args);
146
  $pages = array_merge($pages, $stacks);
includes/class-mailchimp-mailmunch-rewrite.php CHANGED
@@ -77,6 +77,7 @@ class Mailchimp_Mailmunch_Rewrite {
77
  }
78
 
79
  public function enable_front_page_landing_pages($query) {
 
80
  if (array_key_exists('post_type', $query->query_vars)) {
81
  $postType = $query->query_vars['post_type'];
82
  }
77
  }
78
 
79
  public function enable_front_page_landing_pages($query) {
80
+ $postType = '';
81
  if (array_key_exists('post_type', $query->query_vars)) {
82
  $postType = $query->query_vars['post_type'];
83
  }
includes/class-mailchimp-mailmunch.php CHANGED
@@ -22,7 +22,7 @@ define( 'MAILCHIMP_MAILMUNCH_SLUG', "mailchimp-mailmunch" );
22
  define( 'MAILCHIMP_MAILMUNCH_PREFIX', 'mc_mm' );
23
  define( 'MAILCHIMP_MAILMUNCH_POST_TYPE', 'mailmunch_page' );
24
  define( 'MAILCHIMP_MAILMUNCH_PLUGIN_DIRECTORY', 'mailchimp-forms-by-mailmunch' );
25
- define( 'MAILCHIMP_MAILMUNCH_VERSION', '3.0.3' );
26
 
27
  /**
28
  * The core plugin class.
22
  define( 'MAILCHIMP_MAILMUNCH_PREFIX', 'mc_mm' );
23
  define( 'MAILCHIMP_MAILMUNCH_POST_TYPE', 'mailmunch_page' );
24
  define( 'MAILCHIMP_MAILMUNCH_PLUGIN_DIRECTORY', 'mailchimp-forms-by-mailmunch' );
25
+ define( 'MAILCHIMP_MAILMUNCH_VERSION', '3.0.4' );
26
 
27
  /**
28
  * The core plugin class.
mailchimp-mailmunch.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: MailChimp Forms by MailMunch
17
  * Plugin URI: http://connect.mailchimp.com/integrations/mailmunch-email-list-builder
18
  * Description: The MailChimp plugin allows you to quickly and easily add signup forms for your MailChimp lists. Popup, Embedded, Top Bar and a variety of different options available.
19
- * Version: 3.0.3
20
  * Author: MailMunch
21
  * Author URI: http://www.mailmunch.co
22
  * License: GPL-2.0+
16
  * Plugin Name: MailChimp Forms by MailMunch
17
  * Plugin URI: http://connect.mailchimp.com/integrations/mailmunch-email-list-builder
18
  * Description: The MailChimp plugin allows you to quickly and easily add signup forms for your MailChimp lists. Popup, Embedded, Top Bar and a variety of different options available.
19
+ * Version: 3.0.4
20
  * Author: MailMunch
21
  * Author URI: http://www.mailmunch.co
22
  * License: GPL-2.0+
public/mailchimp-mailmunch-landing-page.php CHANGED
@@ -39,7 +39,7 @@ if ( is_array( $response ) && ! is_wp_error( $response ) ) {
39
  <?php echo $pageHead; ?>
40
  </head>
41
  <body>
42
- <?php echo $pageBody; ?>
43
 
44
  <?php wp_footer(); ?>
45
  </body>
39
  <?php echo $pageHead; ?>
40
  </head>
41
  <body>
42
+ <?php echo do_shortcode($pageBody); ?>
43
 
44
  <?php wp_footer(); ?>
45
  </body>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: mailchimp, MailChimp form, MailChimp plugin, mailchimp popup, mailchimp ne
4
 
5
  Requires at least: 3.8
6
  Tested up to: 4.7.3
7
- Stable tag: 3.0.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -189,6 +189,10 @@ If you have been looking for the best email marketing software programs, look no
189
 
190
  == Changelog ==
191
 
 
 
 
 
192
  = MailChimp Forms 3.0.1 =
193
  * Use MailChimp landing pages as home page
194
  * Fixed conflict with SEO plugins
4
 
5
  Requires at least: 3.8
6
  Tested up to: 4.7.3
7
+ Stable tag: 3.0.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
189
 
190
  == Changelog ==
191
 
192
+ = MailChimp Forms 3.0.4 =
193
+ * Fixing bugs and some improvements
194
+ * Added shortcode support for landing pages
195
+
196
  = MailChimp Forms 3.0.1 =
197
  * Use MailChimp landing pages as home page
198
  * Fixed conflict with SEO plugins