From 7352531bcbb2df4d0a59c7c7fa966b1d7228b456 Mon Sep 17 00:00:00 2001 From: soup-bowl Date: Mon, 13 Sep 2021 17:13:20 +0100 Subject: [PATCH] Prep for 1.2.1. WPCS recommended adjustments. --- assets/smtp-config.css | 2 +- readme.txt | 7 ++++++- src/settings/class-mailview.php | 2 +- src/settings/class-multisite.php | 3 ++- wp-simple-smtp.php | 2 +- 5 files changed, 11 insertions(+), 5 deletions(-) diff --git a/assets/smtp-config.css b/assets/smtp-config.css index ef329bd..1612f31 100644 --- a/assets/smtp-config.css +++ b/assets/smtp-config.css @@ -41,4 +41,4 @@ .wpsmtp-multisite-table td, .wpsmtp-multisite-table th { padding: 8px 10px; -} \ No newline at end of file +} diff --git a/readme.txt b/readme.txt index abad7e9..a60363d 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: mail,email,smtp,dispatch,sender Requires at least: 4.9 Tested up to: 5.8 Requires PHP: 7.0 -Stable tag: 1.2 +Stable tag: 1.2.1 License: MIT Adds a simple mail configuration panel into your WordPress installation. Supports logging and config variables. @@ -72,6 +72,11 @@ To help diagnose disabled input boxes, when the WordPress site is in [debugging Yes! [Please see our GitHub repository here](https://github.com/soup-bowl/wp-simple-smtp) for writing issues and/or making pull requests. == Changelog == += 1.2.1 = +* Change: Multisite listing table improvements. Thanks to [Kebbet](https://github.com/kebbet) ([#50](https://github.com/soup-bowl/wp-simple-smtp/issues/50)). +* Fix: Line break issue when viewing emails in the site log. Thanks to [Kebbet](https://github.com/kebbet) [#47](https://github.com/soup-bowl/wp-simple-smtp/issues/47). +* Fix: Missed localisations in the multisite table. Thanks to [Kebbet](https://github.com/kebbet) [#45](https://github.com/soup-bowl/wp-simple-smtp/issues/45). + = 1.2 = * New: Multisite settings for admin visibility and override settings ([#6](https://github.com/soup-bowl/wp-simple-smtp/issues/6)). * New: Sites in debug mode will show what stage has set the configuration item in the relevant box. diff --git a/src/settings/class-mailview.php b/src/settings/class-mailview.php index e67670f..52173ac 100644 --- a/src/settings/class-mailview.php +++ b/src/settings/class-mailview.php @@ -65,7 +65,7 @@ public function render_email_view( $id ) {

get_subject() ); ?>

- get_body() ) ); ?> + get_body() ) ); ?>
diff --git a/src/settings/class-multisite.php b/src/settings/class-multisite.php index 59a023d..05992bd 100644 --- a/src/settings/class-multisite.php +++ b/src/settings/class-multisite.php @@ -95,6 +95,7 @@ function () { $url = $site_details->siteurl; $name = $site_details->blogname; $string = \sprintf( + // translators: Tooltip to clarify to the user clicking the link will take them to the child SMTP settings. _x( 'Go to settings for %s', 'Sub site name', 'simple-smtp' ), $name ); @@ -121,7 +122,7 @@ function () { -
+
' value='1'> ' value='1'> diff --git a/wp-simple-smtp.php b/wp-simple-smtp.php index c3f997d..2c59a52 100644 --- a/wp-simple-smtp.php +++ b/wp-simple-smtp.php @@ -10,7 +10,7 @@ * Plugin Name: Simple SMTP * Description: Adds mail configuration to WordPress in a simple, standardised plugin. * Plugin URI: https://www.soupbowl.io/wp-plugins - * Version: 1.2 + * Version: 1.2.1 * Author: soup-bowl * Author URI: https://www.soupbowl.io * License: MIT