Version Description
Download this release
Release Info
Developer | mailmunch |
Plugin | MailMunch – Grow your Email List |
Version | 3.1.2 |
Comparing to | |
See all releases |
Code changes from version 3.1.1 to 3.1.2
- admin/class-mailmunch-admin.php +2 -2
- admin/partials/mailmunch-admin-display.php +1 -1
- admin/partials/mailmunch-autoresponders.php +1 -1
- admin/partials/mailmunch-modals.php +1 -1
- includes/class-mailmunch-activator.php +2 -2
- includes/class-mailmunch-api.php +1 -1
- includes/class-mailmunch-deactivator.php +2 -2
- includes/class-mailmunch-i18n.php +2 -2
- includes/class-mailmunch-loader.php +2 -2
- includes/class-mailmunch-post-type.php +2 -2
- includes/class-mailmunch-rewrite.php +1 -1
- includes/class-mailmunch-sidebar-widget.php +2 -2
- includes/class-mailmunch.php +7 -6
- mailmunch.php +4 -4
- public/class-mailmunch-public.php +2 -2
- public/partials/mailmunch-public-display.php +1 -1
- readme.txt +2 -2
- uninstall.php +1 -1
admin/class-mailmunch-admin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* The admin-specific functionality of the plugin.
|
5 |
*
|
6 |
-
* @link http://www.mailmunch.
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
@@ -18,7 +18,7 @@
|
|
18 |
*
|
19 |
* @package Mailmunch
|
20 |
* @subpackage Mailmunch/admin
|
21 |
-
* @author MailMunch <info@mailmunch.
|
22 |
*/
|
23 |
class Mailmunch_Admin {
|
24 |
|
3 |
/**
|
4 |
* The admin-specific functionality of the plugin.
|
5 |
*
|
6 |
+
* @link http://www.mailmunch.com
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
18 |
*
|
19 |
* @package Mailmunch
|
20 |
* @subpackage Mailmunch/admin
|
21 |
+
* @author MailMunch <info@mailmunch.com>
|
22 |
*/
|
23 |
class Mailmunch_Admin {
|
24 |
|
admin/partials/mailmunch-admin-display.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
*
|
6 |
* This file is used to markup the admin-facing aspects of the plugin.
|
7 |
*
|
8 |
-
* @link http://www.mailmunch.
|
9 |
* @since 2.0.0
|
10 |
*
|
11 |
* @package Mailmunch
|
5 |
*
|
6 |
* This file is used to markup the admin-facing aspects of the plugin.
|
7 |
*
|
8 |
+
* @link http://www.mailmunch.com
|
9 |
* @since 2.0.0
|
10 |
*
|
11 |
* @package Mailmunch
|
admin/partials/mailmunch-autoresponders.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* Provide a autoresponders admin area view for the plugin
|
5 |
*
|
6 |
-
* @link http://www.mailmunch.
|
7 |
* @since 3.0.8
|
8 |
*
|
9 |
* @package Mailmunch
|
3 |
/**
|
4 |
* Provide a autoresponders admin area view for the plugin
|
5 |
*
|
6 |
+
* @link http://www.mailmunch.com
|
7 |
* @since 3.0.8
|
8 |
*
|
9 |
* @package Mailmunch
|
admin/partials/mailmunch-modals.php
CHANGED
@@ -74,7 +74,7 @@
|
|
74 |
</form>
|
75 |
</div>
|
76 |
|
77 |
-
<p>Forgot your password? <a href="<?php echo
|
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 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-mailmunch-activator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* Fired during plugin activation
|
5 |
*
|
6 |
-
* @link http://www.mailmunch.
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
@@ -18,7 +18,7 @@
|
|
18 |
* @since 2.0.0
|
19 |
* @package Mailmunch
|
20 |
* @subpackage Mailmunch/includes
|
21 |
-
* @author MailMunch <info@mailmunch.
|
22 |
*/
|
23 |
class Mailmunch_Activator {
|
24 |
|
3 |
/**
|
4 |
* Fired during plugin activation
|
5 |
*
|
6 |
+
* @link http://www.mailmunch.com
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
18 |
* @since 2.0.0
|
19 |
* @package Mailmunch
|
20 |
* @subpackage Mailmunch/includes
|
21 |
+
* @author MailMunch <info@mailmunch.com>
|
22 |
*/
|
23 |
class Mailmunch_Activator {
|
24 |
|
includes/class-mailmunch-api.php
CHANGED
@@ -244,7 +244,7 @@
|
|
244 |
$this->requestType = 'post';
|
245 |
return $this->ping('/users', array(
|
246 |
'user' => array(
|
247 |
-
'email' => 'guest_' . uniqid() . '@mailmunch.
|
248 |
'password' => uniqid(),
|
249 |
'guest_user' => true,
|
250 |
'referral' => $this->referral,
|
244 |
$this->requestType = 'post';
|
245 |
return $this->ping('/users', array(
|
246 |
'user' => array(
|
247 |
+
'email' => 'guest_' . uniqid() . '@mailmunch.com',
|
248 |
'password' => uniqid(),
|
249 |
'guest_user' => true,
|
250 |
'referral' => $this->referral,
|
includes/class-mailmunch-deactivator.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* Fired during plugin deactivation
|
5 |
*
|
6 |
-
* @link http://www.mailmunch.
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
@@ -18,7 +18,7 @@
|
|
18 |
* @since 2.0.0
|
19 |
* @package Mailmunch
|
20 |
* @subpackage Mailmunch/includes
|
21 |
-
* @author MailMunch <info@mailmunch.
|
22 |
*/
|
23 |
class Mailmunch_Deactivator {
|
24 |
|
3 |
/**
|
4 |
* Fired during plugin deactivation
|
5 |
*
|
6 |
+
* @link http://www.mailmunch.com
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
18 |
* @since 2.0.0
|
19 |
* @package Mailmunch
|
20 |
* @subpackage Mailmunch/includes
|
21 |
+
* @author MailMunch <info@mailmunch.com>
|
22 |
*/
|
23 |
class Mailmunch_Deactivator {
|
24 |
|
includes/class-mailmunch-i18n.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Loads and defines the internationalization files for this plugin
|
7 |
* so that it is ready for translation.
|
8 |
*
|
9 |
-
* @link http://www.mailmunch.
|
10 |
* @since 2.0.0
|
11 |
*
|
12 |
* @package Mailmunch
|
@@ -22,7 +22,7 @@
|
|
22 |
* @since 2.0.0
|
23 |
* @package Mailmunch
|
24 |
* @subpackage Mailmunch/includes
|
25 |
-
* @author MailMunch <info@mailmunch.
|
26 |
*/
|
27 |
class Mailmunch_i18n {
|
28 |
|
6 |
* Loads and defines the internationalization files for this plugin
|
7 |
* so that it is ready for translation.
|
8 |
*
|
9 |
+
* @link http://www.mailmunch.com
|
10 |
* @since 2.0.0
|
11 |
*
|
12 |
* @package Mailmunch
|
22 |
* @since 2.0.0
|
23 |
* @package Mailmunch
|
24 |
* @subpackage Mailmunch/includes
|
25 |
+
* @author MailMunch <info@mailmunch.com>
|
26 |
*/
|
27 |
class Mailmunch_i18n {
|
28 |
|
includes/class-mailmunch-loader.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* Register all actions and filters for the plugin
|
5 |
*
|
6 |
-
* @link http://www.mailmunch.
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
@@ -19,7 +19,7 @@
|
|
19 |
*
|
20 |
* @package Mailmunch
|
21 |
* @subpackage Mailmunch/includes
|
22 |
-
* @author MailMunch <info@mailmunch.
|
23 |
*/
|
24 |
class Mailmunch_Loader {
|
25 |
|
3 |
/**
|
4 |
* Register all actions and filters for the plugin
|
5 |
*
|
6 |
+
* @link http://www.mailmunch.com
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
19 |
*
|
20 |
* @package Mailmunch
|
21 |
* @subpackage Mailmunch/includes
|
22 |
+
* @author MailMunch <info@mailmunch.com>
|
23 |
*/
|
24 |
class Mailmunch_Loader {
|
25 |
|
includes/class-mailmunch-post-type.php
CHANGED
@@ -96,13 +96,13 @@ class 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="'.
|
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="'.
|
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="'. MAILMUNCH_URL_SECURED. "/sso?token=". get_option(MAILMUNCH_PREFIX."_user_token"). "&next_url=". urlencode(MAILMUNCH_LANDING_PAGE_URL. "/sites/". get_option(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="'. MAILMUNCH_URL_SECURED. "/sso?token=". get_option(MAILMUNCH_PREFIX."_user_token"). "&next_url=". urlencode(MAILMUNCH_LANDING_PAGE_URL. "/sites/". get_option(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-mailmunch-rewrite.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* The file that defines the rewrite rules for MailMunch lanidng pages
|
5 |
*
|
6 |
-
* @link http://www.mailmunch.
|
7 |
* @since 3.0.0
|
8 |
*
|
9 |
*/
|
3 |
/**
|
4 |
* The file that defines the rewrite rules for MailMunch lanidng pages
|
5 |
*
|
6 |
+
* @link http://www.mailmunch.com
|
7 |
* @since 3.0.0
|
8 |
*
|
9 |
*/
|
includes/class-mailmunch-sidebar-widget.php
CHANGED
@@ -90,11 +90,11 @@ class Mailmunch_Sidebar_Widget extends WP_Widget {
|
|
90 |
</select>
|
91 |
</p>
|
92 |
|
93 |
-
<p><a href="<?php echo
|
94 |
<?php
|
95 |
} else {
|
96 |
?>
|
97 |
-
<p>No sidebar forms found. <a href="<?php echo
|
98 |
<?php
|
99 |
}
|
100 |
|
90 |
</select>
|
91 |
</p>
|
92 |
|
93 |
+
<p><a href="<?php echo MAILMUNCH_URL_SECURED ?>/sso?token=<?php echo get_option(MAILMUNCH_PREFIX."_user_token") ?>&next_url=<?php echo urlencode("/sites/".get_option(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 MAILMUNCH_URL_SECURED ?>/sso?token=<?php echo get_option(MAILMUNCH_PREFIX."_user_token") ?>&next_url=<?php echo urlencode("/sites/".get_option(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-mailmunch.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* A class definition that includes attributes and functions used across both the
|
7 |
* public-facing side of the site and the admin area.
|
8 |
*
|
9 |
-
* @link http://www.mailmunch.
|
10 |
* @since 2.0.0
|
11 |
*
|
12 |
* @package Mailmunch
|
@@ -14,15 +14,16 @@
|
|
14 |
*/
|
15 |
|
16 |
// Define some class constants.
|
17 |
-
define( 'MAILMUNCH_URL', "http://wordpress.mailmunch.
|
18 |
-
define( '
|
19 |
-
define( '
|
|
|
20 |
define( 'MAILMUNCH_PAGE_SERVICE_URL', "http://wordpress.page.co" );
|
21 |
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.1.
|
26 |
|
27 |
/**
|
28 |
* The core plugin class.
|
@@ -36,7 +37,7 @@ define( 'MAILMUNCH_VERSION', '3.1.1' );
|
|
36 |
* @since 2.0.0
|
37 |
* @package Mailmunch
|
38 |
* @subpackage Mailmunch/includes
|
39 |
-
* @author MailMunch <info@mailmunch.
|
40 |
*/
|
41 |
class Mailmunch {
|
42 |
|
6 |
* A class definition that includes attributes and functions used across both the
|
7 |
* public-facing side of the site and the admin area.
|
8 |
*
|
9 |
+
* @link http://www.mailmunch.com
|
10 |
* @since 2.0.0
|
11 |
*
|
12 |
* @package Mailmunch
|
14 |
*/
|
15 |
|
16 |
// Define some class constants.
|
17 |
+
define( 'MAILMUNCH_URL', "http://wordpress.mailmunch.com" );
|
18 |
+
define( 'MAILMUNCH_URL_SECURED', "https://wordpress.mailmunch.com" );
|
19 |
+
define( 'MAILMUNCH_HOME_URL', "https://app.mailmunch.com" );
|
20 |
+
define( 'MAILMUNCH_LANDING_PAGE_URL', "https://wordpress.mailmunch.com" );
|
21 |
define( 'MAILMUNCH_PAGE_SERVICE_URL', "http://wordpress.page.co" );
|
22 |
define( 'MAILMUNCH_SLUG', "mailmunch" );
|
23 |
define( 'MAILMUNCH_PREFIX', 'mailmunch' );
|
24 |
define( 'MAILMUNCH_POST_TYPE', 'mailmunch_page' );
|
25 |
define( 'MAILMUNCH_PLUGIN_DIRECTORY', 'mailmunch' );
|
26 |
+
define( 'MAILMUNCH_VERSION', '3.1.2' );
|
27 |
|
28 |
/**
|
29 |
* The core plugin class.
|
37 |
* @since 2.0.0
|
38 |
* @package Mailmunch
|
39 |
* @subpackage Mailmunch/includes
|
40 |
+
* @author MailMunch <info@mailmunch.com>
|
41 |
*/
|
42 |
class Mailmunch {
|
43 |
|
mailmunch.php
CHANGED
@@ -8,17 +8,17 @@
|
|
8 |
* registers the activation and deactivation functions, and defines a function
|
9 |
* that starts the plugin.
|
10 |
*
|
11 |
-
* @link http://www.mailmunch.
|
12 |
* @since 2.0.0
|
13 |
* @package Mailmunch
|
14 |
*
|
15 |
* @wordpress-plugin
|
16 |
* Plugin Name: MailMunch - Grow Your Email List
|
17 |
-
* Plugin URI: http://www.mailmunch.
|
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.1.
|
20 |
* Author: MailMunch
|
21 |
-
* Author URI: http://www.mailmunch.
|
22 |
* License: GPL-2.0+
|
23 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
24 |
* Text Domain: mailmunch
|
8 |
* registers the activation and deactivation functions, and defines a function
|
9 |
* that starts the plugin.
|
10 |
*
|
11 |
+
* @link http://www.mailmunch.com
|
12 |
* @since 2.0.0
|
13 |
* @package Mailmunch
|
14 |
*
|
15 |
* @wordpress-plugin
|
16 |
* Plugin Name: MailMunch - Grow Your Email List
|
17 |
+
* Plugin URI: http://www.mailmunch.com
|
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.1.2
|
20 |
* Author: MailMunch
|
21 |
+
* Author URI: http://www.mailmunch.com
|
22 |
* License: GPL-2.0+
|
23 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
24 |
* Text Domain: mailmunch
|
public/class-mailmunch-public.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
/**
|
4 |
* The public-facing functionality of the plugin.
|
5 |
*
|
6 |
-
* @link http://www.mailmunch.
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
@@ -18,7 +18,7 @@
|
|
18 |
*
|
19 |
* @package Mailmunch
|
20 |
* @subpackage Mailmunch/public
|
21 |
-
* @author MailMunch <info@mailmunch.
|
22 |
*/
|
23 |
class Mailmunch_Public {
|
24 |
|
3 |
/**
|
4 |
* The public-facing functionality of the plugin.
|
5 |
*
|
6 |
+
* @link http://www.mailmunch.com
|
7 |
* @since 2.0.0
|
8 |
*
|
9 |
* @package Mailmunch
|
18 |
*
|
19 |
* @package Mailmunch
|
20 |
* @subpackage Mailmunch/public
|
21 |
+
* @author MailMunch <info@mailmunch.com>
|
22 |
*/
|
23 |
class Mailmunch_Public {
|
24 |
|
public/partials/mailmunch-public-display.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
*
|
6 |
* This file is used to markup the public-facing aspects of the plugin.
|
7 |
*
|
8 |
-
* @link http://www.mailmunch.
|
9 |
* @since 2.0.0
|
10 |
*
|
11 |
* @package Mailmunch
|
5 |
*
|
6 |
* This file is used to markup the public-facing aspects of the plugin.
|
7 |
*
|
8 |
+
* @link http://www.mailmunch.com
|
9 |
* @since 2.0.0
|
10 |
*
|
11 |
* @package Mailmunch
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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:
|
6 |
-
Stable tag: 3.1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
2 |
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: 5.3
|
6 |
+
Stable tag: 3.1.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
uninstall.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
* For more information, see the following discussion:
|
20 |
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
|
21 |
*
|
22 |
-
* @link http://www.mailmunch.
|
23 |
* @since 2.0.0
|
24 |
*
|
25 |
* @package Mailmunch
|
19 |
* For more information, see the following discussion:
|
20 |
* https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913
|
21 |
*
|
22 |
+
* @link http://www.mailmunch.com
|
23 |
* @since 2.0.0
|
24 |
*
|
25 |
* @package Mailmunch
|