Skip to content

Commit

Permalink
Prep for 1.2.1. WPCS recommended adjustments.
Browse files Browse the repository at this point in the history
  • Loading branch information
soup-bowl committed Sep 13, 2021
1 parent 43f8602 commit 7352531
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/smtp-config.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
.wpsmtp-multisite-table td,
.wpsmtp-multisite-table th {
padding: 8px 10px;
}
}
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/settings/class-mailview.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function render_email_view( $id ) {
<div class="postbox">
<h2 class="hndle"><?php echo esc_html( $log->get_subject() ); ?></h2>
<div class="inside">
<?php echo wpautop( wp_kses_post( $log->get_body() ) ); ?>
<?php echo wp_kses_post( wpautop( $log->get_body() ) ); ?>
</div>
</div>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/settings/class-multisite.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand All @@ -121,7 +122,7 @@ function () {
<tbody>
<?php foreach ( $collection as $site ) : ?>
<tr>
<td><a href="<?php echo esc_url( $site['settings'] ); ?>" title="<?php echo esc_attr( $site['string'] ); ?>"><?php echo $site['name']; ?></a><br /><?php echo esc_url( $site['url'] ); ?></td>
<td><a href="<?php echo esc_url( $site['settings'] ); ?>" title="<?php echo esc_attr( $site['string'] ); ?>"><?php echo esc_attr( $site['name'] ); ?></a><br /><?php echo esc_url( $site['url'] ); ?></td>
<td><input type='checkbox' name='wpssmtp_perm_set_s<?php echo (int) $site['id']; ?>' <?php checked( $site['no_set'], 1 ); ?> value='1'></td>
<td><input type='checkbox' name='wpssmtp_perm_log_s<?php echo (int) $site['id']; ?>' <?php checked( $site['no_log'], 1 ); ?> value='1'></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion wp-simple-smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7352531

Please sign in to comment.