updated plugin SMTP Mailer
version 1.1.5
This commit is contained in:
parent
3ffbc5b4f7
commit
9d69ca8941
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: SMTP Mailer
|
||||
Version: 1.1.4
|
||||
Version: 1.1.5
|
||||
Plugin URI: https://wphowto.net/smtp-mailer-plugin-for-wordpress-1482
|
||||
Author: naa986
|
||||
Author URI: https://wphowto.net/
|
||||
@ -16,8 +16,8 @@ if (!defined('ABSPATH')){
|
||||
|
||||
class SMTP_MAILER {
|
||||
|
||||
var $plugin_version = '1.1.4';
|
||||
var $phpmailer_version = '6.6.0';
|
||||
var $plugin_version = '1.1.5';
|
||||
var $phpmailer_version = '6.6.5';
|
||||
var $plugin_url;
|
||||
var $plugin_path;
|
||||
|
||||
@ -555,7 +555,7 @@ function smtp_mailer_pre_wp_mail($null, $atts)
|
||||
if ( false !== $bracket_pos ) {
|
||||
// Text before the bracketed email is the "From" name.
|
||||
if ( $bracket_pos > 0 ) {
|
||||
$from_name = substr( $content, 0, $bracket_pos - 1 );
|
||||
$from_name = substr( $content, 0, $bracket_pos );
|
||||
$from_name = str_replace( '"', '', $from_name );
|
||||
$from_name = trim( $from_name );
|
||||
}
|
||||
@ -608,6 +608,8 @@ function smtp_mailer_pre_wp_mail($null, $atts)
|
||||
$phpmailer->clearAttachments();
|
||||
$phpmailer->clearCustomHeaders();
|
||||
$phpmailer->clearReplyTos();
|
||||
$phpmailer->Body = '';
|
||||
$phpmailer->AltBody = '';
|
||||
|
||||
// Set "From" name and email.
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
Contributors: naa986
|
||||
Donate link: https://wphowto.net/
|
||||
Tags: email, mail, smtp, phpmailer
|
||||
Requires at least: 5.9
|
||||
Tested up to: 6.0
|
||||
Stable tag: 1.1.4
|
||||
Requires at least: 6.1
|
||||
Tested up to: 6.1
|
||||
Stable tag: 1.1.5
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -103,6 +103,9 @@ none
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.1.5 =
|
||||
* Compatibility update for WordPress 6.1.
|
||||
|
||||
= 1.1.4 =
|
||||
* Updated the mail function for WordPress 6.0.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user