Version Description
(12/06/13) = * You can now translate error messages.
Download this release
Release Info
Developer | rhyswynne |
Plugin | WordPress Email Marketing Plugin – WP Email Capture |
Version | 2.7.6 |
Comparing to | |
See all releases |
Code changes from version 2.7.5 to 2.7.6
- inc/process.php +11 -9
- readme.txt +6 -3
- wp-email-capture.php +1 -1
inc/process.php
CHANGED
@@ -54,8 +54,8 @@ if (strpos($starturl, "?") === false) { $extrastring = "?"; } else { $extrastrin
|
|
54 |
|
55 |
if (get_option("wp_email_capture_name_required") == 1 && $name == "")
|
56 |
{
|
57 |
-
|
58 |
-
$url = $starturl . $extrastring . "wp_email_capture_error=
|
59 |
wp_redirect($url);
|
60 |
die();
|
61 |
|
@@ -67,8 +67,8 @@ $email = $_REQUEST['wp-email-capture-email'];
|
|
67 |
if (!is_email($email))
|
68 |
|
69 |
{
|
70 |
-
|
71 |
-
$url = $starturl . $extrastring . "wp_email_capture_error=
|
72 |
|
73 |
wp_redirect($url);
|
74 |
|
@@ -108,8 +108,9 @@ if (wp_email_capture_double_check_everything($name, $email))
|
|
108 |
|
109 |
|
110 |
if ($sqlcheck){
|
111 |
-
|
112 |
-
|
|
|
113 |
|
114 |
wp_redirect($url);
|
115 |
|
@@ -222,8 +223,8 @@ if($sentmail){
|
|
222 |
}
|
223 |
|
224 |
else {
|
225 |
-
|
226 |
-
$url = $starturl . $extrastring . "wp_email_capture_error=
|
227 |
|
228 |
wp_redirect($url);
|
229 |
|
@@ -281,7 +282,8 @@ function wp_capture_email_confirm()
|
|
281 |
|
282 |
else {
|
283 |
if (strpos($url, "?") === false) { $extrastring = "?"; } else { $extrastring = "&"; }
|
284 |
-
|
|
|
285 |
|
286 |
wp_redirect($url);
|
287 |
|
54 |
|
55 |
if (get_option("wp_email_capture_name_required") == 1 && $name == "")
|
56 |
{
|
57 |
+
$error = urlencode(__('Please Provide A Name','WPEC'));
|
58 |
+
$url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
|
59 |
wp_redirect($url);
|
60 |
die();
|
61 |
|
67 |
if (!is_email($email))
|
68 |
|
69 |
{
|
70 |
+
$error = urlencode(__('Not a valid email','WPEC'));
|
71 |
+
$url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
|
72 |
|
73 |
wp_redirect($url);
|
74 |
|
108 |
|
109 |
|
110 |
if ($sqlcheck){
|
111 |
+
|
112 |
+
$error = urlencode(__('User already present','WPEC'));
|
113 |
+
$url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
|
114 |
|
115 |
wp_redirect($url);
|
116 |
|
223 |
}
|
224 |
|
225 |
else {
|
226 |
+
$error = urlencode(__('Email unable to be sent','WPEC'));
|
227 |
+
$url = $starturl . $extrastring . "wp_email_capture_error=" . $error;
|
228 |
|
229 |
wp_redirect($url);
|
230 |
|
282 |
|
283 |
else {
|
284 |
if (strpos($url, "?") === false) { $extrastring = "?"; } else { $extrastring = "&"; }
|
285 |
+
$error = urlencode(__('Wrong confirmation code','WPEC'));
|
286 |
+
$url = $url . $extrastring . "wp_email_capture_error=" . $error;
|
287 |
|
288 |
wp_redirect($url);
|
289 |
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== WP Email Capture ===
|
2 |
Tags: email, marketing, capture, form, affiliates, mailing lists, email marketing, widget ready
|
3 |
Requires at least: 3.0
|
4 |
-
Tested up to: 3.5
|
5 |
-
Version: 2.7.
|
6 |
-
Stable tag: 2.7.
|
7 |
Contributors: rhyswynne
|
8 |
Donate link: http://wpemailcapture.com/pricing/
|
9 |
|
@@ -152,6 +152,9 @@ Please report any bugs, support and suggestions to the [WP Email Capture Support
|
|
152 |
To donate to this plugin, please visit the [WP Email Capture Donations Page](http://www.wpemailcapture.com/pricing/)
|
153 |
|
154 |
== Change Log ==
|
|
|
|
|
|
|
155 |
= 2.7.5 (28/01/13) =
|
156 |
* Added an option "wp_email_capture_theme_affiliate_link", so theme designers can add this option on activation with their affiliate link to WP Email Capture.
|
157 |
|
1 |
=== WP Email Capture ===
|
2 |
Tags: email, marketing, capture, form, affiliates, mailing lists, email marketing, widget ready
|
3 |
Requires at least: 3.0
|
4 |
+
Tested up to: 3.5.1
|
5 |
+
Version: 2.7.6
|
6 |
+
Stable tag: 2.7.6
|
7 |
Contributors: rhyswynne
|
8 |
Donate link: http://wpemailcapture.com/pricing/
|
9 |
|
152 |
To donate to this plugin, please visit the [WP Email Capture Donations Page](http://www.wpemailcapture.com/pricing/)
|
153 |
|
154 |
== Change Log ==
|
155 |
+
= 2.7.6 (12/06/13) =
|
156 |
+
* You can now translate error messages.
|
157 |
+
|
158 |
= 2.7.5 (28/01/13) =
|
159 |
* Added an option "wp_email_capture_theme_affiliate_link", so theme designers can add this option on activation with their affiliate link to WP Email Capture.
|
160 |
|
wp-email-capture.php
CHANGED
@@ -8,7 +8,7 @@ Plugin URI: http://www.wpemailcapture.com
|
|
8 |
|
9 |
Description: Captures email addresses for insertion into software such as <a href="http://wpemailcapture.com/recommends/aweber" title="Email Marketing">Aweber</a> or <a href="http://wpemailcapture.com/recommends/mailchimp/">Mailchimp</a>
|
10 |
|
11 |
-
Version: 2.7.
|
12 |
|
13 |
Author: Rhys Wynne
|
14 |
|
8 |
|
9 |
Description: Captures email addresses for insertion into software such as <a href="http://wpemailcapture.com/recommends/aweber" title="Email Marketing">Aweber</a> or <a href="http://wpemailcapture.com/recommends/mailchimp/">Mailchimp</a>
|
10 |
|
11 |
+
Version: 2.7.6
|
12 |
|
13 |
Author: Rhys Wynne
|
14 |
|