Changeset 1242043
- Timestamp:
- 09/10/2015 02:06:14 AM (10 years ago)
- Location:
- easy-wp-smtp/trunk
- Files:
-
- 2 edited
-
easy-wp-smtp.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-wp-smtp/trunk/easy-wp-smtp.php
r1228853 r1242043 2 2 /* 3 3 Plugin Name: Easy WP SMTP 4 Version: 1. 1.94 Version: 1.2.0 5 5 Plugin URI: https://wp-ecommerce.net/easy-wordpress-smtp-send-emails-from-your-wordpress-site-using-a-smtp-server-2197 6 6 Author: wpecommerce … … 345 345 require_once( ABSPATH . WPINC . '/class-phpmailer.php' ); 346 346 $mail = new PHPMailer(); 347 348 $from_name = utf8_decode($swpsmtp_options['from_name_field']); 347 348 $charset = get_bloginfo( 'charset' ); 349 $mail->CharSet = $charset; 350 351 $from_name = $swpsmtp_options['from_name_field']; 349 352 $from_email = $swpsmtp_options['from_email_field']; 350 353 … … 368 371 $mail->SetFrom( $from_email, $from_name ); 369 372 $mail->isHTML( true ); 370 $mail->Subject = utf8_decode($subject);373 $mail->Subject = $subject; 371 374 $mail->MsgHTML( $message ); 372 375 $mail->AddAddress( $to_email ); … … 407 410 $password = ""; 408 411 $decoded_pass = base64_decode($temp_password); 412 /* no additional checks for servers that aren't configured with mbstring enabled */ 413 if ( ! function_exists( 'mb_detect_encoding' ) ){ 414 return $decoded_pass; 415 } 416 /* end of mbstring check */ 409 417 if (base64_encode($decoded_pass) === $temp_password) { //it might be encoded 410 418 if(false === mb_detect_encoding($decoded_pass)){ //could not find character encoding. -
easy-wp-smtp/trunk/readme.txt
r1228853 r1242043 5 5 Requires at least: 3.0 6 6 Tested up to: 4.3 7 Stable tag: 1. 1.97 Stable tag: 1.2.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 75 75 76 76 == Changelog == 77 78 = 1.2.0 = 79 80 * Set email charset to utf-8 for test email functionality. 81 * Run additional checks on the password only if mbstring is enabled on the server. This should fix the issue with password input field not appearing on some servers. 77 82 78 83 = 1.1.9 =
Note: See TracChangeset
for help on using the changeset viewer.