diff --git a/azrcrv-smtp.php b/azrcrv-smtp.php
index 1083d9c..783f183 100644
--- a/azrcrv-smtp.php
+++ b/azrcrv-smtp.php
@@ -3,7 +3,7 @@
* ------------------------------------------------------------------------------
* Plugin Name: SMTP
* Description: Simple Mail Transport Protocol (SMTP) plugin.
- * Version: 1.4.1
+ * Version: 1.4.2
* Author: azurecurve
* Author URI: https://development.azurecurve.co.uk/classicpress-plugins/
* Plugin URI: https://development.azurecurve.co.uk/classicpress-plugins/smtp/
@@ -364,7 +364,7 @@ function azrcrv_smtp_display_options() {
';
- esc_html( get_admin_page_title() );
+ echo esc_html( get_admin_page_title() );
?>
@@ -794,7 +794,7 @@ function azrcrv_smtp_send_test_email() {
$level = 2;
$phpmailer->SMTPDebug = 1;
- $phpmailer->Debugoutput = function( $str, $level ) {
+ $phpmailer->Debugoutput = function( $str, $level ) use ( $error ) {
$error .= $level . ': ' . $str . '\n';
};
diff --git a/readme.txt b/readme.txt
index 9f9313f..dd1ff0c 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,13 +1,13 @@
=== SMTP ===
Description: Simple Mail Transport Protocol (SMTP) plugin.
-Version: 1.4.1
+Version: 1.4.2
Tags: smtp,email,phpmailer
Author: azurecurve
Author URI: https://development.azurecurve.co.uk/
Contributors: azurecurve,xxsimoxx
Plugin URI: https://development.azurecurve.co.uk/classicpress-plugins/smtp/
-Download link: https://github.com/azurecurve/azrcrv-smtp/releases/download/v1.4.1/azrcrv-smtp.zip
+Download link: https://github.com/azurecurve/azrcrv-smtp/releases/download/v1.4.2/azrcrv-smtp.zip
Donate link: https://development.azurecurve.co.uk/support-development/
Requires PHP: 5.6
Requires: 1.0.0
@@ -52,6 +52,10 @@ This plugin is developed for ClassicPress, but will likely work on WordPress.
# Changelog
+### [Version 1.4.2](https://github.com/azurecurve/azrcrv-smtp/releases/tag/v1.4.2)
+ * Fix bug with php notice when sending test email.
+ * Fix missing settings page title.
+
### [Version 1.4.1](https://github.com/azurecurve/azrcrv-smtp/releases/tag/v1.4.1)
* Fix bug with azurecurve menu.