WordPress Email Marketing Plugin – WP Email Capture - Version 2.3.1

Version Description

(22/5/12) = * Bug fixes so notices shouldn't appear in debug mode. * Added a for attribute to the form for accessibility.

Download this release

Release Info

Developer rhyswynne
Plugin Icon 128x128 WordPress Email Marketing Plugin – WP Email Capture
Version 2.3.1
Comparing to
See all releases

Code changes from version 2.3 to 2.3.1

Files changed (5) hide show
  1. inc/display.php +4 -4
  2. inc/options.php +4 -4
  3. inc/widget.php +1 -1
  4. readme.txt +6 -2
  5. wp-email-capture.php +2 -2
inc/display.php CHANGED
@@ -19,9 +19,9 @@ $url = addLastCharacter($url);
19
 
20
  } ?>
21
 
22
- <label class="wp-email-capture-name"><?php _e('Name:','WPEC'); ?></label> <input name="wp-email-capture-name" type="text" class="wp-email-capture-name" /><br/>
23
 
24
- <label class="wp-email-capture-email"><?php _e('Email:','WPEC'); ?></label> <input name="wp-email-capture-email" type="text" class="wp-email-capture-email" /><br/>
25
 
26
  <input type="hidden" name="wp_capture_action" value="1" />
27
 
@@ -58,9 +58,9 @@ $url = addLastCharacter($url);
58
 
59
  }
60
 
61
- $display .= "<label class='wp-email-capture-name'>Name:</label> <input name='wp-email-capture-name' type='text' class='wp-email-capture-name' /><br/>\n";
62
 
63
- $display .= "<label class='wp-email-capture-email'>Email:</label> <input name='wp-email-capture-email' type='text' class='wp-email-capture-email' /><br/>\n";
64
 
65
  $display .= "<input type='hidden' name='wp_capture_action' value='1' />\n";
66
 
19
 
20
  } ?>
21
 
22
+ <label class="wp-email-capture-name" for="wp-email-capture-name"><?php _e('Name:','WPEC'); ?></label> <input name="wp-email-capture-name" type="text" class="wp-email-capture-name" /><br/>
23
 
24
+ <label class="wp-email-capture-email" for="wp-email-capture-email"><?php _e('Email:','WPEC'); ?></label> <input name="wp-email-capture-email" type="text" class="wp-email-capture-email" /><br/>
25
 
26
  <input type="hidden" name="wp_capture_action" value="1" />
27
 
58
 
59
  }
60
 
61
+ $display .= "<label class='wp-email-capture-name' for='wp-email-capture-name'>Name:</label> <input name='wp-email-capture-name' type='text' class='wp-email-capture-name' /><br/>\n";
62
 
63
+ $display .= "<label class='wp-email-capture-email' for='wp-email-capture-email'>Email:</label> <input name='wp-email-capture-email' type='text' class='wp-email-capture-email' /><br/>\n";
64
 
65
  $display .= "<input type='hidden' name='wp_capture_action' value='1' />\n";
66
 
