Version Description
- October 22, 2015 =
Fixes
- Honeypot field being autofilled in Chrome, causing a form error.
Improvements
- Updated Portugese translations.
Download this release
Release Info
Developer | DvanKooten |
Plugin | MailChimp for WordPress |
Version | 2.3.17 |
Comparing to | |
See all releases |
Code changes from version 2.3.16 to 2.3.17
- assets/css/admin.css +0 -22
- assets/css/admin.min.css +1 -1
- includes/admin/class-admin.php +2 -2
- includes/admin/class-remote-content-block.php +134 -0
- includes/admin/class-usage-tracking.php +17 -1
- includes/class-api.php +6 -6
- includes/class-form.php +1 -1
- includes/class-mailchimp.php +6 -2
- includes/integrations/class-integration.php +1 -1
- includes/views/parts/admin-footer.php +1 -3
- includes/views/parts/admin-upgrade-to-pro.php +10 -34
- languages/mailchimp-for-wp-pt_BR.mo +0 -0
- languages/mailchimp-for-wp-pt_BR.po +26 -26
- mailchimp-for-wp.php +2 -2
- readme.txt +11 -3
- vendor/autoload_52.php +1 -1
- vendor/composer/autoload_classmap.php +60 -0
- vendor/composer/autoload_real_52.php +3 -3
assets/css/admin.css
CHANGED
@@ -38,28 +38,6 @@
|
|
38 |
font-weight: bold;
|
39 |
}
|
40 |
|
41 |
-
#mc4wp-upgrade-box {
|
42 |
-
background:#222;
|
43 |
-
color: #ddd;
|
44 |
-
padding:20px;
|
45 |
-
}
|
46 |
-
|
47 |
-
#mc4wp-upgrade-box a {
|
48 |
-
color: #ccc;
|
49 |
-
}
|
50 |
-
|
51 |
-
#mc4wp-upgrade-box h3{
|
52 |
-
margin:0;
|
53 |
-
color:white;
|
54 |
-
}
|
55 |
-
|
56 |
-
#mc4wp-upgrade-box .mc4wp-upgrade-button {
|
57 |
-
box-shadow: none;
|
58 |
-
background: #FF8C00;
|
59 |
-
border-color: #b56200;
|
60 |
-
margin-right: 10px;
|
61 |
-
color: white;
|
62 |
-
}
|
63 |
|
64 |
#mc4wp-fw h4{
|
65 |
margin-top: 0;
|
38 |
font-weight: bold;
|
39 |
}
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
#mc4wp-fw h4{
|
43 |
margin-top: 0;
|
assets/css/admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
#mc4wp-admin .page-title{background:url("../img/icon-large.png") left center no-repeat;padding-left:42px;line-height:32px;margin-bottom:20px}#mc4wp-admin hr{margin:20px 0 40px}#mc4wp-content{float:left;width:65%}#mc4wp-sidebar{float:left;width:33%;margin-left:2%;border-left:1px solid #ccc;padding:0 0 0 2%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.valigntop{vertical-align:top!important}.mc4wp-box{margin-bottom:20px}.mc4wp-box label{font-weight:700}#mc4wp-
|
1 |
+
#mc4wp-admin .page-title{background:url("../img/icon-large.png") left center no-repeat;padding-left:42px;line-height:32px;margin-bottom:20px}#mc4wp-admin hr{margin:20px 0 40px}#mc4wp-content{float:left;width:65%}#mc4wp-sidebar{float:left;width:33%;margin-left:2%;border-left:1px solid #ccc;padding:0 0 0 2%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.valigntop{vertical-align:top!important}.mc4wp-box{margin-bottom:20px}.mc4wp-box label{font-weight:700}#mc4wp-fw h4{margin-top:0}#mc4wp-fw p{margin-bottom:1em}#mc4wp-fw-fields{display:none}#mc4wp-fw-preview{font-family:"Courier New",Courier,monospace;min-height:200px;font-size:11px;background:#fff;z-index:99}#mc4wp-lists{margin:0}#mc4wp-lists input{margin-right:5px}.mc4wp-settings tr.pro-feature td,.mc4wp-settings tr.pro-feature th,.pro-feature{color:#aaa}#mc4wp-admin .status{display:inline-block;margin-left:1em;padding:3px 6px;color:#fff;font-size:12px;font-weight:700}#mc4wp-admin .positive{background-color:#32cd32}#mc4wp-admin .negative{background-color:red}#mc4wp-admin .neutral{background:gray}#mc4wp-admin table th{text-align:left}#mc4wp-admin table.form-table tr td:first-child,#mc4wp-admin table.form-table tr th:first-child{padding-left:0}#mc4wp-admin td.nowrap{white-space:nowrap}#mc4wp-admin td.desc{font-style:italic;font-size:11px}.mc4wp-notice{padding:6px 8px;color:#31708f;background:#d9edf7;border:1px solid #bce8f1;margin:1em 0!important}#mc4wp-admin .mc4wp-col{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;width:50%;padding:0 5px}#mc4wp-admin .mc4wp-first{padding-left:0}#mc4wp-admin .mc4wp-last{padding-right:0}.mc4wp-well{background:#fff;padding:10px;border:1px solid #ccc}.mc4wp-title{font-size:1.4em;margin:1.6em 0 1em;padding:0 0 6px;border-bottom:1px solid #ddd}table.mc4wp-help,table.mc4wp-help td,table.mc4wp-help th{border:1px solid #ddd;border-collapse:collapse;font-size:12px}table.mc4wp-help td,table.mc4wp-help th{vertical-align:text-top;text-align:left;padding:5px 10px}table.mc4wp-help tr:hover{background-color:#ddd}#mc4wp-admin .wp-list-table code{float:right}.mc4wp-lists-overview{border-collapse:collapse;background:#fff;padding:20px;max-height:500px;overflow-y:scroll}.mc4wp-lists-overview table{border:0}.mc4wp-lists-overview th{font-weight:700;vertical-align:top}.mc4wp-lists-overview td,.mc4wp-lists-overview th{border:1px solid #efefef}.mc4wp-lists-overview h3{margin:0!important}@media(max-width:1279px){#mc4wp-content,#mc4wp-sidebar{float:none;width:100%;padding:0;margin:0}#mc4wp-sidebar{border-left:0;border-top:1px solid #ccc;margin-top:25px;padding-top:25px}#mc4wp-admin .wp-list-table code{float:none}}@media(max-width:860px){.mc4wp-hide-smallscreens{display:none}}
|
includes/admin/class-admin.php
CHANGED
@@ -64,7 +64,7 @@ class MC4WP_Lite_Admin
|
|
64 |
add_action( 'admin_init', array( $this, 'initialize' ) );
|
65 |
add_action( 'admin_menu', array( $this, 'build_menu' ) );
|
66 |
add_action( 'admin_enqueue_scripts', array( $this, 'load_css_and_js' ) );
|
67 |
-
|
68 |
|
69 |
// Hooks for Plugins overview page
|
70 |
if( $current_page === 'plugins.php' ) {
|
@@ -237,7 +237,7 @@ class MC4WP_Lite_Admin
|
|
237 |
'callback' => array( $this, 'show_form_settings' ) ),
|
238 |
array(
|
239 |
'title' => __( 'Upgrade to Pro', 'mailchimp-for-wp' ),
|
240 |
-
'text' => '<span style="line-height: 20px;"><span class="dashicons dashicons-external"></span> ' .__( 'Upgrade to Pro', 'mailchimp-for-wp' ),
|
241 |
'slug' => 'upgrade',
|
242 |
|
243 |
'callback' => array( $this, 'redirect_to_pro' ),
|
64 |
add_action( 'admin_init', array( $this, 'initialize' ) );
|
65 |
add_action( 'admin_menu', array( $this, 'build_menu' ) );
|
66 |
add_action( 'admin_enqueue_scripts', array( $this, 'load_css_and_js' ) );
|
67 |
+
add_filter( 'admin_footer_text', array( $this, 'footer_text' ) );
|
68 |
|
69 |
// Hooks for Plugins overview page
|
70 |
if( $current_page === 'plugins.php' ) {
|
237 |
'callback' => array( $this, 'show_form_settings' ) ),
|
238 |
array(
|
239 |
'title' => __( 'Upgrade to Pro', 'mailchimp-for-wp' ),
|
240 |
+
'text' => '<span style="line-height: 20px; color: #cc4444;"><span class="dashicons dashicons-external"></span> ' .__( 'Upgrade to Pro', 'mailchimp-for-wp' ),
|
241 |
'slug' => 'upgrade',
|
242 |
|
243 |
'callback' => array( $this, 'redirect_to_pro' ),
|
includes/admin/class-remote-content-block.php
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Class MC4WP_Remote_Content_Block
|
5 |
+
*
|
6 |
+
* @package MailChimp for WordPress
|
7 |
+
* @author Danny van Kooten
|
8 |
+
*/
|
9 |
+
class MC4WP_Remote_Content_Block {
|
10 |
+
|
11 |
+
/**
|
12 |
+
* @var string
|
13 |
+
*/
|
14 |
+
protected $content = '';
|
15 |
+
|
16 |
+
/**
|
17 |
+
* @var int
|
18 |
+
*/
|
19 |
+
protected $cache_time = 7200; // 2 hours
|
20 |
+
|
21 |
+
/**
|
22 |
+
* @var string
|
23 |
+
*/
|
24 |
+
protected $cache_key = '';
|
25 |
+
|
26 |
+
/**
|
27 |
+
* @var string
|
28 |
+
*/
|
29 |
+
protected $url = '';
|
30 |
+
|
31 |
+
/**
|
32 |
+
* @param string $url
|
33 |
+
* @param int $cache_time
|
34 |
+
* @param string $fallback_content
|
35 |
+
*/
|
36 |
+
public function __construct( $url, $cache_time = 7200, $fallback_content = '' ) {
|
37 |
+
$this->url = $url;
|
38 |
+
$this->cache_time = $cache_time;
|
39 |
+
$this->content = $fallback_content;
|
40 |
+
|
41 |
+
// don't let this transient key exceed 45 characters total
|
42 |
+
// use end of url as key because it's likely same domain is used
|
43 |
+
$this->cache_key = 'mc4wp_remote_content_' . substr( sanitize_key( $this->url ), -23 ); // 44 characters
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* @return bool
|
48 |
+
*/
|
49 |
+
public function fetch() {
|
50 |
+
|
51 |
+
// first, try transient cache
|
52 |
+
if( $this->fetch_from_cache() ) {
|
53 |
+
return true;
|
54 |
+
}
|
55 |
+
|
56 |
+
// no? try remote url
|
57 |
+
if( $this->fetch_from_remote() ) {
|
58 |
+
return true;
|
59 |
+
}
|
60 |
+
|
61 |
+
return false;
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* @return bool
|
66 |
+
*/
|
67 |
+
protected function fetch_from_cache() {
|
68 |
+
$content = get_transient( $this->cache_key );
|
69 |
+
|
70 |
+
if( ! is_string( $content ) ) {
|
71 |
+
return false;
|
72 |
+
}
|
73 |
+
|
74 |
+
$this->content = $content;
|
75 |
+
return true;
|
76 |
+
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* @return bool
|
80 |
+
*/
|
81 |
+
protected function fetch_from_remote() {
|
82 |
+
|
83 |
+
$args = array(
|
84 |
+
'timeout' => 3,
|
85 |
+
'user-agent' => ''
|
86 |
+
);
|
87 |
+
|
88 |
+
$response = wp_remote_get( $this->url, $args );
|
89 |
+
$response_code = (int) wp_remote_retrieve_response_code( $response );
|
90 |
+
if( $response_code !== 200 ) {
|
91 |
+
return false;
|
92 |
+
}
|
93 |
+
|
94 |
+
$content = wp_remote_retrieve_body( $response );
|
95 |
+
if( empty( $content ) ) {
|
96 |
+
return false;
|
97 |
+
}
|
98 |
+
|
99 |
+
$this->content = $content;
|
100 |
+
$this->cache( $content );
|
101 |
+
return true;
|
102 |
+
}
|
103 |
+
|
104 |
+
/**
|
105 |
+
* @return string
|
106 |
+
*/
|
107 |
+
public function __toString() {
|
108 |
+
$this->fetch();
|
109 |
+
return $this->content;
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Output the content block
|
114 |
+
*/
|
115 |
+
public function output() {
|
116 |
+
echo $this;
|
117 |
+
}
|
118 |
+
|
119 |
+
/**
|
120 |
+
* Refresh content
|
121 |
+
*/
|
122 |
+
public function refresh() {
|
123 |
+
delete_transient( $this->cache_key );
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Cache content for the given cache time
|
128 |
+
*
|
129 |
+
* @param string $content
|
130 |
+
*/
|
131 |
+
protected function cache( $content ) {
|
132 |
+
set_transient( $this->cache_key, $content, $this->cache_time );
|
133 |
+
}
|
134 |
+
}
|
includes/admin/class-usage-tracking.php
CHANGED
@@ -34,6 +34,22 @@ class MC4WP_Usage_Tracking {
|
|
34 |
*/
|
35 |
public function add_hooks() {
|
36 |
add_action( 'mc4wp_usage_tracking', array( $this, 'track' ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
|
39 |
/**
|
@@ -48,7 +64,7 @@ class MC4WP_Usage_Tracking {
|
|
48 |
return;
|
49 |
}
|
50 |
|
51 |
-
wp_schedule_event( time(), '
|
52 |
}
|
53 |
|
54 |
/**
|
34 |
*/
|
35 |
public function add_hooks() {
|
36 |
add_action( 'mc4wp_usage_tracking', array( $this, 'track' ) );
|
37 |
+
add_filter( 'cron_schedules', array( $this, 'cron_schedules' ) );
|
38 |
+
}
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Registers a new schedule with WP Cron
|
42 |
+
*
|
43 |
+
* @param array $schedules
|
44 |
+
*
|
45 |
+
* @return array
|
46 |
+
*/
|
47 |
+
public function cron_schedules( $schedules ) {
|
48 |
+
$schedules['weekly'] = array(
|
49 |
+
'interval' => 7 * DAY_IN_SECONDS,
|
50 |
+
'display' => __( 'Once Weekly' )
|
51 |
+
);
|
52 |
+
return $schedules;
|
53 |
}
|
54 |
|
55 |
/**
|
64 |
return;
|
65 |
}
|
66 |
|
67 |
+
wp_schedule_event( time(), 'weekly', 'mc4wp_usage_tracking' );
|
68 |
}
|
69 |
|
70 |
/**
|
includes/class-api.php
CHANGED
@@ -10,32 +10,32 @@ class MC4WP_API {
|
|
10 |
/**
|
11 |
* @var string The URL to the MailChimp API
|
12 |
*/
|
13 |
-
|
14 |
|
15 |
/**
|
16 |
* @var string The API key to use
|
17 |
*/
|
18 |
-
|
19 |
|
20 |
/**
|
21 |
* @var string The error message of the latest API request (if any)
|
22 |
*/
|
23 |
-
|
24 |
|
25 |
/**
|
26 |
* @var int The error code of the lastest API request (if any)
|
27 |
*/
|
28 |
-
|
29 |
|
30 |
/**
|
31 |
* @var boolean Boolean indicating whether the user is connected with MailChimp
|
32 |
*/
|
33 |
-
|
34 |
|
35 |
/**
|
36 |
* @var object The full response object of the latest API call
|
37 |
*/
|
38 |
-
|
39 |
|
40 |
/**
|
41 |
* Constructor
|
10 |
/**
|
11 |
* @var string The URL to the MailChimp API
|
12 |
*/
|
13 |
+
protected $api_url = 'https://api.mailchimp.com/2.0/';
|
14 |
|
15 |
/**
|
16 |
* @var string The API key to use
|
17 |
*/
|
18 |
+
protected $api_key = '';
|
19 |
|
20 |
/**
|
21 |
* @var string The error message of the latest API request (if any)
|
22 |
*/
|
23 |
+
protected $error_message = '';
|
24 |
|
25 |
/**
|
26 |
* @var int The error code of the lastest API request (if any)
|
27 |
*/
|
28 |
+
protected $error_code = 0;
|
29 |
|
30 |
/**
|
31 |
* @var boolean Boolean indicating whether the user is connected with MailChimp
|
32 |
*/
|
33 |
+
protected $connected = null;
|
34 |
|
35 |
/**
|
36 |
* @var object The full response object of the latest API call
|
37 |
*/
|
38 |
+
protected $last_response;
|
39 |
|
40 |
/**
|
41 |
* Constructor
|
includes/class-form.php
CHANGED
@@ -116,7 +116,7 @@ class MC4WP_Form {
|
|
116 |
public function get_hidden_fields( $element_id, $attributes = array() ) {
|
117 |
|
118 |
// hidden fields
|
119 |
-
$hidden_fields = '<div style="
|
120 |
$hidden_fields .= '<input type="hidden" name="_mc4wp_timestamp" value="'. time() . '" />';
|
121 |
$hidden_fields .= '<input type="hidden" name="_mc4wp_form_id" value="'. esc_attr( $this->ID ) .'" />';
|
122 |
$hidden_fields .= '<input type="hidden" name="_mc4wp_form_element_id" value="'. esc_attr( $element_id ) .'" />';
|
116 |
public function get_hidden_fields( $element_id, $attributes = array() ) {
|
117 |
|
118 |
// hidden fields
|
119 |
+
$hidden_fields = '<div style="display: none;"><input type="text" name="_mc4wp_ho_'. md5( time() ).'" value="" tabindex="-1" autocomplete="off" /></div>';
|
120 |
$hidden_fields .= '<input type="hidden" name="_mc4wp_timestamp" value="'. time() . '" />';
|
121 |
$hidden_fields .= '<input type="hidden" name="_mc4wp_form_id" value="'. esc_attr( $this->ID ) .'" />';
|
122 |
$hidden_fields .= '<input type="hidden" name="_mc4wp_form_element_id" value="'. esc_attr( $element_id ) .'" />';
|
includes/class-mailchimp.php
CHANGED
@@ -87,12 +87,16 @@ class MC4WP_MailChimp {
|
|
87 |
return $lists;
|
88 |
} else {
|
89 |
// api request failed, get fallback data (with longer lifetime)
|
90 |
-
$cached_lists =
|
91 |
}
|
92 |
|
93 |
}
|
94 |
|
95 |
-
|
|
|
|
|
|
|
|
|
96 |
}
|
97 |
|
98 |
/**
|
87 |
return $lists;
|
88 |
} else {
|
89 |
// api request failed, get fallback data (with longer lifetime)
|
90 |
+
$cached_lists = get_transient( $this->transient_name . '_fallback' );
|
91 |
}
|
92 |
|
93 |
}
|
94 |
|
95 |
+
if( is_array( $cached_lists ) ) {
|
96 |
+
return $cached_lists;
|
97 |
+
}
|
98 |
+
|
99 |
+
return array();
|
100 |
}
|
101 |
|
102 |
/**
|
includes/integrations/class-integration.php
CHANGED
@@ -168,7 +168,7 @@ abstract class MC4WP_Integration {
|
|
168 |
|
169 |
// after checkbox HTML (..., honeypot, closing comment)
|
170 |
$after = apply_filters( 'mc4wp_after_checkbox', '', $this->type );
|
171 |
-
$after .= '<div style="
|
172 |
$after .= '<!-- / MailChimp for WordPress -->';
|
173 |
|
174 |
return $before . $content . $after;
|
168 |
|
169 |
// after checkbox HTML (..., honeypot, closing comment)
|
170 |
$after = apply_filters( 'mc4wp_after_checkbox', '', $this->type );
|
171 |
+
$after .= '<div style="display: none;"><input type="text" name="_mc4wp_required_but_not_really" value="" tabindex="-1" autocomplete="off" /></div>';
|
172 |
$after .= '<!-- / MailChimp for WordPress -->';
|
173 |
|
174 |
return $before . $content . $after;
|
includes/views/parts/admin-footer.php
CHANGED
@@ -11,10 +11,8 @@ if( ! defined( 'MC4WP_LITE_VERSION' ) ) {
|
|
11 |
<p class="help"><?php printf( __( 'MailChimp for WordPress is in need of translations. Is the plugin not translated in your language or do you spot errors with the current translations? Helping out is easy! Head over to <a href="%s">the translation project and click "help translate"</a>.', 'mailchimp-for-wp' ), 'https://www.transifex.com/projects/p/mailchimp-for-wordpress/' ); ?></p>
|
12 |
<?php } ?>
|
13 |
|
14 |
-
<p class="help"><?php printf( __( 'Enjoying this plugin? <a href="%s">Upgrade to MailChimp for WordPress Pro</a> for an even better plugin, you will love it.', 'mailchimp-for-wp' ), 'https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=footer-link' ); ?></p>
|
15 |
-
|
16 |
<?php if( defined( 'WP_DEBUG' ) && WP_DEBUG ) { ?>
|
17 |
-
<p class="help">
|
18 |
<?php } ?>
|
19 |
|
20 |
<p class="help"><?php _e( 'This plugin is not developed by or affiliated with MailChimp in any way.', 'mailchimp-for-wp' ); ?></p>
|
11 |
<p class="help"><?php printf( __( 'MailChimp for WordPress is in need of translations. Is the plugin not translated in your language or do you spot errors with the current translations? Helping out is easy! Head over to <a href="%s">the translation project and click "help translate"</a>.', 'mailchimp-for-wp' ), 'https://www.transifex.com/projects/p/mailchimp-for-wordpress/' ); ?></p>
|
12 |
<?php } ?>
|
13 |
|
|
|
|
|
14 |
<?php if( defined( 'WP_DEBUG' ) && WP_DEBUG ) { ?>
|
15 |
+
<p class="help">Developer? Follow or contribute to the <a href="https://github.com/ibericode/mailchimp-for-wordpress">MailChimp for WordPress project on GitHub</a>.</p>
|
16 |
<?php } ?>
|
17 |
|
18 |
<p class="help"><?php _e( 'This plugin is not developed by or affiliated with MailChimp in any way.', 'mailchimp-for-wp' ); ?></p>
|
includes/views/parts/admin-upgrade-to-pro.php
CHANGED
@@ -1,40 +1,16 @@
|
|
1 |
<?php
|
2 |
-
|
3 |
-
|
4 |
-
header( 'HTTP/1.1 403 Forbidden' );
|
5 |
-
exit;
|
6 |
-
}
|
7 |
?>
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
<?php _e( 'Each subscribing to one or multiple MailChimp lists.', 'mailchimp-for-wp' ); ?>
|
16 |
-
</li>
|
17 |
-
<li>
|
18 |
-
<strong><?php _e( 'AJAX forms', 'mailchimp-for-wp' ); ?></strong><br />
|
19 |
-
<?php _e( 'Forms do not require a full page reload.', 'mailchimp-for-wp' ); ?>
|
20 |
-
</li>
|
21 |
-
<li>
|
22 |
-
<strong><?php _e( 'Statistics', 'mailchimp-for-wp' ); ?></strong><br />
|
23 |
-
<?php _e( 'Every form interaction is logged and visualised in insightful charts.', 'mailchimp-for-wp' ); ?>
|
24 |
-
</li>
|
25 |
-
<li>
|
26 |
-
<strong><?php _e( 'Styles Builder', 'mailchimp-for-wp' ); ?></strong><br />
|
27 |
-
<?php _e( 'Create beautiful form themes with ease.', 'mailchimp-for-wp' ); ?>
|
28 |
-
</li>
|
29 |
-
</ul>
|
30 |
-
<p>
|
31 |
-
<a class="button button-primary button-large mc4wp-upgrade-button" href="https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=upgrade-box"><?php _e( 'Show me more', 'mailchimp-for-wp' ); ?></a>
|
32 |
-
<a class="" href="https://mc4wp.com/demo/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=upgrade-box"><?php _e( 'View Demo', 'mailchimp-for-wp' ); ?></a>
|
33 |
-
</p>
|
34 |
-
<p style="text-align: center; margin-bottom: 0;">
|
35 |
-
<small><?php _e( 'You can <strong>try with absolutely 0 risk</strong> using our refund policy.', 'mailchimp-for-wp' ); ?></small>
|
36 |
-
</p>
|
37 |
</div>
|
|
|
38 |
<div class="mc4wp-box" id="mc4wp-optin-box">
|
39 |
|
40 |
<?php $user = wp_get_current_user(); ?>
|
1 |
<?php
|
2 |
+
// prevent direct file access
|
3 |
+
defined( 'ABSPATH' ) or exit;
|
|
|
|
|
|
|
4 |
?>
|
5 |
+
|
6 |
+
<div class="mc4wp-box">
|
7 |
+
<?php
|
8 |
+
// upgrade block
|
9 |
+
$block = new MC4WP_Remote_Content_Block( 'https://mc4wp.com/api/content-blocks?id=98121' );
|
10 |
+
echo $block;
|
11 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
</div>
|
13 |
+
|
14 |
<div class="mc4wp-box" id="mc4wp-optin-box">
|
15 |
|
16 |
<?php $user = wp_get_current_user(); ?>
|
languages/mailchimp-for-wp-pt_BR.mo
CHANGED
Binary file
|
languages/mailchimp-for-wp-pt_BR.po
CHANGED
@@ -11,7 +11,7 @@ msgstr ""
|
|
11 |
"Project-Id-Version: MailChimp for WordPress\n"
|
12 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
|
13 |
"POT-Creation-Date: 2015-05-26 14:41:46+00:00\n"
|
14 |
-
"PO-Revision-Date: 2015-10-
|
15 |
"Last-Translator: Luiz Sobral <lctsobral@gmail.com>\n"
|
16 |
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/ibericode/mailchimp-for-wordpress/language/pt_BR/)\n"
|
17 |
"MIME-Version: 1.0\n"
|
@@ -1128,7 +1128,7 @@ msgstr "Estatísticas"
|
|
1128 |
|
1129 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:23
|
1130 |
msgid "Every form interaction is logged and visualised in insightful charts."
|
1131 |
-
msgstr ""
|
1132 |
|
1133 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:26
|
1134 |
msgid "Styles Builder"
|
@@ -1695,14 +1695,14 @@ msgid ""
|
|
1695 |
"Tip: have a look at our <a href=\"%s\">knowledge base</a> articles on <a "
|
1696 |
"href=\"%s\">creating an inline form</a> or <a href=\"%s\">styling your "
|
1697 |
"form</a> in general."
|
1698 |
-
msgstr ""
|
1699 |
|
1700 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:22
|
1701 |
msgid ""
|
1702 |
"You are not loading your custom stylesheet at this moment. To apply these "
|
1703 |
"styles on your site, select \"load custom form styles\" in the <a "
|
1704 |
"href=\"%s\">MailChimp for WordPress form settings</a>."
|
1705 |
-
msgstr ""
|
1706 |
|
1707 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:30
|
1708 |
msgid "Select form to build styles for:"
|
@@ -1719,7 +1719,7 @@ msgstr "Você precisa ter o JavaScript habilitado para ver uma prévia do seu fo
|
|
1719 |
|
1720 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:62
|
1721 |
msgid "Form container style"
|
1722 |
-
msgstr ""
|
1723 |
|
1724 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:66
|
1725 |
msgid "Form width"
|
@@ -1738,7 +1738,7 @@ msgstr "Alinhamento do texto"
|
|
1738 |
|
1739 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:73
|
1740 |
msgid "Choose alignment"
|
1741 |
-
msgstr ""
|
1742 |
|
1743 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:74
|
1744 |
msgid "Left"
|
@@ -1759,7 +1759,7 @@ msgstr "Cor de fundo"
|
|
1759 |
|
1760 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:83
|
1761 |
msgid "Padding"
|
1762 |
-
msgstr ""
|
1763 |
|
1764 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:89
|
1765 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:168
|
@@ -1791,11 +1791,11 @@ msgstr "Imagem de fundo"
|
|
1791 |
|
1792 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:114
|
1793 |
msgid "Label styles"
|
1794 |
-
msgstr ""
|
1795 |
|
1796 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:118
|
1797 |
msgid "Label width"
|
1798 |
-
msgstr ""
|
1799 |
|
1800 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:132
|
1801 |
msgid "Text style"
|
@@ -1803,7 +1803,7 @@ msgstr "Estilo do texto"
|
|
1803 |
|
1804 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:135
|
1805 |
msgid "Choose text style.."
|
1806 |
-
msgstr ""
|
1807 |
|
1808 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:136
|
1809 |
msgid "Normal"
|
@@ -1824,21 +1824,21 @@ msgstr "Negrito & itálico"
|
|
1824 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:142
|
1825 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:174
|
1826 |
msgid "Display"
|
1827 |
-
msgstr ""
|
1828 |
|
1829 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:146
|
1830 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:178
|
1831 |
msgid "Inline"
|
1832 |
-
msgstr ""
|
1833 |
|
1834 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:147
|
1835 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:179
|
1836 |
msgid "New line"
|
1837 |
-
msgstr ""
|
1838 |
|
1839 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:156
|
1840 |
msgid "Field styles"
|
1841 |
-
msgstr ""
|
1842 |
|
1843 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:160
|
1844 |
msgid "Field width"
|
@@ -1855,11 +1855,11 @@ msgstr "Border radius"
|
|
1855 |
|
1856 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:186
|
1857 |
msgid "Focus outline"
|
1858 |
-
msgstr ""
|
1859 |
|
1860 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:198
|
1861 |
msgid "Button styles"
|
1862 |
-
msgstr ""
|
1863 |
|
1864 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:202
|
1865 |
msgid "Button width"
|
@@ -1875,11 +1875,11 @@ msgstr "Mensagens de sucesso e erro"
|
|
1875 |
|
1876 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:242
|
1877 |
msgid "Success text color"
|
1878 |
-
msgstr ""
|
1879 |
|
1880 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:244
|
1881 |
msgid "Error text color"
|
1882 |
-
msgstr ""
|
1883 |
|
1884 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:252
|
1885 |
msgid "Advanced"
|
@@ -1887,36 +1887,36 @@ msgstr "Avançado"
|
|
1887 |
|
1888 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:256
|
1889 |
msgid "CSS Selector Prefix"
|
1890 |
-
msgstr ""
|
1891 |
|
1892 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:258
|
1893 |
msgid ""
|
1894 |
"Use this to create a more specific (and thus more \"important\") CSS "
|
1895 |
"selector."
|
1896 |
-
msgstr ""
|
1897 |
|
1898 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:261
|
1899 |
msgid "Manual CSS"
|
1900 |
-
msgstr ""
|
1901 |
|
1902 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:261
|
1903 |
msgid ""
|
1904 |
"The CSS rules you enter here will be appended to the custom stylesheet."
|
1905 |
-
msgstr ""
|
1906 |
|
1907 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:269
|
1908 |
msgid "Copy styles from other form"
|
1909 |
-
msgstr ""
|
1910 |
|
1911 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:283
|
1912 |
msgid "Copy Styles"
|
1913 |
-
msgstr ""
|
1914 |
|
1915 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:283
|
1916 |
msgid ""
|
1917 |
"Are you sure you want to copy form styles from another form? This will "
|
1918 |
"overwrite current styles for this form."
|
1919 |
-
msgstr ""
|
1920 |
|
1921 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:298
|
1922 |
msgid "Are you sure you want to delete all custom styles for this form?"
|
@@ -1928,7 +1928,7 @@ msgstr "Excluir estilos de formulário"
|
|
1928 |
|
1929 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:305
|
1930 |
msgid "Form preview"
|
1931 |
-
msgstr ""
|
1932 |
|
1933 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:8
|
1934 |
msgid "Sign-Up Forms"
|
11 |
"Project-Id-Version: MailChimp for WordPress\n"
|
12 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/mailchimp-for-wp\n"
|
13 |
"POT-Creation-Date: 2015-05-26 14:41:46+00:00\n"
|
14 |
+
"PO-Revision-Date: 2015-10-16 14:16+0000\n"
|
15 |
"Last-Translator: Luiz Sobral <lctsobral@gmail.com>\n"
|
16 |
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/ibericode/mailchimp-for-wordpress/language/pt_BR/)\n"
|
17 |
"MIME-Version: 1.0\n"
|
1128 |
|
1129 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:23
|
1130 |
msgid "Every form interaction is logged and visualised in insightful charts."
|
1131 |
+
msgstr "Cada interação de formulário é registrado e visualizados em gráficos interessantes."
|
1132 |
|
1133 |
#: mailchimp-for-wordpress/includes/views/parts/admin-upgrade-to-pro.php:26
|
1134 |
msgid "Styles Builder"
|
1695 |
"Tip: have a look at our <a href=\"%s\">knowledge base</a> articles on <a "
|
1696 |
"href=\"%s\">creating an inline form</a> or <a href=\"%s\">styling your "
|
1697 |
"form</a> in general."
|
1698 |
+
msgstr "Dica: dê uma olhada em nossos artigos na <a href=\"%s\">base de conhecimento</a> em <a href=\"%s\">criar um formulário em linha</a> ou <a href=\"%s\">estilizando seu formulário</a> em geral."
|
1699 |
|
1700 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:22
|
1701 |
msgid ""
|
1702 |
"You are not loading your custom stylesheet at this moment. To apply these "
|
1703 |
"styles on your site, select \"load custom form styles\" in the <a "
|
1704 |
"href=\"%s\">MailChimp for WordPress form settings</a>."
|
1705 |
+
msgstr "Você não está carregando sua folha de estilo personalizada neste momento. Para aplicar esses estilos no seu site, selecione \"carregar estilos de formulário personalizado\" nas <a href=\"%s\">Configurações de formulário no MailChimp para WordPress</a>."
|
1706 |
|
1707 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:30
|
1708 |
msgid "Select form to build styles for:"
|
1719 |
|
1720 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:62
|
1721 |
msgid "Form container style"
|
1722 |
+
msgstr "Estilo do conteiner do formulário"
|
1723 |
|
1724 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:66
|
1725 |
msgid "Form width"
|
1738 |
|
1739 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:73
|
1740 |
msgid "Choose alignment"
|
1741 |
+
msgstr "Alinhamento do texto"
|
1742 |
|
1743 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:74
|
1744 |
msgid "Left"
|
1759 |
|
1760 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:83
|
1761 |
msgid "Padding"
|
1762 |
+
msgstr "Espaçamento interno"
|
1763 |
|
1764 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:89
|
1765 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:168
|
1791 |
|
1792 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:114
|
1793 |
msgid "Label styles"
|
1794 |
+
msgstr "Estilos de rótulo"
|
1795 |
|
1796 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:118
|
1797 |
msgid "Label width"
|
1798 |
+
msgstr "Largura do rótulo"
|
1799 |
|
1800 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:132
|
1801 |
msgid "Text style"
|
1803 |
|
1804 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:135
|
1805 |
msgid "Choose text style.."
|
1806 |
+
msgstr "Escolha um estilo de texto.."
|
1807 |
|
1808 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:136
|
1809 |
msgid "Normal"
|
1824 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:142
|
1825 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:174
|
1826 |
msgid "Display"
|
1827 |
+
msgstr "Mostrar"
|
1828 |
|
1829 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:146
|
1830 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:178
|
1831 |
msgid "Inline"
|
1832 |
+
msgstr "Interno"
|
1833 |
|
1834 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:147
|
1835 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:179
|
1836 |
msgid "New line"
|
1837 |
+
msgstr "Nova linha"
|
1838 |
|
1839 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:156
|
1840 |
msgid "Field styles"
|
1841 |
+
msgstr "Estilos de campo"
|
1842 |
|
1843 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:160
|
1844 |
msgid "Field width"
|
1855 |
|
1856 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:186
|
1857 |
msgid "Focus outline"
|
1858 |
+
msgstr "Linha de fora do focus"
|
1859 |
|
1860 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:198
|
1861 |
msgid "Button styles"
|
1862 |
+
msgstr "Estilos de botão"
|
1863 |
|
1864 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:202
|
1865 |
msgid "Button width"
|
1875 |
|
1876 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:242
|
1877 |
msgid "Success text color"
|
1878 |
+
msgstr "Cor do texto de sucesso"
|
1879 |
|
1880 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:244
|
1881 |
msgid "Error text color"
|
1882 |
+
msgstr "Cor do texto com erro"
|
1883 |
|
1884 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:252
|
1885 |
msgid "Advanced"
|
1887 |
|
1888 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:256
|
1889 |
msgid "CSS Selector Prefix"
|
1890 |
+
msgstr "Prefixo do seletor CSS"
|
1891 |
|
1892 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:258
|
1893 |
msgid ""
|
1894 |
"Use this to create a more specific (and thus more \"important\") CSS "
|
1895 |
"selector."
|
1896 |
+
msgstr "Use isto para criar um selector CSS mais específico (e assim mais importante)."
|
1897 |
|
1898 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:261
|
1899 |
msgid "Manual CSS"
|
1900 |
+
msgstr "CSS manual"
|
1901 |
|
1902 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:261
|
1903 |
msgid ""
|
1904 |
"The CSS rules you enter here will be appended to the custom stylesheet."
|
1905 |
+
msgstr "As regras do css que você digitar aqui serão adicionados à folha de estilo personalizada."
|
1906 |
|
1907 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:269
|
1908 |
msgid "Copy styles from other form"
|
1909 |
+
msgstr "Copiar estilos de outro formulário"
|
1910 |
|
1911 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:283
|
1912 |
msgid "Copy Styles"
|
1913 |
+
msgstr "Copiar Estilos"
|
1914 |
|
1915 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:283
|
1916 |
msgid ""
|
1917 |
"Are you sure you want to copy form styles from another form? This will "
|
1918 |
"overwrite current styles for this form."
|
1919 |
+
msgstr "Você tem certeza que quer copiar os estilos de outro formulário? Esta ação irá subscrever os estilos atuais para este formulário."
|
1920 |
|
1921 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:298
|
1922 |
msgid "Are you sure you want to delete all custom styles for this form?"
|
1928 |
|
1929 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-css-builder.php:305
|
1930 |
msgid "Form preview"
|
1931 |
+
msgstr "Pré-visualização do formulário"
|
1932 |
|
1933 |
#: mailchimp-for-wordpress-pro/includes/views/tabs/admin-forms-general-settings.php:8
|
1934 |
msgid "Sign-Up Forms"
|
mailchimp-for-wp.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: MailChimp for WordPress Lite
|
4 |
Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
|
5 |
Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
|
6 |
-
Version: 2.3.
|
7 |
Author: ibericode
|
8 |
Author URI: https://ibericode.com/
|
9 |
Text Domain: mailchimp-for-wp
|
@@ -47,7 +47,7 @@ function mc4wp_load_plugin() {
|
|
47 |
}
|
48 |
|
49 |
// bootstrap the lite plugin
|
50 |
-
define( 'MC4WP_LITE_VERSION', '2.3.
|
51 |
define( 'MC4WP_LITE_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
|
52 |
define( 'MC4WP_LITE_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
|
53 |
define( 'MC4WP_LITE_PLUGIN_FILE', __FILE__ );
|
3 |
Plugin Name: MailChimp for WordPress Lite
|
4 |
Plugin URI: https://mc4wp.com/#utm_source=wp-plugin&utm_medium=mailchimp-for-wp&utm_campaign=plugins-page
|
5 |
Description: Lite version of MailChimp for WordPress. Adds various sign-up methods to your website.
|
6 |
+
Version: 2.3.17
|
7 |
Author: ibericode
|
8 |
Author URI: https://ibericode.com/
|
9 |
Text Domain: mailchimp-for-wp
|
47 |
}
|
48 |
|
49 |
// bootstrap the lite plugin
|
50 |
+
define( 'MC4WP_LITE_VERSION', '2.3.17' );
|
51 |
define( 'MC4WP_LITE_PLUGIN_DIR', dirname( __FILE__ ) . '/' );
|
52 |
define( 'MC4WP_LITE_PLUGIN_URL', plugins_url( '/' , __FILE__ ) );
|
53 |
define( 'MC4WP_LITE_PLUGIN_FILE', __FILE__ );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://mc4wp.com/#utm_source=wp-plugin-repo&utm_medium=mailchimp-f
|
|
4 |
Tags: email, mailchimp, marketing, newsletter, signup, widget, mc4wp, contact form 7, woocommerce, buddypress,ibericode
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.3.1
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -18,8 +18,6 @@ MailChimp for WordPress, the absolute best. Add subscribers to your MailChimp li
|
|
18 |
|
19 |
This plugin helps you add subscribers to your MailChimp lists using various methods. You can create good looking opt-in forms or integrate with any other form on your site, like your comment form or WooCommerce checkout.
|
20 |
|
21 |
-
[youtube https://www.youtube.com/watch?v=92WzdjQcGSo]
|
22 |
-
|
23 |
= MailChimp for WordPress features =
|
24 |
|
25 |
- Connect with your MailChimp account in just 1 click.
|
@@ -169,6 +167,16 @@ MailChimp for WordPress is being developed on GitHub. If you want to collaborate
|
|
169 |
|
170 |
== Changelog ==
|
171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
= 2.3.16 - October 14, 2015 =
|
173 |
|
174 |
**Fixes**
|
4 |
Tags: email, mailchimp, marketing, newsletter, signup, widget, mc4wp, contact form 7, woocommerce, buddypress,ibericode
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.3.1
|
7 |
+
Stable tag: 2.3.17
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
18 |
|
19 |
This plugin helps you add subscribers to your MailChimp lists using various methods. You can create good looking opt-in forms or integrate with any other form on your site, like your comment form or WooCommerce checkout.
|
20 |
|
|
|
|
|
21 |
= MailChimp for WordPress features =
|
22 |
|
23 |
- Connect with your MailChimp account in just 1 click.
|
167 |
|
168 |
== Changelog ==
|
169 |
|
170 |
+
= 2.3.17 - October 22, 2015 =
|
171 |
+
|
172 |
+
**Fixes**
|
173 |
+
|
174 |
+
- Honeypot field being autofilled in Chrome, causing a form error.
|
175 |
+
|
176 |
+
**Improvements**
|
177 |
+
|
178 |
+
- Updated Portugese translations.
|
179 |
+
|
180 |
= 2.3.16 - October 14, 2015 =
|
181 |
|
182 |
**Fixes**
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit907d1e96f0d9a35e03a0100e064d9608::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -6,6 +6,63 @@ $vendorDir = dirname(dirname(__FILE__));
|
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
'MC4WP_API' => $baseDir . '/includes/class-api.php',
|
10 |
'MC4WP_BuddyPress_Integration' => $baseDir . '/includes/integrations/class-buddypress.php',
|
11 |
'MC4WP_CF7_Integration' => $baseDir . '/includes/integrations/class-cf7.php',
|
@@ -27,6 +84,7 @@ return array(
|
|
27 |
'MC4WP_MailChimp' => $baseDir . '/includes/class-mailchimp.php',
|
28 |
'MC4WP_MultiSite_Integration' => $baseDir . '/includes/integrations/class-multisite.php',
|
29 |
'MC4WP_Registration_Form_Integration' => $baseDir . '/includes/integrations/class-registration-form.php',
|
|
|
30 |
'MC4WP_Request' => $baseDir . '/includes/class-request.php',
|
31 |
'MC4WP_Subscribe_Request' => $baseDir . '/includes/class-subscribe-request.php',
|
32 |
'MC4WP_Tools' => $baseDir . '/includes/class-tools.php',
|
@@ -37,4 +95,6 @@ return array(
|
|
37 |
'MC4WP_WooCommerce_Integration' => $baseDir . '/includes/integrations/class-woocommerce.php',
|
38 |
'MC4WP_bbPress_Integration' => $baseDir . '/includes/integrations/class-bbpress.php',
|
39 |
'iMC4WP_Request' => $baseDir . '/includes/interface-request.php',
|
|
|
|
|
40 |
);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
9 |
+
'Composer\\Installers\\AglInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php',
|
10 |
+
'Composer\\Installers\\AimeosInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AimeosInstaller.php',
|
11 |
+
'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
|
12 |
+
'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
|
13 |
+
'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
|
14 |
+
'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
|
15 |
+
'Composer\\Installers\\CakePHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
|
16 |
+
'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
|
17 |
+
'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
|
18 |
+
'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
|
19 |
+
'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
|
20 |
+
'Composer\\Installers\\CraftInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php',
|
21 |
+
'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
|
22 |
+
'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
|
23 |
+
'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
|
24 |
+
'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
|
25 |
+
'Composer\\Installers\\ElggInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
|
26 |
+
'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
|
27 |
+
'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
|
28 |
+
'Composer\\Installers\\GravInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php',
|
29 |
+
'Composer\\Installers\\HuradInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
|
30 |
+
'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php',
|
31 |
+
'Composer\\Installers\\JoomlaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
|
32 |
+
'Composer\\Installers\\KirbyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
|
33 |
+
'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
|
34 |
+
'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
|
35 |
+
'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
|
36 |
+
'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
|
37 |
+
'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
|
38 |
+
'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
|
39 |
+
'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
|
40 |
+
'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
|
41 |
+
'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
|
42 |
+
'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
|
43 |
+
'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
|
44 |
+
'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
|
45 |
+
'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
|
46 |
+
'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
|
47 |
+
'Composer\\Installers\\PimcoreInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php',
|
48 |
+
'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
|
49 |
+
'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
|
50 |
+
'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
|
51 |
+
'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
|
52 |
+
'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
|
53 |
+
'Composer\\Installers\\SMFInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
|
54 |
+
'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
|
55 |
+
'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
|
56 |
+
'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
|
57 |
+
'Composer\\Installers\\TYPO3CmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
|
58 |
+
'Composer\\Installers\\TYPO3FlowInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
|
59 |
+
'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
|
60 |
+
'Composer\\Installers\\TuskInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
|
61 |
+
'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
|
62 |
+
'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
|
63 |
+
'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
|
64 |
+
'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
|
65 |
+
'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
|
66 |
'MC4WP_API' => $baseDir . '/includes/class-api.php',
|
67 |
'MC4WP_BuddyPress_Integration' => $baseDir . '/includes/integrations/class-buddypress.php',
|
68 |
'MC4WP_CF7_Integration' => $baseDir . '/includes/integrations/class-cf7.php',
|
84 |
'MC4WP_MailChimp' => $baseDir . '/includes/class-mailchimp.php',
|
85 |
'MC4WP_MultiSite_Integration' => $baseDir . '/includes/integrations/class-multisite.php',
|
86 |
'MC4WP_Registration_Form_Integration' => $baseDir . '/includes/integrations/class-registration-form.php',
|
87 |
+
'MC4WP_Remote_Content_Block' => $baseDir . '/includes/admin/class-remote-content-block.php',
|
88 |
'MC4WP_Request' => $baseDir . '/includes/class-request.php',
|
89 |
'MC4WP_Subscribe_Request' => $baseDir . '/includes/class-subscribe-request.php',
|
90 |
'MC4WP_Tools' => $baseDir . '/includes/class-tools.php',
|
95 |
'MC4WP_WooCommerce_Integration' => $baseDir . '/includes/integrations/class-woocommerce.php',
|
96 |
'MC4WP_bbPress_Integration' => $baseDir . '/includes/integrations/class-bbpress.php',
|
97 |
'iMC4WP_Request' => $baseDir . '/includes/interface-request.php',
|
98 |
+
'xrstf\\Composer52\\AutoloadGenerator' => $vendorDir . '/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php',
|
99 |
+
'xrstf\\Composer52\\Generator' => $vendorDir . '/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php',
|
100 |
);
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit2f909f1fbc22fbc2d15e30f4553f3491 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInit907d1e96f0d9a35e03a0100e064d9608 {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit907d1e96f0d9a35e03a0100e064d9608', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit907d1e96f0d9a35e03a0100e064d9608', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|