Version Description
Download this release
Release Info
Developer | chmac |
Plugin | WP Mail SMTP by WPForms |
Version | 0.5.2 |
Comparing to | |
See all releases |
Code changes from version 0.5.1 to 0.5.2
- readme.txt +1 -1
- wp_mail_smtp.php +3 -2
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.callum-macdonald.com/code/donate/
|
|
4 |
Tags: mail, smtp, wp_mail, mailer, phpmailer
|
5 |
Requires at least: 2.0
|
6 |
Tested up to: 2.3
|
7 |
-
Stable tag: 0.5.
|
8 |
|
9 |
Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage host, username, password, etc.
|
10 |
|
4 |
Tags: mail, smtp, wp_mail, mailer, phpmailer
|
5 |
Requires at least: 2.0
|
6 |
Tested up to: 2.3
|
7 |
+
Stable tag: 0.5.2
|
8 |
|
9 |
Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage host, username, password, etc.
|
10 |
|
wp_mail_smtp.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP-Mail-SMTP
|
4 |
-
Version: 0.5.
|
5 |
Plugin URI: http://www.callum-macdonald.com/code/wp-mail-smtp/
|
6 |
Description: Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage host, username, password, etc.
|
7 |
Author: Callum Macdonald
|
@@ -22,6 +22,7 @@ Author URI: http://www.callum-macdonald.com/
|
|
22 |
*
|
23 |
* CHANGELOG
|
24 |
*
|
|
|
25 |
* 0.5.1 - Added a check to display a warning on versions prior to 2.3
|
26 |
* 0.5.0 - Upgraded to match 2.3 filters which add a second filter for from name
|
27 |
* 0.4.2 - Fixed a bug in 0.4.1 and added more debugging output
|
@@ -246,7 +247,7 @@ if (!function_exists('wp_mail_smtp_mail_from')) {
|
|
246 |
function wp_mail_smtp_mail_from ($orig) {
|
247 |
|
248 |
// If we can, use the is_email function to verify the email
|
249 |
-
if ( function_exists('is_email') ) {
|
250 |
if ( is_email( get_option('mail_from') ) ) {
|
251 |
return(get_option('mail_from'));
|
252 |
}
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: WP-Mail-SMTP
|
4 |
+
Version: 0.5.2
|
5 |
Plugin URI: http://www.callum-macdonald.com/code/wp-mail-smtp/
|
6 |
Description: Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage host, username, password, etc.
|
7 |
Author: Callum Macdonald
|
22 |
*
|
23 |
* CHANGELOG
|
24 |
*
|
25 |
+
* 0.5.2 - Fixed a pre 2.3 bug to do with mail from
|
26 |
* 0.5.1 - Added a check to display a warning on versions prior to 2.3
|
27 |
* 0.5.0 - Upgraded to match 2.3 filters which add a second filter for from name
|
28 |
* 0.4.2 - Fixed a bug in 0.4.1 and added more debugging output
|
247 |
function wp_mail_smtp_mail_from ($orig) {
|
248 |
|
249 |
// If we can, use the is_email function to verify the email
|
250 |
+
if ( function_exists('is_email') && get_option('db_version') >= 6124 ) {
|
251 |
if ( is_email( get_option('mail_from') ) ) {
|
252 |
return(get_option('mail_from'));
|
253 |
}
|