Version Description
- Added wp_email_capture_complete_before_redirect action. Allowing data to be manipulated before the redirect.
- Added Extensions area of dashboard.
Download this release
Release Info
Developer | rhyswynne |
Plugin | WordPress Email Marketing Plugin – WP Email Capture |
Version | 3.1.3 |
Comparing to | |
See all releases |
Code changes from version 3.1.2 to 3.1.3
- inc/img/drip-image.png +0 -0
- inc/options.php +86 -43
- inc/process.php +7 -0
- readme.md +7 -2
- readme.txt +9 -5
- wp-email-capture.php +1 -1
inc/img/drip-image.png
ADDED
Binary file
|
inc/options.php
CHANGED
@@ -21,22 +21,35 @@ function wp_email_capture_menus() {
|
|
21 |
*/
|
22 |
function wp_email_capture_dashboard() {
|
23 |
|
24 |
-
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
-
|
|
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
|
|
|
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
|
39 |
-
|
40 |
|
41 |
if ( array_key_exists( 'wpecupgrade', $_GET ) ) {
|
42 |
$activedashboard = "";
|
@@ -46,46 +59,76 @@ function wp_email_capture_dashboard() {
|
|
46 |
$activeupgrade = "";
|
47 |
}
|
48 |
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
|
53 |
-
|
54 |
|
55 |
-
|
56 |
|
57 |
-
|
58 |
|
59 |
-
|
60 |
|
61 |
-
|
62 |
|
63 |
-
|
64 |
|
65 |
-
|
66 |
-
|
|
|
|
|
67 |
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
<
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
<li><?php echo sprintf( __( '<strong>German Translation:</strong> <a href="%s" target="_blank">Stephan</a>, <a href="%s" target="_blank">Marc Nilius</a> <a href="%s" target="_blank">(@libertello)</a> & Ov3rFly', 'wp-email-capture' ), 'http://www.computersniffer.com/', 'http://www.libertello.de/', 'http://twitter.com/libertello' ); ?></li>
|
90 |
<li><?php echo sprintf( __( '<strong>Brazilian Portugese Translation:</strong> <a href="%s" target="_blank">Nick Lima</a> <a href="%s" target="_blank">(@nick_linux)</a>', 'wp-email-capture' ), 'http://www.nicklima.com.br', 'http://twitter.com/nick_linux' ); ?></li>
|
91 |
<li><?php echo sprintf( __( '<strong>Dutch Translation:</strong> <a href="%s" target="_blank">Sander</a>', 'wp-email-capture' ), 'http://www.zanderz.net/' ); ?></li>
|
21 |
*/
|
22 |
function wp_email_capture_dashboard() {
|
23 |
|
24 |
+
$extensionstopush = array(
|
25 |
+
array(
|
26 |
+
|
27 |
+
'name' => __('WP Email Capture - Drip Integration', 'WPEC' ),
|
28 |
+
'description' => __( 'Integrate WP Email Capture with <a href="https://www.wpemailcapture.com/recommends/drip/">Drip</a>'),
|
29 |
+
'price' => '15',
|
30 |
+
'purchaseurl' => 'https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=2415',
|
31 |
+
'infourl' => 'https://www.wpemailcapture.com/downloads/wp-email-capture-drip-integration/',
|
32 |
+
'imageurl' => WP_EMAIL_CAPTURE_URL . '/inc/img/drip-image.png',
|
33 |
+
'slug' => 'wpemailcapturedripintegration'
|
34 |
+
)
|
35 |
+
)
|
36 |
|
37 |
+
?>
|
38 |
+
<div class="wrap about-wrap">
|
39 |
|
40 |
+
<h1><?php _e( 'Welcome to WP Email Capture!', 'wp-email-capture' ); ?></h1>
|
41 |
+
|
42 |
+
<div class="about-text">
|
43 |
+
<?php _e( 'Start collecting email subscribers today!', 'wp-email-capture' ); ?><br/>
|
44 |
+
</div>
|
45 |
|
46 |
+
<h2 class="nav-tab-wrapper" id="wpemailcapture-tabs">
|
47 |
+
<a class="nav-tab" href="#dashboard" id="dashboard-tab"><?php _e( 'Dashboard', 'wp-email-capture' ); ?></a>
|
48 |
+
<a class="nav-tab" href="#changelog" id="changelog-tab"><?php _e( 'Changelog', 'wp-email-capture' ); ?></a>
|
49 |
+
<a class="nav-tab" href="#credits" id="credits-tab"><?php _e( 'Credits', 'wp-email-capture' ); ?></a>
|
50 |
+
</h2>
|
51 |
|
52 |
+
<?php
|
53 |
|
54 |
if ( array_key_exists( 'wpecupgrade', $_GET ) ) {
|
55 |
$activedashboard = "";
|
59 |
$activeupgrade = "";
|
60 |
}
|
61 |
|
62 |
+
?>
|
63 |
+
<div id="dashboard" class="wpemailcapture-tab <?php echo $activedashboard; ?>">
|
64 |
+
<h2><?php _e( 'Welcome to WP Email Capture', 'wp-email-capture' ); ?></h2>
|
65 |
|
66 |
+
<h3><?php _e( 'New in 3.0 - Complete Rewrite', 'wp-email-capture' ); ?></h3>
|
67 |
|
68 |
+
<p><?php _e( 'Version 3.0 introduces a completely rewritten back end, making it faster for the average user, and allowing extensions to be added to the plugin. We also introduced two new translations and fixed a bug.', 'wp-email-capture'); ?></p>
|
69 |
|
70 |
+
<p><a class="non-nav-tab" href="#changelog" id="changelog-tab"><?php _e( 'Read the changelog', 'wp-email-capture'); ?></a></p>
|
71 |
|
72 |
+
<?php
|
73 |
|
74 |
+
do_action( 'wp_email_capture_dashboard_premium_upsell' );
|
75 |
|
76 |
+
?>
|
77 |
|
78 |
+
<h2><?php _e( 'Extensions', 'wp-email-capture' ); ?></h2>
|
79 |
+
<table>
|
80 |
+
<tr>
|
81 |
+
<?php
|
82 |
|
83 |
+
$loop = 0;
|
84 |
+
|
85 |
+
foreach ( $extensionstopush as $extension ) {
|
86 |
+
|
87 |
+
if ( $loop == 3 ) {
|
88 |
+
?>
|
89 |
+
</tr>
|
90 |
+
<tr>
|
91 |
+
<?php
|
92 |
+
}
|
93 |
+
?>
|
94 |
+
<td align="center">
|
95 |
+
<h3><?php echo $extension['name'] ?></h3>
|
96 |
+
<img src="<?php echo $extension['imageurl']; ?>">
|
97 |
+
<p><?php echo $extension['description']; ?></p>
|
98 |
+
<p>
|
99 |
+
<a class="button-primary" href="<?php echo $extension['purchaseurl']; ?>"><?php echo "$" . $extension['price'] . ".00"; ?> <?php _e( 'Buy Now', 'WPEC' ); ?></a>
|
100 |
+
<a class="button-secondary" href="<?php echo $extension['infourl'];?>"><?php _e( 'More Info', 'WPEC' ); ?></a>
|
101 |
+
</p>
|
102 |
+
</td>
|
103 |
+
<?php
|
104 |
+
|
105 |
+
}
|
106 |
+
?>
|
107 |
+
</tr>
|
108 |
+
</table>
|
109 |
+
</div>
|
110 |
|
111 |
+
<div id="changelog" class="wpemailcapture-tab <?php echo $activeupgrade; ?>">
|
112 |
+
<h2><?php _e( 'Changelog', 'wp-email-capture' ); ?></h2>
|
113 |
+
<h3><?php _e( 'Code Refactorisation', 'wp-email-capture' ); ?></h3>
|
114 |
+
<p><?php _e( 'Version 3.0 introduces a completely rewritten back end, making it faster for the average user, and allowing extensions to be added to the plugin.', 'wp-email-capture'); ?></p>
|
115 |
+
<h3><?php _e( '3.1 Changes', 'wp-email-capture' ); ?></h3>
|
116 |
+
<ul>
|
117 |
+
<li><?php echo sprintf( __( 'Removed the default widget title should widget text be blank (props <a href="%s" target="_blank">Hassan Raza</a>)','wp-email-capture' ), 'http://hassan-raza.com/' ); ?></li>
|
118 |
+
<li><?php _e( 'Changed word from "Update" to "Upgrade" for large lists as it was confusing people.','wp-email-capture' ); ?></li>
|
119 |
+
<li><?php _e( 'Changed to new Text Domain as per WordPress new internationalisation integration (wp-email-capture).', 'wp-email-capture' ); ?></li>
|
120 |
+
</ul>
|
121 |
+
</div>
|
122 |
+
|
123 |
+
<div id="credits" class="wpemailcapture-tab">
|
124 |
+
<h2><?php _e( 'Credits', 'wp-email-capture' ); ?></h2>
|
125 |
+
<p><?php _e( 'This plugin has been helped and improved by the following people', 'wp-email-capture' ); ?></p>
|
126 |
+
<ul>
|
127 |
+
<li><?php echo sprintf( __( '<strong>3.1:</strong> <a href="%s" target="_blank">Hassan Raza</a>','wp-email-capture' ), 'http://hassan-raza.com/' ); ?></li>
|
128 |
+
</ul>
|
129 |
+
<h3><?php _e('Translations', 'wp-email-capture' ); ?></h3>
|
130 |
+
<ul>
|
131 |
+
<li><?php echo sprintf( __( '<strong>French Translation:</strong> <a href="%s" target="_blank">Olivier</a> & <a href="%s" target="_blank">Andrew Patton</a> <a href="%s" target="_blank">(@andpatton)</a>.','wp-email-capture' ), 'http://www.ticket-system.net/', 'http://www.acusti.ca/', 'http://twitter.com/andpatton' ); ?></li>
|
132 |
<li><?php echo sprintf( __( '<strong>German Translation:</strong> <a href="%s" target="_blank">Stephan</a>, <a href="%s" target="_blank">Marc Nilius</a> <a href="%s" target="_blank">(@libertello)</a> & Ov3rFly', 'wp-email-capture' ), 'http://www.computersniffer.com/', 'http://www.libertello.de/', 'http://twitter.com/libertello' ); ?></li>
|
133 |
<li><?php echo sprintf( __( '<strong>Brazilian Portugese Translation:</strong> <a href="%s" target="_blank">Nick Lima</a> <a href="%s" target="_blank">(@nick_linux)</a>', 'wp-email-capture' ), 'http://www.nicklima.com.br', 'http://twitter.com/nick_linux' ); ?></li>
|
134 |
<li><?php echo sprintf( __( '<strong>Dutch Translation:</strong> <a href="%s" target="_blank">Sander</a>', 'wp-email-capture' ), 'http://www.zanderz.net/' ); ?></li>
|
inc/process.php
CHANGED
@@ -282,6 +282,13 @@ function wp_capture_email_confirm() {
|
|
282 |
$fullreg = get_bloginfo( 'url' );
|
283 |
}
|
284 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
wp_redirect( $fullreg );
|
286 |
echo "<meta http-equiv='refresh' content='0;". $fullreg ."'>";
|
287 |
die();
|
282 |
$fullreg = get_bloginfo( 'url' );
|
283 |
}
|
284 |
|
285 |
+
$emaildataarray = array(
|
286 |
+
'name' => $name,
|
287 |
+
'email' => $email
|
288 |
+
);
|
289 |
+
|
290 |
+
do_action( 'wp_email_capture_complete_before_redirect', $emaildataarray );
|
291 |
+
|
292 |
wp_redirect( $fullreg );
|
293 |
echo "<meta http-equiv='refresh' content='0;". $fullreg ."'>";
|
294 |
die();
|
readme.md
CHANGED
@@ -6,9 +6,9 @@ Requires at least: 3.0
|
|
6 |
|
7 |
Tested up to: 4.5
|
8 |
|
9 |
-
Version: 3.1.
|
10 |
|
11 |
-
Stable tag: 3.1.
|
12 |
|
13 |
Contributors: rhyswynne
|
14 |
|
@@ -186,6 +186,11 @@ To donate to this plugin, please visit the [WP Email Capture Donations Page](htt
|
|
186 |
|
187 |
Change Log
|
188 |
==========
|
|
|
|
|
|
|
|
|
|
|
189 |
3.1.2
|
190 |
-----
|
191 |
* Reward linkers with a voucher code.
|
6 |
|
7 |
Tested up to: 4.5
|
8 |
|
9 |
+
Version: 3.1.3
|
10 |
|
11 |
+
Stable tag: 3.1.3
|
12 |
|
13 |
Contributors: rhyswynne
|
14 |
|
186 |
|
187 |
Change Log
|
188 |
==========
|
189 |
+
3.1.3
|
190 |
+
-----
|
191 |
+
* Added wp_email_capture_complete_before_redirect action. Allowing data to be manipulated before the redirect.
|
192 |
+
* Added Extensions area of dashboard.
|
193 |
+
|
194 |
3.1.2
|
195 |
-----
|
196 |
* Reward linkers with a voucher code.
|
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: 4.
|
5 |
-
Version: 3.1.
|
6 |
-
Stable tag: 3.1.
|
7 |
Contributors: rhyswynne
|
8 |
Donate link: https://www.wpemailcapture.com/premium/?utm_source=donatelink&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture
|
9 |
|
@@ -159,10 +159,14 @@ Please report any bugs, support and suggestions to the [WP Email Capture Support
|
|
159 |
To donate to this plugin, please visit the [WP Email Capture Donations Page](http://wpemailcapture.com/premium/?utm_source=donate&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
|
160 |
|
161 |
== Change Log ==
|
|
|
|
|
|
|
|
|
162 |
= 3.1.2 =
|
163 |
* Reward linkers with a voucher code.
|
164 |
-
* Included the "Last
|
165 |
-
* Tested up to 4.5
|
166 |
|
167 |
= 3.1.1 =
|
168 |
* Removed a redundant file that, if hacked in, could lead to an injection of content. This file was *not* called normally but in order to remove it upgrade to this version. ** Update strongly required **
|
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: 4.6
|
5 |
+
Version: 3.1.3
|
6 |
+
Stable tag: 3.1.3
|
7 |
Contributors: rhyswynne
|
8 |
Donate link: https://www.wpemailcapture.com/premium/?utm_source=donatelink&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture
|
9 |
|
159 |
To donate to this plugin, please visit the [WP Email Capture Donations Page](http://wpemailcapture.com/premium/?utm_source=donate&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture)
|
160 |
|
161 |
== Change Log ==
|
162 |
+
= 3.1.3 =
|
163 |
+
* Added wp_email_capture_complete_before_redirect action. Allowing data to be manipulated before the redirect.
|
164 |
+
* Added Extensions area of dashboard.
|
165 |
+
|
166 |
= 3.1.2 =
|
167 |
* Reward linkers with a voucher code.
|
168 |
+
* Included the "Last Temporary Signup" date, so they get know the last attempted signup.
|
169 |
+
* Tested up to 4.5.
|
170 |
|
171 |
= 3.1.1 =
|
172 |
* Removed a redundant file that, if hacked in, could lead to an injection of content. This file was *not* called normally but in order to remove it upgrade to this version. ** Update strongly required **
|
wp-email-capture.php
CHANGED
@@ -8,7 +8,7 @@ Plugin URI: https://www.wpemailcapture.com/?utm_source=plugin-link&utm_medium=pl
|
|
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: 3.1.
|
12 |
|
13 |
Author: Winwar Media
|
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: 3.1.3
|
12 |
|
13 |
Author: Winwar Media
|
14 |
|