Check Email - Version 1.0.6

Version Description

Download this release

Release Info

Developer raldea89
Plugin Icon wp plugin Check Email
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

changelog.txt CHANGED
@@ -1,5 +1,8 @@
1
  == Changelog ==
2
 
 
 
 
3
  = v1.0.5 - 10/03/2022 =
4
  - Fixed: Replaced deprecated jQuery code ( https://github.com/WPChill/check-email/issues/32 )
5
  - Fixed: HTML code was being shown in dashboard widget ( https://github.com/WPChill/check-email/issues/33 )
1
  == Changelog ==
2
 
3
+ = v1.0.6 - 02/05/2022 =
4
+ - Fixed: Security, sanitization and escaping
5
+
6
  = v1.0.5 - 10/03/2022 =
7
  - Fixed: Replaced deprecated jQuery code ( https://github.com/WPChill/check-email/issues/32 )
8
  - Fixed: HTML code was being shown in dashboard widget ( https://github.com/WPChill/check-email/issues/33 )
check-email.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Check & Log Email
4
  * Description: Check & Log email allows you to test if your WordPress installation is sending emails correctly and logs every email.
5
  * Author: WPChill
6
- * Version: 1.0.5
7
  * Author URI: https://wpchill.com/
8
  * License: GPLv3 or later
9
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
3
  * Plugin Name: Check & Log Email
4
  * Description: Check & Log email allows you to test if your WordPress installation is sending emails correctly and logs every email.
5
  * Author: WPChill
6
+ * Version: 1.0.6
7
  * Author URI: https://wpchill.com/
8
  * License: GPLv3 or later
9
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
include/Core/UI/Page/Check_Email_Log_List_Page.php CHANGED
@@ -127,7 +127,7 @@ class Check_Email_Log_List_Page extends Check_Email_BasePage {
127
 
128
  wp_register_style( 'jquery-ui-css', $plugin_dir_url . 'assets/vendor/jquery-ui/themes/base/jquery-ui.min.css', array(), '1.12.1' );
129
 
130
- wp_register_script( 'insertionQ', $plugin_dir_url . 'assets/vendor/insertion-query/insQ.min.js', array( 'jquery' ), '1.0.5', true );
131
 
132
  wp_enqueue_script( 'check-email-view-logs', $plugin_dir_url . 'assets/js/admin/view-logs.js', array( 'insertionQ', 'jquery-ui-core', 'jquery-ui-datepicker', 'jquery-ui-tooltip', 'jquery-ui-tabs' ), $check_email->get_version(), true );
133
  }
127
 
128
  wp_register_style( 'jquery-ui-css', $plugin_dir_url . 'assets/vendor/jquery-ui/themes/base/jquery-ui.min.css', array(), '1.12.1' );
129
 
130
+ wp_register_script( 'insertionQ', $plugin_dir_url . 'assets/vendor/insertion-query/insQ.min.js', array( 'jquery' ), '1.0.6', true );
131
 
132
  wp_enqueue_script( 'check-email-view-logs', $plugin_dir_url . 'assets/js/admin/view-logs.js', array( 'insertionQ', 'jquery-ui-core', 'jquery-ui-datepicker', 'jquery-ui-tooltip', 'jquery-ui-tabs' ), $check_email->get_version(), true );
133
  }
include/Core/UI/Page/Check_Email_Settings_Page.php CHANGED
@@ -101,7 +101,7 @@ class Check_Email_Settings_Page extends Check_Email_BasePage {
101
  */
102
  public function render_page() {
103
 
104
- $tab = isset( $_GET['tab']) ? $_GET['tab'] : 'general';
105
 
106
  ?>
107
  <div class="wrap">
@@ -113,7 +113,7 @@ class Check_Email_Settings_Page extends Check_Email_BasePage {
113
  <a href="https://docs.google.com/forms/d/e/1FAIpQLSdhHrYons-oMg_9oEDVvx8VTvzdeCQpT4PnG6KLCjYPiyQfXg/viewform" target="_blank" class="nav-tab"><span class="dashicons dashicons-external"></span><?php esc_html_e( 'Suggest a feature', 'check-email' ); ?></a>
114
  </nav>
115
 
116
- <div class="tab-content ce_tab_<?php echo $tab; ?>">
117
 
118
  <?php if( 'general' == $tab ): ?>
119
  <h2><?php esc_html_e( 'Core Check Email Log Settings', 'check-email' ); ?></h2>
@@ -154,7 +154,7 @@ class Check_Email_Settings_Page extends Check_Email_BasePage {
154
  ?>
155
  <td>
156
  <div class="install_plugin_wrap">
157
- <button id="install_wp_smtp" class="button" data-slug="wp-smtp" data-action="<?php echo ( 'install' == $smtp_status ? 'install' : 'activate' ); ?>" data-activation_url="<?php echo $activate_url; ?>"><?php echo sprintf( esc_html__( '%s SMTP', 'check-email' ), ( 'install' == $smtp_status ? 'Install' : 'Activate' ) ); ?></button>
158
  <div id="install_wp_smtp_info"> <p><?php echo sprintf( esc_html__( 'Click to %s WP SMTP', 'check-email' ), ( 'install' == $smtp_status ? 'install' : 'activate' ) ) ; ?> </p></div>
159
  </div>
160
 
101
  */
102
  public function render_page() {
103
 
104
+ $tab = isset( $_GET['tab']) ? sanitize_text_field( wp_unslash( $_GET['tab'] ) ) : 'general';
105
 
106
  ?>
107
  <div class="wrap">
113
  <a href="https://docs.google.com/forms/d/e/1FAIpQLSdhHrYons-oMg_9oEDVvx8VTvzdeCQpT4PnG6KLCjYPiyQfXg/viewform" target="_blank" class="nav-tab"><span class="dashicons dashicons-external"></span><?php esc_html_e( 'Suggest a feature', 'check-email' ); ?></a>
114
  </nav>
115
 
116
+ <div class="tab-content ce_tab_<?php echo esc_attr( $tab ); ?>">
117
 
118
  <?php if( 'general' == $tab ): ?>
119
  <h2><?php esc_html_e( 'Core Check Email Log Settings', 'check-email' ); ?></h2>
154
  ?>
155
  <td>
156
  <div class="install_plugin_wrap">
157
+ <button id="install_wp_smtp" class="button" data-slug="wp-smtp" data-action="<?php echo ( 'install' == $smtp_status ? 'install' : 'activate' ); ?>" data-activation_url="<?php echo esc_url( $activate_url ); ?>"><?php echo sprintf( esc_html__( '%s SMTP', 'check-email' ), ( 'install' == $smtp_status ? 'Install' : 'Activate' ) ); ?></button>
158
  <div id="install_wp_smtp_info"> <p><?php echo sprintf( esc_html__( 'Click to %s WP SMTP', 'check-email' ), ( 'install' == $smtp_status ? 'install' : 'activate' ) ) ; ?> </p></div>
159
  </div>
160
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: wpchill, silkalns, giucu91
3
  Tags: check, test, email, smtp, pop, send, delivery
4
  Requires at least: 5.0
5
- Tested up to: 5.9
6
- Stable tag: 1.0.5
7
 
8
  Check & Log email allows you to test if your WordPress installation is sending emails correctly by sending a test email to an address of your choice. Allows overriding of email headers and carbon copying to another address.
9
 
@@ -14,11 +14,10 @@ This WordPress plugin helps you store sent emails for auditing purposes, as well
14
 
15
  Some of its features include:
16
 
17
- Check email - if you’re not sure whether WordPress is sending emails, you can use Check & Log to find out. The process is very simple: you need to choose an address that will receive a simple test email. You can even override the custom header with your own values, to avoid any other issues.
18
-
19
- Viewing logged emails - they can be viewed from the admin interface, as they are stored in a separate table. You get the option to filter them based on subject, email, date, etc.
20
-
21
- Deleting logged emails - you can delete them by going to the admin interface. You can either delete them in bulk or selectively - by date, email, or subject.
22
 
23
  == Installation ==
24
 
@@ -38,4 +37,93 @@ Someone using one of my other plugins had trouble with emails not being sent. I
38
 
39
  1. Check & Log Email - Status
40
  2. Check & Log Email - View Logs
41
- 3. Check & Log Email - Settings
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  Contributors: wpchill, silkalns, giucu91
3
  Tags: check, test, email, smtp, pop, send, delivery
4
  Requires at least: 5.0
5
+ Tested up to: 6.1
6
+ Stable tag: 1.0.6
7
 
8
  Check & Log email allows you to test if your WordPress installation is sending emails correctly by sending a test email to an address of your choice. Allows overriding of email headers and carbon copying to another address.
9
 
14
 
15
  Some of its features include:
16
 
17
+ - Test email sending - if you’re not sure whether WordPress is sending emails, you can use this plugin to find out. The process is very simple: you need to choose an address that will receive a simple test email. You can even override the custom header with your own values, to avoid any other issues.
18
+ - Viewing logged emails - they can be viewed from the admin interface, as they are stored in a separate table. You get the option to filter them based on subject, email, date, etc.
19
+ - Deleting logged emails - you can delete them by going to the admin interface. You can either delete them in bulk or selectively - by date, email, or subject.
20
+ - Ability to change the "mail from" email address, "mail from name" and override default email WordPress addresses.
 
21
 
22
  == Installation ==
23
 
37
 
38
  1. Check & Log Email - Status
39
  2. Check & Log Email - View Logs
40
+ 3. Check & Log Email - Settings
41
+
42
+ == Changelog ==
43
+
44
+ = v1.0.6 - 02/05/2022 =
45
+ - Fixed: Security, sanitization and escaping
46
+
47
+ = v1.0.5 - 10/03/2022 =
48
+ - Fixed: Replaced deprecated jQuery code ( https://github.com/WPChill/check-email/issues/32 )
49
+ - Fixed: HTML code was being shown in dashboard widget ( https://github.com/WPChill/check-email/issues/33 )
50
+ - Added: Tabs and grouped settings by tabs ( https://github.com/WPChill/check-email/issues/37 )
51
+ - Added: Quick install WP SMTP plugin from settings ( https://github.com/WPChill/check-email/issues/37 )
52
+
53
+ = v1.0.4 - 28/10/2021 =
54
+ - Fixed: URL got too long when bulk deleting email logs. (https://github.com/WPChill/check-email/issues/30)
55
+ - Fixed: Sanitization and Escaping
56
+
57
+ = v1.0.3 - 24/09/2021 =
58
+ - Fixed: Secutiry issue
59
+
60
+ = v1.0.2 - 16/06/2021 =
61
+ - Added: From column in Email Logs. ( https://github.com/WPChill/check-email/issues/24 )
62
+
63
+ = v1.0.2 - 16/06/2021 =
64
+ - Added: Translation for roles and notices. ( https://github.com/WPChill/check-email/issues/10 )
65
+ - Added: Headers of the emails in the view log tab. ( https://github.com/WPChill/check-email/issues/12 )
66
+ - Fixed: Admin subpages link bug. ( https://github.com/WPChill/check-email/issues/9 )
67
+ - Fixed: Incompatibility with DIVI Theme. We enqued our JS only on Logs Page. ( https://github.com/WPChill/check-email/issues/13 )
68
+ - Fixed: Incompatibility with WpLogging plugin. ( https://github.com/WPChill/check-email/issues/8 )
69
+ - Fixed: Error by adding unique prefixes for Check-Email functions. ( https://github.com/WPChill/check-email/issues/16 )
70
+ - Fixed: Redirect error when using custom folder structure for WP Core. ( https://github.com/WPChill/check-email/issues/21 )
71
+ - Fixed: Deprecated jQuery functions.
72
+
73
+ = 1.0.1 =
74
+ * Fixed admin menu capabilities.
75
+ * Rezolved incompatibility with Wp Mail Logging.
76
+
77
+ = 1.0.0 =
78
+ * Added Email Logs for all the emails sent through Wordpress.
79
+
80
+ = 0.6.1 =
81
+ Added feedback form. Improved CSS backend.
82
+
83
+ = 0.6.0 =
84
+ Fixed loopback error.
85
+
86
+ = 0.5.7 =
87
+ Added support for the wp_mail_from filter
88
+
89
+ = 0.5.6 =
90
+ Tested with WordPress 5.1.1
91
+
92
+ = 0.5.5 =
93
+ Fixed typo (sorry sorry sorry)
94
+
95
+ = 0.5.4 =
96
+ Added FAQ about the location of the tool in the WordPress admin area
97
+
98
+ = 0.5.3 =
99
+ Fixed deprecation error messages. Tested with 4.7.2.
100
+
101
+ = 0.5.2 =
102
+ Fixed un-encoded output related to XSS bug
103
+
104
+ = 0.5.1 =
105
+ Properly fixed XSS vulnerability (apologies)
106
+
107
+ = 0.5 =
108
+ Fixed XSS vulnerability found by Antonis Manaras
109
+
110
+ = 0.4 =
111
+ Added more information from php.ini, fixed incorrect textdomains
112
+
113
+ = 0.3 =
114
+ Moved the page to the Tools menu
115
+
116
+ = 0.2 =
117
+ Now displays SMTP server name
118
+
119
+ = 0.1.3 =
120
+ Fixed version number
121
+
122
+ = 0.1.2 =
123
+ Fixed bug in Plugin Register caused by latest version of WordPress
124
+
125
+ = 0.1.1 =
126
+ Fixed typo in plugin name
127
+
128
+ = 0.1 =
129
+ Initial version