Skip to content

Commit

Permalink
* Fix bug with php notice when sending test email.
Browse files Browse the repository at this point in the history
 * Fix missing settings page title.
  • Loading branch information
azurecurve committed Nov 30, 2021
1 parent 37ee2e5 commit a84226e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions azrcrv-smtp.php
Expand Up @@ -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/
Expand Down Expand Up @@ -364,7 +364,7 @@ function azrcrv_smtp_display_options() {
<h1>
<?php
echo '<a href="https://development.azurecurve.co.uk/classicpress-plugins/"><img src="' . esc_attr( plugins_url( '/pluginmenu/images/logo.svg', __FILE__ ) ) . '" style="padding-right: 6px; height: 20px; width: 20px;" alt="azurecurve" /></a>';
esc_html( get_admin_page_title() );
echo esc_html( get_admin_page_title() );
?>
</h1>
<?php if ( $options['smtp-host'] === '' && get_option( 'azrcrv-smtp-maybe', false ) !== false ) { ?>
Expand Down Expand Up @@ -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';
};

Expand Down
8 changes: 6 additions & 2 deletions 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
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit a84226e

Please sign in to comment.