Changeset 1947673
- Timestamp:
- 09/26/2018 09:15:20 PM (8 years ago)
- Location:
- wp-easy-smtp/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (3 diffs)
-
wp-easy-smtp.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-easy-smtp/trunk/readme.txt
r1772327 r1947673 5 5 Requires at least: 4.3 6 6 Tested up to: 4.9 7 Stable tag: 1.1. 17 Stable tag: 1.1.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl.html … … 102 102 == Changelog == 103 103 104 = 1.1.2 = 105 * Disabled browser autocomplete for username and password fields to prevent them from being replaced by WP login credentials (if those were saved in browser). 106 * Fixed some bugs. 107 104 108 = 1.1.1 = 105 * Fixed some bugs 109 * Fixed some bugs. 106 110 107 111 = 1.1.0 = … … 115 119 116 120 = 1.0.3 = 117 * Added Sending email to users and commenters 118 * Fixed some bugs 121 * Added Sending email to users and commenters. 122 * Fixed some bugs. 119 123 120 124 = 1.0.2 = 121 * Fixed some bugs 125 * Fixed some bugs. 122 126 123 127 = 1.0.1 = 124 * Added French language 125 * Added Portuguese language 126 * Added Spanish language 128 * Added French language. 129 * Added Portuguese language. 130 * Added Spanish language. 127 131 128 132 = 1.0.0 = 129 * First commit of the plugin 133 * First commit of the plugin. -
wp-easy-smtp/trunk/wp-easy-smtp.php
r1772320 r1947673 2 2 /* 3 3 Plugin Name: WordPress Easy SMTP 4 Version: 1.1. 14 Version: 1.1.2 5 5 Plugin URI: https://iprodev.com/wordpress-easy-smtp-send-emails-from-your-wordpress-site-using-a-smtp-server 6 6 Author: iProDev … … 20 20 if (!class_exists('WP_Easy_SMTP')): 21 21 class WP_Easy_SMTP { 22 public $VERSION = '1.1. 1';22 public $VERSION = '1.1.2'; 23 23 public $MAIN; 24 24 public $PATH; … … 197 197 <p><?php _e( "You can request your hosting provider for the SMTP details of your site. Use the SMTP details provided by your hosting provider to configure the following settings.", 'wp-easy-smtp' ); ?></p> 198 198 199 <form id="wpesmtp_settings_form" method="post" action="">199 <form autocomplete="off" id="wpesmtp_settings_form" method="post" action=""> 200 200 <input type="hidden" name="wpesmtp_task" value="settings"> 201 201 <table class="form-table"> … … 296 296 <th><?php _e( 'Password', 'wp-easy-smtp' ); ?></th> 297 297 <td> 298 <input type='password' name='wpesmtp_smtp_password' value='<?php echo esc_attr( wpesmtp_get_password() ); ?>' /><br />298 <input type='password' name='wpesmtp_smtp_password' value='<?php echo esc_attr( wpesmtp_get_password() ); ?>' autocomplete='new-password' /><br /> 299 299 <p class="description"><?php _e( "The password to login to your mail server", 'wp-easy-smtp' ); ?></p> 300 300 </td> … … 723 723 $phpmailer->isSMTP(); 724 724 725 $from_email = trim( $options['from_email_field'] ); 726 $from_email = !empty( $from_email ) ? $from_email : get_option( 'admin_email' ); 727 $from_name = trim( $options['from_name_field'] ); 728 $from_name = !empty( $from_name ) ? $from_name : wp_specialchars_decode( get_option( 'blogname' ) ); 729 $phpmailer->From = $from_email; 730 $phpmailer->FromName = $from_name; 731 732 //set Reply-To option if needed 733 if ( !empty( $options['reply_to_email'] ) ) 734 $phpmailer->addReplyTo( $options['reply_to_email'], $phpmailer->FromName ); 725 726 if ( strtolower( trim( $options['from_email_field'] ) ) === strtolower( $phpmailer->From ) ) { 727 $from_email = trim( $options['from_email_field'] ); 728 $from_name = trim( $options['from_name_field'] ); 729 $from_email = !empty( $from_email ) ? $from_email : get_option( 'admin_email' ); 730 $from_name = !empty( $from_name ) ? $from_name : wp_specialchars_decode( get_option( 'blogname' ) ); 731 732 $phpmailer->From = $from_email; 733 $phpmailer->FromName = $from_name; 734 735 //set Reply-To option if needed 736 if ( !empty( $options['reply_to_email'] ) ) 737 $phpmailer->addReplyTo( $options['reply_to_email'], $phpmailer->FromName ); 738 } 735 739 736 740 $phpmailer->SetFrom( $phpmailer->From, $phpmailer->FromName );
Note: See TracChangeset
for help on using the changeset viewer.