Version Description
Download this release
Release Info
Developer | mailmunch |
Plugin | MailChimp Forms by MailMunch |
Version | 2.0.9 |
Comparing to | |
See all releases |
Code changes from version 2.0.8 to 2.0.9
includes/class-mailchimp-mailmunch.php
CHANGED
@@ -18,7 +18,7 @@ define( 'MAILCHIMP_MAILMUNCH_URL', "http://wordpress.mailmunch.co" );
|
|
18 |
define( 'MAILCHIMP_MAILMUNCH_HOME_URL', "http://app.mailmunch.co" );
|
19 |
define( 'MAILCHIMP_MAILMUNCH_SLUG', "mailchimp-mailmunch" );
|
20 |
define( 'MAILCHIMP_MAILMUNCH_PREFIX', 'mc_mm' );
|
21 |
-
define( 'MAILCHIMP_MAILMUNCH_VERSION', '2.0.
|
22 |
|
23 |
/**
|
24 |
* The core plugin class.
|
@@ -95,7 +95,7 @@ class Mailchimp_Mailmunch {
|
|
95 |
|
96 |
$this->plugin_name = 'MailChimp Forms by MailMunch';
|
97 |
$this->integration_name = 'MailChimp';
|
98 |
-
$this->version = '2.0.
|
99 |
|
100 |
$this->load_dependencies();
|
101 |
$this->set_locale();
|
@@ -222,6 +222,7 @@ class Mailchimp_Mailmunch {
|
|
222 |
|
223 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
|
224 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
|
|
225 |
|
226 |
$autoEmbed = get_option(MAILCHIMP_MAILMUNCH_PREFIX. '_auto_embed');
|
227 |
if (empty($autoEmbed) || $autoEmbed == 'yes') {
|
18 |
define( 'MAILCHIMP_MAILMUNCH_HOME_URL', "http://app.mailmunch.co" );
|
19 |
define( 'MAILCHIMP_MAILMUNCH_SLUG', "mailchimp-mailmunch" );
|
20 |
define( 'MAILCHIMP_MAILMUNCH_PREFIX', 'mc_mm' );
|
21 |
+
define( 'MAILCHIMP_MAILMUNCH_VERSION', '2.0.9' );
|
22 |
|
23 |
/**
|
24 |
* The core plugin class.
|
95 |
|
96 |
$this->plugin_name = 'MailChimp Forms by MailMunch';
|
97 |
$this->integration_name = 'MailChimp';
|
98 |
+
$this->version = '2.0.9';
|
99 |
|
100 |
$this->load_dependencies();
|
101 |
$this->set_locale();
|
222 |
|
223 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_styles' );
|
224 |
$this->loader->add_action( 'wp_enqueue_scripts', $plugin_public, 'enqueue_scripts' );
|
225 |
+
$this->loader->add_action( 'wp_head', $plugin_public, 'append_head' );
|
226 |
|
227 |
$autoEmbed = get_option(MAILCHIMP_MAILMUNCH_PREFIX. '_auto_embed');
|
228 |
if (empty($autoEmbed) || $autoEmbed == 'yes') {
|
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: 2.0.
|
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: 2.0.9
|
20 |
* Author: MailMunch
|
21 |
* Author URI: http://www.mailmunch.co
|
22 |
* License: GPL-2.0+
|
public/class-mailchimp-mailmunch-public.php
CHANGED
@@ -108,6 +108,14 @@ class Mailchimp_Mailmunch_Public {
|
|
108 |
* class.
|
109 |
*/
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
$siteID = get_option(MAILCHIMP_MAILMUNCH_PREFIX. '_site_id');
|
112 |
|
113 |
if (is_single() || is_page()) {
|
108 |
* class.
|
109 |
*/
|
110 |
|
111 |
+
}
|
112 |
+
|
113 |
+
/**
|
114 |
+
* Appends code for wp_head in the public-facing side of the site.
|
115 |
+
*
|
116 |
+
* @since 2.0.9
|
117 |
+
*/
|
118 |
+
public function append_head() {
|
119 |
$siteID = get_option(MAILCHIMP_MAILMUNCH_PREFIX. '_site_id');
|
120 |
|
121 |
if (is_single() || is_page()) {
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: mailchimp,mailchimp form,mailchimp newsletter,mailchimp plugin,newsletter,
|
|
4 |
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 2.0.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|