Configure SMTP - Version 3.0.1

Version Description

  • Update plugin framework to 017 to use password input field instead of text field for SMTP password
Download this release

Release Info

Developer coffee2code
Plugin Icon wp plugin Configure SMTP
Version 3.0.1
Comparing to
See all releases

Code changes from version 3.0 to 3.0.1

Files changed (3) hide show
  1. c2c-plugin.php +6 -6
  2. configure-smtp.php +4 -4
  3. readme.txt +8 -2
c2c-plugin.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * @package C2C_Plugins
4
  * @author Scott Reilly
5
- * @version 016
6
  */
7
  /*
8
  Basis for other plugins
@@ -32,9 +32,9 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRA
32
  IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33
  */
34
 
35
- if ( !class_exists( 'C2C_Plugin_016' ) ) :
36
 
37
- class C2C_Plugin_016 {
38
  var $plugin_css_version = '006';
39
  var $options = array();
40
  var $option_names = array();
@@ -52,7 +52,7 @@ class C2C_Plugin_016 {
52
  * @param array $plugin_options (optional) Array specifying further customization of plugin configuration.
53
  * @return void
54
  */
55
- function C2C_Plugin_016( $version, $id_base, $author_prefix, $file, $plugin_options = array() ) {
56
  global $pagenow;
57
  $id_base = sanitize_title( $id_base );
58
  if ( !file_exists( $file ) )
@@ -677,8 +677,8 @@ CSS;
677
  echo '</fieldset>';
678
  } elseif ( $input == 'checkbox' ) {
679
  echo "<input type='$input' $attribs value='1' " . checked( $value, 1, false ) . " />\n";
680
- } else {
681
- echo "<input type='text' $attribs value='" . esc_attr( $value ) . "' />\n";
682
  }
683
  if ( $help = apply_filters( $this->get_hook( 'option_help'), $this->config[$opt]['help'], $opt ) )
684
  echo "<br /><span class='c2c-input-help'>$help</span>\n";
2
  /**
3
  * @package C2C_Plugins
4
  * @author Scott Reilly
5
+ * @version 017
6
  */
7
  /*
8
  Basis for other plugins
32
  IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33
  */
34
 
35
+ if ( !class_exists( 'C2C_Plugin_017' ) ) :
36
 
37
+ class C2C_Plugin_017 {
38
  var $plugin_css_version = '006';
39
  var $options = array();
40
  var $option_names = array();
52
  * @param array $plugin_options (optional) Array specifying further customization of plugin configuration.
53
  * @return void
54
  */
55
+ function C2C_Plugin_017( $version, $id_base, $author_prefix, $file, $plugin_options = array() ) {
56
  global $pagenow;
57
  $id_base = sanitize_title( $id_base );
58
  if ( !file_exists( $file ) )
677
  echo '</fieldset>';
678
  } elseif ( $input == 'checkbox' ) {
679
  echo "<input type='$input' $attribs value='1' " . checked( $value, 1, false ) . " />\n";
680
+ } else { // Only 'text' and 'password' should fall through to here.
681
+ echo "<input type='$input' $attribs value='" . esc_attr( $value ) . "' />\n";
682
  }
683
  if ( $help = apply_filters( $this->get_hook( 'option_help'), $this->config[$opt]['help'], $opt ) )
684
  echo "<br /><span class='c2c-input-help'>$help</span>\n";
configure-smtp.php CHANGED
@@ -2,11 +2,11 @@
2
  /**
3
  * @package Configure_SMTP
4
  * @author Scott Reilly
5
- * @version 3.0
6
  */
7
  /*
8
  Plugin Name: Configure SMTP
9
- Version: 3.0
10
  Plugin URI: http://coffee2code.com/wp-plugins/configure-smtp/
11
  Author: Scott Reilly
12
  Author URI: http://coffee2code.com
@@ -41,7 +41,7 @@ if ( !class_exists( 'c2c_ConfigureSMTP' ) ) :
41
 
42
  require_once( 'c2c-plugin.php' );
43
 
44
- class c2c_ConfigureSMTP extends C2C_Plugin_016 {
45
 
46
  var $gmail_config = array(
47
  'host' => 'smtp.gmail.com',
@@ -56,7 +56,7 @@ class c2c_ConfigureSMTP extends C2C_Plugin_016 {
56
  * @return void
57
  */
58
  function c2c_ConfigureSMTP() {
59
- $this->C2C_Plugin_016( '3.0', 'configure-smtp', 'c2c', __FILE__, array() );
60
  }
61
 
62
  /**
2
  /**
3
  * @package Configure_SMTP
4
  * @author Scott Reilly
5
+ * @version 3.0.1
6
  */
7
  /*
8
  Plugin Name: Configure SMTP
9
+ Version: 3.0.1
10
  Plugin URI: http://coffee2code.com/wp-plugins/configure-smtp/
11
  Author: Scott Reilly
12
  Author URI: http://coffee2code.com
41
 
42
  require_once( 'c2c-plugin.php' );
43
 
44
+ class c2c_ConfigureSMTP extends C2C_Plugin_017 {
45
 
46
  var $gmail_config = array(
47
  'host' => 'smtp.gmail.com',
56
  * @return void
57
  */
58
  function c2c_ConfigureSMTP() {
59
+ $this->C2C_Plugin_017( '3.0.1', 'configure-smtp', 'c2c', __FILE__, array() );
60
  }
61
 
62
  /**
readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: http://coffee2code.com/donate
4
  Tags: email, smtp, gmail, sendmail, wp_mail, phpmailer, outgoing mail, tls, ssl, security, privacy, wp-phpmailer, coffee2code
5
  Requires at least: 2.8
6
  Tested up to: 3.0.1
7
- Stable tag: 3.0
8
- Version: 3.0
9
 
10
  Configure SMTP mailing in WordPress, including support for sending e-mail via SSL/TLS (such as GMail).
11
 
@@ -62,6 +62,9 @@ If your settings worked, you should receive the test e-mail at the e-mail addres
62
 
63
  == Changelog ==
64
 
 
 
 
65
  = 3.0 =
66
  * Re-implementation by extending C2C_Plugin_016, which among other things adds support for:
67
  * Reset of options to default values
@@ -131,5 +134,8 @@ If your settings worked, you should receive the test e-mail at the e-mail addres
131
 
132
  == Upgrade Notice ==
133
 
 
 
 
134
  = 3.0 =
135
  Recommended update! This release includes a major re-implementation, bug fixes, localization support, and more.
4
  Tags: email, smtp, gmail, sendmail, wp_mail, phpmailer, outgoing mail, tls, ssl, security, privacy, wp-phpmailer, coffee2code
5
  Requires at least: 2.8
6
  Tested up to: 3.0.1
7
+ Stable tag: 3.0.1
8
+ Version: 3.0.1
9
 
10
  Configure SMTP mailing in WordPress, including support for sending e-mail via SSL/TLS (such as GMail).
11
 
62
 
63
  == Changelog ==
64
 
65
+ = 3.0.1 =
66
+ * Update plugin framework to 017 to use password input field instead of text field for SMTP password
67
+
68
  = 3.0 =
69
  * Re-implementation by extending C2C_Plugin_016, which among other things adds support for:
70
  * Reset of options to default values
134
 
135
  == Upgrade Notice ==
136
 
137
+ = 3.0.1 =
138
+ Minor update. Use password input field for SMTP password instead of regular text input field.
139
+
140
  = 3.0 =
141
  Recommended update! This release includes a major re-implementation, bug fixes, localization support, and more.