Version Description
- Make it compatible with 4.8
- Make the "Buy Link" in WP Email Capture include a coupon
- Include links to compatible services on the Plugin Dashboard
Download this release
Release Info
Developer | rhyswynne |
Plugin | WordPress Email Marketing Plugin – WP Email Capture |
Version | 3.3.2 |
Comparing to | |
See all releases |
Code changes from version 3.3.1 to 3.3.2
- inc/functions.php +3 -2
- inc/options.php +150 -114
- readme.txt +9 -4
- wp-email-capture.php +1 -1
inc/functions.php
CHANGED
@@ -89,7 +89,8 @@ function wp_email_capture_admin_notice() {
|
|
89 |
function wp_email_capture_admin_upsell() {
|
90 |
global $current_user;
|
91 |
$user_id = $current_user->ID;
|
92 |
-
$
|
|
|
93 |
$discountcode = "BIGLISTUPGRADE";
|
94 |
$discountamount = "15%";
|
95 |
/* Check that the user hasn't already clicked to ignore the message */
|
@@ -102,7 +103,7 @@ function wp_email_capture_admin_upsell() {
|
|
102 |
<h3>WP Email Capture - Over 500 Emails</h3>
|
103 |
<p>WP Email Capture has over 500 entries. Whilst the plugin is free for use forever, it does struggle a bit with very large lists.</p>
|
104 |
<p>WP Email Caputre Premium is better suited to large lists, so please consider upgrading. As a thank you for using us for so long, use discount code <strong>%3$s</strong> for <strong>%4$s</strong> off.</p>
|
105 |
-
<p><a href="%2$s" class="button button-primary button-hero"><strong>Upgrade WP Email Capture</strong></a></p></div>' ), '?wp_email_capture_upsell_ignore=0', $upgradeurl, $discountcode, $discountamount );
|
106 |
echo "</div>";
|
107 |
}
|
108 |
}
|
89 |
function wp_email_capture_admin_upsell() {
|
90 |
global $current_user;
|
91 |
$user_id = $current_user->ID;
|
92 |
+
$infourl = "https://www.wpemailcapture.com/premium/?utm_source=upsellinfo&utm_medium=plugin&utm_campaign=wpemailcapture";
|
93 |
+
$upgradeurl = "https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=802&discount=BIGLISTUPGRADE&utm_source=upsell&utm_medium=plugin&utm_campaign=wpemailcapture";
|
94 |
$discountcode = "BIGLISTUPGRADE";
|
95 |
$discountamount = "15%";
|
96 |
/* Check that the user hasn't already clicked to ignore the message */
|
103 |
<h3>WP Email Capture - Over 500 Emails</h3>
|
104 |
<p>WP Email Capture has over 500 entries. Whilst the plugin is free for use forever, it does struggle a bit with very large lists.</p>
|
105 |
<p>WP Email Caputre Premium is better suited to large lists, so please consider upgrading. As a thank you for using us for so long, use discount code <strong>%3$s</strong> for <strong>%4$s</strong> off.</p>
|
106 |
+
<p><a href="%2$s" class="button button-primary button-hero"><strong>Upgrade WP Email Capture</strong></a><a href="%5$s" class="button button-secondary button-hero"><strong>More Info</strong></a></p></div>' ), '?wp_email_capture_upsell_ignore=0', $upgradeurl, $discountcode, $discountamount, $infourl );
|
107 |
echo "</div>";
|
108 |
}
|
109 |
}
|
inc/options.php
CHANGED
@@ -27,23 +27,42 @@ function wp_email_capture_dashboard() {
|
|
27 |
'name' => __('WP Email Capture - Akismet Integration', 'WPEC' ),
|
28 |
'description' => __( 'Integrate WP Email Capture with <a href="https://akismet.com/">Akismet</a>'),
|
29 |
'price' => '20',
|
30 |
-
'purchaseurl' => 'https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=2823',
|
31 |
-
'infourl' => 'https://www.wpemailcapture.com/downloads/wp-email-capture-akismet-integration
|
32 |
'imageurl' => WP_EMAIL_CAPTURE_URL . '/inc/img/akismet-image.gif',
|
33 |
'slug' => 'wpemailcaptureakismetintegration'
|
34 |
),
|
35 |
array(
|
36 |
|
37 |
'name' => __('WP Email Capture - Drip Integration', 'WPEC' ),
|
38 |
-
'description' => __( 'Integrate WP Email Capture with <a href="https://www.wpemailcapture.com/recommends/drip
|
39 |
'price' => '15',
|
40 |
-
'purchaseurl' => 'https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=2415',
|
41 |
-
'infourl' => 'https://www.wpemailcapture.com/downloads/wp-email-capture-drip-integration
|
42 |
'imageurl' => WP_EMAIL_CAPTURE_URL . '/inc/img/drip-image.png',
|
43 |
'slug' => 'wpemailcapturedripintegration'
|
44 |
)
|
45 |
);
|
46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
?>
|
48 |
<div class="wrap about-wrap">
|
49 |
|
@@ -116,6 +135,23 @@ function wp_email_capture_dashboard() {
|
|
116 |
?>
|
117 |
</tr>
|
118 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
</div>
|
120 |
|
121 |
<div id="changelog" class="wpemailcapture-tab <?php echo $activeupgrade; ?>">
|
@@ -166,201 +202,201 @@ function wp_email_capture_free_options() {
|
|
166 |
|
167 |
echo '<div class="wrap">
|
168 |
<div style="width:70%;float:left;clear:both;" class="postbox-container">
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
|
173 |
-
|
|
|
|
|
174 |
|
175 |
-
|
176 |
|
177 |
-
|
178 |
|
179 |
-
|
180 |
|
181 |
-
|
182 |
|
183 |
-
|
184 |
|
185 |
-
|
186 |
|
187 |
-
|
188 |
|
189 |
-
|
190 |
|
191 |
-
|
192 |
|
193 |
-
|
194 |
|
195 |
-
|
196 |
|
197 |
-
|
198 |
|
199 |
-
|
200 |
|
201 |
-
|
202 |
|
203 |
-
|
204 |
|
205 |
-
|
206 |
|
207 |
-
|
208 |
|
209 |
-
|
210 |
|
211 |
-
|
212 |
|
213 |
-
|
214 |
|
215 |
-
|
216 |
|
217 |
-
|
218 |
|
219 |
-
|
220 |
|
221 |
-
|
222 |
|
223 |
-
|
224 |
|
225 |
-
|
|
|
|
|
226 |
|
227 |
-
|
228 |
-
<?php _e( '(use %NAME% to use the form\'s "Name" field in their welcome email)', 'wp-email-capture' ); ?></label>
|
229 |
-
</th>
|
230 |
|
231 |
-
|
232 |
|
233 |
-
|
234 |
|
235 |
-
|
236 |
|
237 |
-
|
|
|
|
|
|
|
238 |
|
239 |
-
|
240 |
-
<input type="checkbox" name="wp_email_capture_link" value="1" <?php checked( get_option( 'wp_email_capture_link' ), 1 ); ?> id="wp_email_capture_link_checkbox" />
|
241 |
-
<?php $prechecked = get_option( 'wp_email_capture_link' ) == 1 ? "wp_email_capture_admin_discount_active" : ""; ?>
|
242 |
-
</td>
|
243 |
|
244 |
-
|
|
|
|
|
|
|
|
|
245 |
|
246 |
-
|
247 |
-
<td colspan="2">
|
248 |
-
<?php printf( __( 'Thanks for linking to us! As a thank you, use code <strong>LINK20</strong> to get 20% off <a href="%s">WP Email Capture Premium</a>, or any extension from the <a href="%s">WP Email Capture Shop</a>.', 'wp-email-capture' ), 'https://www.wpemailcapture.com/premium/?utm_source=plugin-options&utm_medium=plugin&utm_term=checkedlink&utm_campaign=wpemailcapture', 'https://www.wpemailcapture.com/downloads/?utm_source=plugin-options&utm_medium=plugin&utm_term=checkedlink&utm_campaign=wpemailcapture' ); ?>
|
249 |
-
</td>
|
250 |
-
</tr>
|
251 |
|
252 |
-
|
253 |
|
254 |
-
<th scope="row" style="width:400px"><label><?php _e( 'Make The "Name" field a required field?', 'wp-email-capture' ); ?></label></th>
|
255 |
|
256 |
-
|
257 |
|
258 |
-
|
259 |
|
260 |
-
|
261 |
|
262 |
-
|
263 |
|
264 |
-
|
265 |
|
266 |
-
|
267 |
|
268 |
-
|
269 |
|
270 |
-
|
271 |
|
272 |
-
|
273 |
|
274 |
-
|
275 |
|
276 |
-
|
277 |
|
278 |
-
|
279 |
|
280 |
-
|
281 |
|
282 |
-
|
283 |
-
|
284 |
|
285 |
-
|
286 |
|
287 |
-
|
288 |
|
289 |
-
|
290 |
|
291 |
-
|
292 |
|
293 |
-
|
294 |
|
295 |
-
|
296 |
|
297 |
-
|
298 |
|
299 |
-
|
300 |
|
301 |
-
|
302 |
|
303 |
|
304 |
|
305 |
-
|
306 |
|
307 |
-
|
308 |
|
309 |
-
|
310 |
-
|
311 |
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
|
318 |
-
|
319 |
|
320 |
-
|
321 |
-
|
322 |
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
|
330 |
-
|
331 |
|
332 |
-
|
333 |
|
334 |
-
|
335 |
|
336 |
-
|
337 |
|
338 |
-
|
339 |
|
340 |
-
|
341 |
|
342 |
-
|
343 |
|
344 |
-
|
345 |
|
346 |
-
|
347 |
|
348 |
-
|
349 |
|
350 |
-
|
351 |
|
352 |
-
|
353 |
|
354 |
-
|
355 |
|
356 |
-
|
357 |
|
358 |
-
|
359 |
-
|
360 |
|
361 |
|
362 |
-
|
363 |
-
}
|
364 |
|
365 |
|
366 |
/**
|
27 |
'name' => __('WP Email Capture - Akismet Integration', 'WPEC' ),
|
28 |
'description' => __( 'Integrate WP Email Capture with <a href="https://akismet.com/">Akismet</a>'),
|
29 |
'price' => '20',
|
30 |
+
'purchaseurl' => 'https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=2823&utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur',
|
31 |
+
'infourl' => 'https://www.wpemailcapture.com/downloads/wp-email-capture-akismet-integration/?utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur',
|
32 |
'imageurl' => WP_EMAIL_CAPTURE_URL . '/inc/img/akismet-image.gif',
|
33 |
'slug' => 'wpemailcaptureakismetintegration'
|
34 |
),
|
35 |
array(
|
36 |
|
37 |
'name' => __('WP Email Capture - Drip Integration', 'WPEC' ),
|
38 |
+
'description' => __( 'Integrate WP Email Capture with <a href="https://www.wpemailcapture.com/recommends/drip/?utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur">Drip</a>'),
|
39 |
'price' => '15',
|
40 |
+
'purchaseurl' => 'https://www.wpemailcapture.com/checkout/?edd_action=add_to_cart&download_id=2415&utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcaptur',
|
41 |
+
'infourl' => 'https://www.wpemailcapture.com/downloads/wp-email-capture-drip-integration/?utm_source=plugin-dashboard-extensions&utm_medium=plugin&utm_campaign=wpemailcapture',
|
42 |
'imageurl' => WP_EMAIL_CAPTURE_URL . '/inc/img/drip-image.png',
|
43 |
'slug' => 'wpemailcapturedripintegration'
|
44 |
)
|
45 |
);
|
46 |
|
47 |
+
$compatibleservices = array(
|
48 |
+
|
49 |
+
array(
|
50 |
+
'name' => 'Aweber',
|
51 |
+
'url' => 'https://www.wpemailcapture.com/recommends/aweber/'
|
52 |
+
),
|
53 |
+
|
54 |
+
array(
|
55 |
+
'name' => 'Mailchimp',
|
56 |
+
'url' => 'https://www.wpemailcapture.com/recommends/mailchimp/'
|
57 |
+
),
|
58 |
+
|
59 |
+
array(
|
60 |
+
'name' => 'Madmimi',
|
61 |
+
'url' => 'https://www.wpemailcapture.com/recommends/madmimi/'
|
62 |
+
),
|
63 |
+
|
64 |
+
);
|
65 |
+
|
66 |
?>
|
67 |
<div class="wrap about-wrap">
|
68 |
|
135 |
?>
|
136 |
</tr>
|
137 |
</table>
|
138 |
+
|
139 |
+
<h2><?php _e( 'Compatible Services', 'wp-email-capture' ); ?></h2>
|
140 |
+
<p><?php _e( 'WP Email Capture email lists are compatible with the following marketing services.', 'wp-email-capture' ); ?></p>
|
141 |
+
<ul>
|
142 |
+
<?php
|
143 |
+
|
144 |
+
$loop = 0;
|
145 |
+
|
146 |
+
foreach ( $compatibleservices as $service ) {
|
147 |
+
?>
|
148 |
+
<li><a href="<?php echo $service['url']; ?>?utm_source=plugin-dashboard-compatibleservices&utm_medium=plugin&utm_campaign=wpemailcapture"><?php echo $service['name']; ?></a></li>
|
149 |
+
<?php
|
150 |
+
|
151 |
+
}
|
152 |
+
?>
|
153 |
+
</ul>
|
154 |
+
|
155 |
</div>
|
156 |
|
157 |
<div id="changelog" class="wpemailcapture-tab <?php echo $activeupgrade; ?>">
|
202 |
|
203 |
echo '<div class="wrap">
|
204 |
<div style="width:70%;float:left;clear:both;" class="postbox-container">
|
205 |
+
<div class="metabox-holder"><div class="meta-box-sortables">
|
206 |
+
<h2>'.__( 'WP Email Capture Options', 'wp-email-capture' ).'</h2>
|
207 |
+
<h3>'.__( 'Options', 'wp-email-capture' ).'</h3>';
|
208 |
|
209 |
+
?>
|
210 |
+
|
211 |
+
<form method="post" action="options.php">
|
212 |
|
213 |
+
<?php wp_nonce_field( 'update-options' ); ?>
|
214 |
|
215 |
+
<?php settings_fields( 'wp-email-capture-group' ); ?>
|
216 |
|
217 |
+
<table class="form-table">
|
218 |
|
219 |
+
<tbody>
|
220 |
|
221 |
+
<tr valign="top">
|
222 |
|
223 |
+
<th scope="row" style="width:400px"><?php _e( 'Page to redirect to on sign up (full web address ie: http://www.domain.com/this-page/)', 'wp-email-capture' ); ?></th>
|
224 |
|
225 |
+
<td><input type="text" name="wp_email_capture_signup" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_signup' ); ?>" /></td>
|
226 |
|
227 |
+
</tr>
|
228 |
|
229 |
+
<tr valign="top">
|
230 |
|
231 |
+
<th scope="row" style="width:400px"><label for="wp_email_capture_redirection"><?php _e( 'Page to redirect to on confirmation of email address (full web address ie: http://www.domain.com/this-other-page/)', 'wp-email-capture' ); ?></label></th>
|
232 |
|
233 |
+
<td><input type="text" name="wp_email_capture_redirection" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_redirection' ); ?>" /></td>
|
234 |
|
235 |
+
</tr>
|
236 |
|
237 |
+
<tr valign="top">
|
238 |
|
239 |
+
<th scope="row" style="width:400px"><label for="wp_email_capture_from"><?php _e( 'From Which Email Address', 'wp-email-capture' ); ?></label></th>
|
240 |
|
241 |
+
<td><input type="text" name="wp_email_capture_from" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_from' ); ?>" /></td>
|
242 |
|
243 |
+
</tr>
|
244 |
|
245 |
+
<tr valign="top">
|
246 |
|
247 |
+
<th scope="row" style="width:400px"><label for="wp_email_capture_from_name"><?php _e( 'From Which Name', 'wp-email-capture' ); ?></label></th>
|
248 |
|
249 |
+
<td><input type="text" name="wp_email_capture_from_name" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_from_name' ); ?>" /></td>
|
250 |
|
251 |
+
</tr>
|
252 |
|
253 |
+
<tr valign="top">
|
254 |
|
255 |
+
<th scope="row" style="width:400px"><?php _e( 'Subject of Email', 'wp-email-capture' ); ?></th>
|
256 |
|
257 |
+
<td><input type="text" name="wp_email_capture_subject" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_subject' ); ?>" /></td>
|
258 |
|
259 |
+
</tr>
|
260 |
|
261 |
+
<tr valign="top">
|
262 |
|
263 |
+
<th scope="row" style="width:400px"><label for="wp_email_capture_body"><?php _e( 'Body of Email', 'wp-email-capture' ); ?><br>
|
264 |
+
<?php _e( '(use %NAME% to use the form\'s "Name" field in their welcome email)', 'wp-email-capture' ); ?></label>
|
265 |
+
</th>
|
266 |
|
267 |
+
<td><textarea name="wp_email_capture_body" style="width: 25em;"><?php echo get_option( 'wp_email_capture_body' ); ?></textarea></td>
|
|
|
|
|
268 |
|
269 |
+
</tr>
|
270 |
|
271 |
+
<tr valign="top">
|
272 |
|
273 |
+
<th scope="row" style="width:400px"><label><?php _e( 'Link to us (optional, but appreciated)', 'wp-email-capture' ); ?></label></th>
|
274 |
|
275 |
+
<td>
|
276 |
+
<input type="checkbox" name="wp_email_capture_link" value="1" <?php checked( get_option( 'wp_email_capture_link' ), 1 ); ?> id="wp_email_capture_link_checkbox" />
|
277 |
+
<?php $prechecked = get_option( 'wp_email_capture_link' ) == 1 ? "wp_email_capture_admin_discount_active" : ""; ?>
|
278 |
+
</td>
|
279 |
|
280 |
+
</tr>
|
|
|
|
|
|
|
281 |
|
282 |
+
<tr class="wp_email_capture_admin_discount <?php echo $prechecked; ?>">
|
283 |
+
<td colspan="2">
|
284 |
+
<?php printf( __( 'Thanks for linking to us! As a thank you, use code <strong>LINK20</strong> to get 20% off <a href="%s">WP Email Capture Premium</a>, or any extension from the <a href="%s">WP Email Capture Shop</a>.', 'wp-email-capture' ), 'https://www.wpemailcapture.com/premium/?utm_source=plugin-options&utm_medium=plugin&utm_term=checkedlink&utm_campaign=wpemailcapture', 'https://www.wpemailcapture.com/downloads/?utm_source=plugin-options&utm_medium=plugin&utm_term=checkedlink&utm_campaign=wpemailcapture' ); ?>
|
285 |
+
</td>
|
286 |
+
</tr>
|
287 |
|
288 |
+
<tr valign="top">
|
|
|
|
|
|
|
|
|
289 |
|
290 |
+
<th scope="row" style="width:400px"><label><?php _e( 'Make The "Name" field a required field?', 'wp-email-capture' ); ?></label></th>
|
291 |
|
|
|
292 |
|
|
|
293 |
|
294 |
+
<td><input type="checkbox" name="wp_email_capture_name_required" value="1" <?php checked( get_option( 'wp_email_capture_name_required' ), 1 ); ?> /></td>
|
295 |
|
296 |
+
</tr>
|
297 |
|
298 |
+
<tr valign="top">
|
299 |
|
300 |
+
<th scope="row" style="width:400px"><?php _e( 'Delimeter (leave blank for a comma)', 'wp-email-capture' ); ?></th>
|
301 |
|
302 |
+
<td><input type="text" name="wp_email_capture_name_delimeter" class="regular-text code" value="<?php echo get_option( 'wp_email_capture_name_delimeter' ); ?>" /></td>
|
303 |
|
304 |
+
</tr>
|
305 |
|
306 |
+
<tr valign="top">
|
307 |
|
308 |
+
<th scope="row" style="width:400px"><?php _e( 'Send HTML email?', 'wp-email-capture' ); ?></th>
|
309 |
|
310 |
+
<td><input type="checkbox" name="wp_email_capture_send_email_html" value="1" <?php checked( get_option( 'wp_email_capture_send_email_html' ), 1 ); ?> /></td>
|
311 |
|
312 |
+
</tr>
|
313 |
|
314 |
+
<tr valign="top">
|
315 |
|
316 |
+
<th scope="row" style="width:400px"><?php _e( 'Disable Headers', 'wp-email-capture' ); ?></th>
|
317 |
|
318 |
+
<td><input type="checkbox" name="wp_email_capture_disabled_headers" value="1" <?php checked( get_option( 'wp_email_capture_disabled_headers' ), 1 ); ?> /><br/>
|
319 |
+
<span class="description"><?php _e( 'If you are having problems with sending emails (such as with Amazon SES), disable this','wp-email-capture' ); ?></span></td>
|
320 |
|
321 |
+
</tr>
|
322 |
|
323 |
+
</tbody>
|
324 |
|
325 |
+
</table>
|
326 |
|
327 |
+
<input type="hidden" name="action" value="update" />
|
328 |
|
329 |
+
<input type="hidden" name="page_options" value="wp_email_capture_redirection,wp_email_capture_from,wp_email_capture_subject,wp_email_capture_signup,wp_email_capture_body,wp_email_capture_from_name,wp_email_capture_link,wp_email_capture_name_required,wp_email_capture_name_delimeter,wp_email_capture_send_email_html,wp_email_capture_disabled_headers" />
|
330 |
|
331 |
+
<p class="submit">
|
332 |
|
333 |
+
<input type="submit" class="button-primary" value="<?php _e( 'Save Changes', 'wp-email-capture' ) ?>" />
|
334 |
|
335 |
+
</p>
|
336 |
|
337 |
+
</form>
|
338 |
|
339 |
|
340 |
|
341 |
+
<?php
|
342 |
|
343 |
+
wp_email_capture_writetable();
|
344 |
|
345 |
+
echo '<a name="list"></a><h3>'.__( 'Export', 'wp-email-capture' ).'</h3>
|
346 |
+
<form name="wp_email_capture_export" action="'. esc_url( $_SERVER['REQUEST_URI'] ) . '#list" method="post">
|
347 |
|
348 |
+
<label>'.__( 'Use the button below to export your list as a CSV to use in 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>', 'wp-email-capture' ).'</label>
|
349 |
+
<input type="hidden" name="wp_email_capture_export" />
|
350 |
+
<div class="submit">
|
351 |
+
<input type="submit" value="'.__( 'Export List', 'wp-email-capture' ).'" class="button" />
|
352 |
+
</div>
|
353 |
|
354 |
+
</form>';
|
355 |
|
356 |
+
$tempemails = wp_email_capture_count_temp();
|
357 |
+
$lastsignupdatestring = wp_email_capture_get_last_singup_date();
|
358 |
|
359 |
+
if ( $lastsignupdatestring ) {
|
360 |
+
$lastsignupdate = date( "jS F, Y g:ia", strtotime( $lastsignupdatestring ) );
|
361 |
+
$lastsignupdatesentance = __( ' The last attempted signup was on ' . $lastsignupdate . '.', 'wp-email-capture' );
|
362 |
+
} else {
|
363 |
+
$lastsignupdatesentance = "";
|
364 |
+
}
|
365 |
|
366 |
+
echo "<a name='truncate'></a><h3>".__( 'Temporary e-mails', 'wp-email-capture' )."</h3>\n";
|
367 |
|
368 |
+
echo '<form name="wp_email_capture_truncate" action="'. esc_url( $_SERVER['REQUEST_URI'] ) . '#truncate" method="post">';
|
369 |
|
370 |
+
echo '<label>'.__( 'There are', 'wp-email-capture' ).' '. $tempemails .__( ' e-mail addresses that have been unconfirmed.' . $lastsignupdatesentance . ' Delete them to save space below.', 'wp-email-capture' ).'</label>';
|
371 |
|
372 |
+
echo '<input type="hidden" name="wp_email_capture_truncate"/>';
|
373 |
|
374 |
+
echo '<div class="submit"><input type="submit" value="'.__( 'Delete Unconfirmed e-mail Addresses', 'wp-email-capture' ).'" class="button" /></div>';
|
375 |
|
376 |
+
echo "</form>";
|
377 |
|
378 |
+
echo "<a name='emptyallemails'></a><h3>".__( 'Delete Current List', 'wp-email-capture' )."</h3>\n";
|
379 |
|
380 |
+
echo '<form name="wp_email_capture_delete" action="'. esc_url( $_SERVER['REQUEST_URI'] ) . '#delete" method="post">';
|
381 |
|
382 |
+
echo '<label>'.__( 'Want to delete the entire list? Click the link below. <strong>WARNING: </strong> this will delete all confirmed emails, so make sure you have a backup.', 'wp-email-capture' ).'</label>';
|
383 |
|
384 |
+
echo '<input type="hidden" name="wp_email_capture_delete"/>';
|
385 |
|
386 |
+
echo '<div class="submit"><input type="submit" value="'.__( 'Delete Confirmed e-mail Addresses', 'wp-email-capture' ).'" class="button" /></div>';
|
387 |
|
388 |
+
echo "</form>";
|
389 |
|
390 |
+
echo '</div></div></div>';
|
391 |
|
392 |
+
wp_email_capture_admin_sidebar( "getwpemailcapturepremiumdescription,affiliates,news,supportus" );
|
393 |
|
394 |
+
echo '</div>';
|
395 |
+
?>
|
396 |
|
397 |
|
398 |
+
<?php
|
399 |
+
}
|
400 |
|
401 |
|
402 |
/**
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== WordPress Email Marketing Plugin - WP Email Capture ===
|
2 |
-
Tags: email
|
3 |
Requires at least: 3.0
|
4 |
-
Tested up to: 4.
|
5 |
-
Version: 3.3.
|
6 |
-
Stable tag: 3.3.
|
7 |
Contributors: rhyswynne
|
8 |
Donate link: https://www.wpemailcapture.com/premium/?utm_source=donatelink&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture
|
9 |
|
@@ -159,6 +159,11 @@ This plugin does use widgets, so probably yes :)
|
|
159 |
Wherever you put in %NAME% (spelt exactly like that, uppercase as well), it will be replaced with the name given by the user.
|
160 |
|
161 |
== Change Log ==
|
|
|
|
|
|
|
|
|
|
|
162 |
= 3.3.1 =
|
163 |
* Fixes a conflict with other plugins that send HTML emails.
|
164 |
|
1 |
=== WordPress Email Marketing Plugin - WP Email Capture ===
|
2 |
+
Tags: email marketing, email, affiliates, mailing lists, mailing list, widget ready
|
3 |
Requires at least: 3.0
|
4 |
+
Tested up to: 4.8
|
5 |
+
Version: 3.3.2
|
6 |
+
Stable tag: 3.3.2
|
7 |
Contributors: rhyswynne
|
8 |
Donate link: https://www.wpemailcapture.com/premium/?utm_source=donatelink&utm_medium=wordpressorgreadme&utm_campaign=wpemailcapture
|
9 |
|
159 |
Wherever you put in %NAME% (spelt exactly like that, uppercase as well), it will be replaced with the name given by the user.
|
160 |
|
161 |
== Change Log ==
|
162 |
+
= 3.3.2 =
|
163 |
+
* Make it compatible with 4.8
|
164 |
+
* Make the "Buy Link" in WP Email Capture include a coupon
|
165 |
+
* Include links to compatible services on the Plugin Dashboard
|
166 |
+
|
167 |
= 3.3.1 =
|
168 |
* Fixes a conflict with other plugins that send HTML emails.
|
169 |
|
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.3.
|
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.3.2
|
12 |
|
13 |
Author: Winwar Media
|
14 |
|