inc/options.php CHANGED
@@ -71,7 +71,7 @@ function wp_email_capture_options() {
71
 
72
  <tr valign="top">
73
 
74
- <th scope="row" style="width:400px"><label><?php _e('Page to redirect to on confirmation of email address (full web address ie: http://www.domain.com/this-other-page/)','WPEC'); ?></label></th>
75
 
76
  <td><input type="text" name="wp_email_capture_redirection" class="regular-text code" value="<?php echo get_option('wp_email_capture_redirection'); ?>" /></td>
77
 
@@ -79,7 +79,7 @@ function wp_email_capture_options() {
79
 
80
  <tr valign="top">
81
 
82
- <th scope="row" style="width:400px"><label><?php _e('From Which Email Address','WPEC'); ?></label></th>
83
 
84
  <td><input type="text" name="wp_email_capture_from" class="regular-text code" value="<?php echo get_option('wp_email_capture_from'); ?>" /></td>
85
 
@@ -87,7 +87,7 @@ function wp_email_capture_options() {
87
 
88
  <tr valign="top">
89
 
90
- <th scope="row" style="width:400px"><label><?php _e('From Which Name','WPEC'); ?></label></th>
91
 
92
  <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>
93
 
@@ -103,7 +103,7 @@ function wp_email_capture_options() {
103
 
104
  <tr valign="top">
105
 
106
- <th scope="row" style="width:400px"><label><?php _e('Body of Email','WPEC'); ?><br>
107
  <?php _e('(use %NAME% to use the form\'s &quot;Name&quot; field in their welcome email)','WPEC'); ?></label></th>
108
 
109
  <td><textarea name="wp_email_capture_body" style="width: 25em;"><?php echo get_option('wp_email_capture_body'); ?></textarea></td>
71
 
72
  <tr valign="top">
73
 
74
+ <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/)','WPEC'); ?></label></th>
75
 
76
  <td><input type="text" name="wp_email_capture_redirection" class="regular-text code" value="<?php echo get_option('wp_email_capture_redirection'); ?>" /></td>
77
 
79
 
80
  <tr valign="top">
81
 
82
+ <th scope="row" style="width:400px"><label for="wp_email_capture_from"><?php _e('From Which Email Address','WPEC'); ?></label></th>
83
 
84
  <td><input type="text" name="wp_email_capture_from" class="regular-text code" value="<?php echo get_option('wp_email_capture_from'); ?>" /></td>
85
 
87
 
88
  <tr valign="top">
89
 
90
+ <th scope="row" style="width:400px"><label for="wp_email_capture_from_name"><?php _e('From Which Name','WPEC'); ?></label></th>
91
 
92
  <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>
93
 
103
 
104
  <tr valign="top">
105
 
106
+ <th scope="row" style="width:400px"><label for="wp_email_capture_body"><?php _e('Body of Email','WPEC'); ?><br>
107
  <?php _e('(use %NAME% to use the form\'s &quot;Name&quot; field in their welcome email)','WPEC'); ?></label></th>
108
 
109
  <td><textarea name="wp_email_capture_body" style="width: 25em;"><?php echo get_option('wp_email_capture_body'); ?></textarea></td>
inc/widget.php CHANGED
@@ -59,7 +59,7 @@ class wp_email_capture_widget_class extends WP_Widget {
59
 
60
  }
61
 
62
- add_action('widgets_init', wp_email_capture_widget_init);
63
 
64
  function wp_email_capture_widget_init(){
65
  // curl need to be installed
59
 
60
  }
61
 
62
+ add_action('widgets_init', 'wp_email_capture_widget_init');
63
 
64
  function wp_email_capture_widget_init(){
65
  // curl need to be installed
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Tags: email, marketing, capture, form, affiliates, mailing lists, email marketing, widget ready
3
  Requires at least: 3.0
4
  Tested up to: 3.3.1
5
- Version: 2.3
6
- Stable tag: 2.3
7
  Contributors: rhyswynne
8
  Donate link: http://www.wpemailcapture.com/donations/
9
 
@@ -135,6 +135,10 @@ Please report any bugs, support and suggestions to the [WP Email Capture Support
135
  To donate to this plugin, please visit the [WP Email Capture Donations Page](http://www.wpemailcapture.com/donations/)
136
 
137
  == Change Log ==
 
 
 
 
138
  = 2.3 (09/5/12) =
139
  * Added support to multiple widgets.
140
  * Added language support for the Dutch language.
2
  Tags: email, marketing, capture, form, affiliates, mailing lists, email marketing, widget ready
3
  Requires at least: 3.0
4
  Tested up to: 3.3.1
5
+ Version: 2.3.1
6
+ Stable tag: 2.3.1
7
  Contributors: rhyswynne
8
  Donate link: http://www.wpemailcapture.com/donations/
9
 
135
  To donate to this plugin, please visit the [WP Email Capture Donations Page](http://www.wpemailcapture.com/donations/)
136
 
137
  == Change Log ==
138
+ = 2.3.1 (22/5/12) =
139
+ * Bug fixes so notices shouldn't appear in debug mode.
140
+ * Added a for attribute to the form for accessibility.
141
+
142
  = 2.3 (09/5/12) =
143
  * Added support to multiple widgets.
144
  * Added language support for the Dutch language.
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.3
12
 
13
  Author: Rhys Wynne
14
 
@@ -20,7 +20,7 @@ global $wp_email_capture_db_version;
20
 
21
  $wp_email_capture_db_version = "1.0";
22
 
23
- define(WP_EMAIL_CAPTURE_PATH, dirname(__FILE__));
24
 
25
  require_once(WP_EMAIL_CAPTURE_PATH . '/inc/core.php');
26
 
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.3.1
12
 
13
  Author: Rhys Wynne
14
 
20
 
21
  $wp_email_capture_db_version = "1.0";
22
 
23
+ define('WP_EMAIL_CAPTURE_PATH', dirname(__FILE__));
24
 
25
  require_once(WP_EMAIL_CAPTURE_PATH . '/inc/core.php');
26