MailChimp Forms by MailMunch - Version 3.1.4

Version Description

Download this release

Release Info

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

Code changes from version 3.1.3 to 3.1.4

admin/partials/mailchimp-mailmunch-modals.php CHANGED
@@ -74,7 +74,7 @@
74
  </form>
75
  </div>
76
 
77
- <p>Forgot your password? <a href="<?php echo MAILCHIMP_MAILMUNCH_URL; ?>/users/password/new" target="_blank">Click here</a> to retrieve it.</p>
78
  <p>Don't have an account? <a id="show-sign-up" onclick="showSignUpForm();">Sign Up</a></p>
79
  </div>
80
  </div>
74
  </form>
75
  </div>
76
 
77
+ <p>Forgot your password? <a href="<?php echo MAILCHIMP_MAILMUNCH_URL_SECURED; ?>/users/password/new" target="_blank">Click here</a> to retrieve it.</p>
78
  <p>Don't have an account? <a id="show-sign-up" onclick="showSignUpForm();">Sign Up</a></p>
79
  </div>
80
  </div>
includes/class-mailchimp-mailmunch-post-type.php CHANGED
@@ -96,13 +96,13 @@ class Mailchimp_Mailmunch_Post_Type {
96
  $html .= '<div class="page-image">';
97
  $html .= '<img src="'. $landing_page->preview_url .'" />';
98
  $html .= '<div class="page-hover">';
99
- $html .= '<a href="'. MAILCHIMP_MAILMUNCH_URL. "/sso?token=". get_option(MAILCHIMP_MAILMUNCH_PREFIX."_user_token"). "&next_url=". urlencode(MAILCHIMP_MAILMUNCH_LANDING_PAGE_URL. "/sites/". get_option(MAILCHIMP_MAILMUNCH_PREFIX."_site_id")."/landing_pages/". $landing_page->id ."/edit") .'" target="_blank" class="mailmunch-edit-page button button-primary button-large">Edit Page</a>';
100
  $html .= '</div>';
101
  $html .= '</div>';
102
  $html .= '<div class="page-name">'. ($landing_page->name ? $landing_page->name : "Untitled") .'</div>';
103
  $html .= '</div>';
104
  }
105
- $html .= '<a href="'.MAILCHIMP_MAILMUNCH_URL. "/sso?token=". get_option(MAILCHIMP_MAILMUNCH_PREFIX."_user_token"). "&next_url=". urlencode(MAILCHIMP_MAILMUNCH_LANDING_PAGE_URL. "/sites/". get_option(MAILCHIMP_MAILMUNCH_PREFIX."_site_id")."/landing_pages/new") .'" class="mailmunch-landing-page new-landing-page" target="_blank">';
106
  $html .= '<div class="page-image">';
107
  $html .= '<span class="dashicons dashicons-plus-alt"></span>';
108
  $html .= '<div class="new-page-title">Create New Page</div>';
96
  $html .= '<div class="page-image">';
97
  $html .= '<img src="'. $landing_page->preview_url .'" />';
98
  $html .= '<div class="page-hover">';
99
+ $html .= '<a href="'. MAILCHIMP_MAILMUNCH_URL_SECURED. "/sso?token=". get_option(MAILCHIMP_MAILMUNCH_PREFIX."_user_token"). "&next_url=". urlencode(MAILCHIMP_MAILMUNCH_LANDING_PAGE_URL. "/sites/". get_option(MAILCHIMP_MAILMUNCH_PREFIX."_site_id")."/landing_pages/". $landing_page->id ."/edit") .'" target="_blank" class="mailmunch-edit-page button button-primary button-large">Edit Page</a>';
100
  $html .= '</div>';
101
  $html .= '</div>';
102
  $html .= '<div class="page-name">'. ($landing_page->name ? $landing_page->name : "Untitled") .'</div>';
103
  $html .= '</div>';
104
  }
105
+ $html .= '<a href="'.MAILCHIMP_MAILMUNCH_URL_SECURED. "/sso?token=". get_option(MAILCHIMP_MAILMUNCH_PREFIX."_user_token"). "&next_url=". urlencode(MAILCHIMP_MAILMUNCH_LANDING_PAGE_URL. "/sites/". get_option(MAILCHIMP_MAILMUNCH_PREFIX."_site_id")."/landing_pages/new") .'" class="mailmunch-landing-page new-landing-page" target="_blank">';
106
  $html .= '<div class="page-image">';
107
  $html .= '<span class="dashicons dashicons-plus-alt"></span>';
108
  $html .= '<div class="new-page-title">Create New Page</div>';
