MailMunch – Grow your Email List - Version 3.0.5

Version Description

  • Fixing bugs and some improvements
  • Added shortcode support for landing pages
Download this release

Release Info

Developer mailmunch
Plugin Icon 128x128 MailMunch – Grow your Email List
Version 3.0.5
Comparing to
See all releases

Code changes from version 3.0.4 to 3.0.5

includes/class-mailmunch-post-type.php CHANGED
@@ -140,7 +140,7 @@ class 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' => 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' => MAILMUNCH_POST_TYPE);
145
  $stacks = get_posts($args);
146
  $pages = array_merge($pages, $stacks);
includes/class-mailmunch-rewrite.php CHANGED
@@ -77,6 +77,7 @@ class 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-mailmunch.php CHANGED
@@ -22,7 +22,7 @@ define( 'MAILMUNCH_SLUG', "mailmunch" );
22
  define( 'MAILMUNCH_PREFIX', 'mailmunch' );
23
  define( 'MAILMUNCH_POST_TYPE', 'mailmunch_page' );
24
  define( 'MAILMUNCH_PLUGIN_DIRECTORY', 'mailmunch' );
25
- define( 'MAILMUNCH_VERSION', '3.0.4' );
26
 
27
  /**
28
  * The core plugin class.
22
  define( 'MAILMUNCH_PREFIX', 'mailmunch' );
23
  define( 'MAILMUNCH_POST_TYPE', 'mailmunch_page' );
24
  define( 'MAILMUNCH_PLUGIN_DIRECTORY', 'mailmunch' );
25
+ define( 'MAILMUNCH_VERSION', '3.0.5' );
26
 
27
  /**
28
  * The core plugin class.
mailmunch.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: MailMunch - Grow Your Email List
17
  * Plugin URI: http://www.mailmunch.co
18
  * Description: The best free plugin to get more email subscribers. Beautiful signup forms and landing pages that integrate with MailChimp, Constant Contact, AWeber, Campaign Monitor and more.
19
- * Version: 3.0.4
20
  * Author: MailMunch
21
  * Author URI: http://www.mailmunch.co
22
  * License: GPL-2.0+
16
  * Plugin Name: MailMunch - Grow Your Email List
17
  * Plugin URI: http://www.mailmunch.co
18
  * Description: The best free plugin to get more email subscribers. Beautiful signup forms and landing pages that integrate with MailChimp, Constant Contact, AWeber, Campaign Monitor and more.
19
+ * Version: 3.0.5
20
  * Author: MailMunch
21
  * Author URI: http://www.mailmunch.co
22
  * License: GPL-2.0+
public/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
@@ -3,7 +3,7 @@ Contributors: mailmunch, lizgannes
3
  Tags: signup form, newsletter, newsletters, subscribe, popup, exit popup, exit intent, subscribers, subscription, popover, lightbox, analytics, collect email, optin, optin form, optin forms, double optin, list builder, email form, lead, leads, mailchimp, mailchimp form, mailchimp newsletter, mailchimp plugin, mailchimp signup, mailchimp signup forms, mailchimp signup form, mailchimp widget, mailchimp subscribe, constant contact, contact contact form, constant contact newsletter, constant contact plugin, constant contact signup, constant contact signup forms, constant contact signup form, constant contact widget, constant contact subscribe, aweber, aweber form, aweber forms, aweber signup form, aweber plugin
4
  Requires at least: 3.0.1
5
  Tested up to: 4.7
6
- Stable tag: 3.0.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -163,6 +163,10 @@ Why people use AWeber
163
 
164
  == Changelog ==
165
 
 
 
 
 
166
  = 3.0.2 =
167
  * SEO plugins can be used with landing pages
168
  * Landing pages can be set as home page
3
  Tags: signup form, newsletter, newsletters, subscribe, popup, exit popup, exit intent, subscribers, subscription, popover, lightbox, analytics, collect email, optin, optin form, optin forms, double optin, list builder, email form, lead, leads, mailchimp, mailchimp form, mailchimp newsletter, mailchimp plugin, mailchimp signup, mailchimp signup forms, mailchimp signup form, mailchimp widget, mailchimp subscribe, constant contact, contact contact form, constant contact newsletter, constant contact plugin, constant contact signup, constant contact signup forms, constant contact signup form, constant contact widget, constant contact subscribe, aweber, aweber form, aweber forms, aweber signup form, aweber plugin
4
  Requires at least: 3.0.1
5
  Tested up to: 4.7
6
+ Stable tag: 3.0.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
163
 
164
  == Changelog ==
165
 
166
+ = 3.0.5 =
167
+ * Fixing bugs and some improvements
168
+ * Added shortcode support for landing pages
169
+
170
  = 3.0.2 =
171
  * SEO plugins can be used with landing pages
172
  * Landing pages can be set as home page