includes/class-mailchimp-mailmunch-sidebar-widget.php CHANGED
@@ -90,11 +90,11 @@ class Mailchimp_Mailmunch_Sidebar_Widget extends WP_Widget {
90
  </select>
91
  </p>
92
 
93
- <p><a href="<?php echo MAILCHIMP_MAILMUNCH_URL ?>/sso?token=<?php echo get_option(MAILCHIMP_MAILMUNCH_PREFIX."_user_token") ?>&next_url=<?php echo urlencode("/sites/".get_option(MAILCHIMP_MAILMUNCH_PREFIX."_site_id")."/widgets/new?wp_layout=1&widget_type=Sidebar") ?>" target="_blank">Create New Sidebar Form</a></p>
94
  <?php
95
  } else {
96
  ?>
97
- <p>No sidebar forms found. <a href="<?php echo MAILCHIMP_MAILMUNCH_URL ?>/sso?token=<?php echo get_option(MAILCHIMP_MAILMUNCH_PREFIX."_user_token") ?>&next_url=<?php echo urlencode("/sites/".get_option(MAILCHIMP_MAILMUNCH_PREFIX."_site_id")."/widgets/new?wp_layout=1&widget_type=Sidebar") ?>" target="_blank">Create Your First One</a></p>
98
  <?php
99
  }
100
 
90
  </select>
91
  </p>
92
 
93
+ <p><a href="<?php echo MAILCHIMP_MAILMUNCH_URL_SECURED ?>/sso?token=<?php echo get_option(MAILCHIMP_MAILMUNCH_PREFIX."_user_token") ?>&next_url=<?php echo urlencode("/sites/".get_option(MAILCHIMP_MAILMUNCH_PREFIX."_site_id")."/widgets/new?wp_layout=1&widget_type=Sidebar") ?>" target="_blank">Create New Sidebar Form</a></p>
94
  <?php
95
  } else {
96
  ?>
97
+ <p>No sidebar forms found. <a href="<?php echo MAILCHIMP_MAILMUNCH_URL_SECURED ?>/sso?token=<?php echo get_option(MAILCHIMP_MAILMUNCH_PREFIX."_user_token") ?>&next_url=<?php echo urlencode("/sites/".get_option(MAILCHIMP_MAILMUNCH_PREFIX."_site_id")."/widgets/new?wp_layout=1&widget_type=Sidebar") ?>" target="_blank">Create Your First One</a></p>
98
  <?php
99
  }
100
 
includes/class-mailchimp-mailmunch.php CHANGED
@@ -15,14 +15,15 @@
15
 
16
  // Define some class constants.
17
  define( 'MAILCHIMP_MAILMUNCH_URL', "http://wordpress.mailmunch.com" );
18
- define( 'MAILCHIMP_MAILMUNCH_HOME_URL', "http://app.mailmunch.com" );
19
- define( 'MAILCHIMP_MAILMUNCH_LANDING_PAGE_URL', "http://wordpress.mailmunch.com" );
 
20
  define( 'MAILCHIMP_MAILMUNCH_PAGE_SERVICE_URL', "http://wordpress.page.co" );
21
  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.1.3' );
26
 
27
  /**
28
  * The core plugin class.
15
 
16
  // Define some class constants.
17
  define( 'MAILCHIMP_MAILMUNCH_URL', "http://wordpress.mailmunch.com" );
18
+ define( 'MAILCHIMP_MAILMUNCH_URL_SECURED', "https://wordpress.mailmunch.com" );
19
+ define( 'MAILCHIMP_MAILMUNCH_HOME_URL', "https://app.mailmunch.com" );
20
+ define( 'MAILCHIMP_MAILMUNCH_LANDING_PAGE_URL', "https://wordpress.mailmunch.com" );
21
  define( 'MAILCHIMP_MAILMUNCH_PAGE_SERVICE_URL', "http://wordpress.page.co" );
22
  define( 'MAILCHIMP_MAILMUNCH_SLUG', "mailchimp-mailmunch" );
23
  define( 'MAILCHIMP_MAILMUNCH_PREFIX', 'mc_mm' );
24
  define( 'MAILCHIMP_MAILMUNCH_POST_TYPE', 'mailmunch_page' );
25
  define( 'MAILCHIMP_MAILMUNCH_PLUGIN_DIRECTORY', 'mailchimp-forms-by-mailmunch' );
26
+ define( 'MAILCHIMP_MAILMUNCH_VERSION', '3.1.4' );
27
 
28
  /**
29
  * 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.1.3
20
  * Author: MailMunch
21
  * Author URI: http://www.mailmunch.com
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.1.4
20
  * Author: MailMunch
21
  * Author URI: http://www.mailmunch.com
22
  * License: GPL-2.0+
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: mailmunch, lizgannes, mailchimpzain, adeelraza, jessicabrownmm
3
  Donate link: https://www.mailmunch.com/pricing/?utm_source=wp-plugin-repo&utm_medium=mailchimp-mailmunch&utm_campaign=donate-link
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.2
7
- Stable tag: 3.1.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Donate link: https://www.mailmunch.com/pricing/?utm_source=wp-plugin-repo&utm_medium=mailchimp-mailmunch&utm_campaign=donate-link
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.4
7
+ Stable tag: 3.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10