WP Mail Logging - Version 1.9.6

Version Description

  • 2020-05-05 =
  • Removed: contextual help tab.
Download this release

Release Info

Developer wysija
Plugin Icon 128x128 WP Mail Logging
Version 1.9.6
Comparing to
See all releases

Code changes from version 1.9.5 to 1.9.6

languages/wp-mail-logging.pot CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP Mail Logging 1.9.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-logging\n"
7
  "POT-Creation-Date: 2019-04-18 13:01:12+00:00\n"
8
  "MIME-Version: 1.0\n"
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP Mail Logging 1.9.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-logging\n"
7
  "POT-Creation-Date: 2019-04-18 13:01:12+00:00\n"
8
  "MIME-Version: 1.0\n"
package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "wp-mail-logging",
3
- "version": "1.9.5",
4
  "description": "WordPress plugin that logs each email sent by WordPress.",
5
  "repository": {
6
  "type": "git",
1
  {
2
  "name": "wp-mail-logging",
3
+ "version": "1.9.6",
4
  "description": "WordPress plugin that logs each email sent by WordPress.",
5
  "repository": {
6
  "type": "git",
readme.txt CHANGED
@@ -5,12 +5,14 @@ License: GPLv3
5
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
6
  Requires at least: 5.0
7
  Tested up to: 5.2
8
- Stable tag: 1.9.5
9
 
10
  Log every single email sent by WordPress. Zero configuration. Entirely free.
11
 
12
  == Description ==
13
 
 
 
14
  ### Why log emails sent from WordPress or WooCommerce?
15
 
16
  Because it's useful to know which emails your WordPress sends for debugging purposes or out of curiosity.
@@ -36,19 +38,19 @@ These emails will be logged like this:
36
  * Feature: decide which emails you want to keep
37
  * Developer: filters are provided to extend the columns
38
 
39
- For most websites, this represents just a couple of emails per week. If your website has a lot of visitors or you have a large membership website, the number of emails will increase.
40
 
41
  ### Why are my logged emails still not delivered to the inbox?
42
 
43
  When WordPress sends emails, there's no guarantee it will be delivered.
44
 
45
  This is the lifecycle of a WordPress email:
46
- * WordPress or plugin creates an email
47
- * WordPress passes the email to the host and email gets logged by this plugin
48
- * The host takes the email and sends it (SMTP or Mail Transfer Agent)
49
- * Recipient receives or blocks the email
50
- * If the email is accepted, the spam filter decides which inbox it goes into
51
- * Recipients see the email and might open it.
52
 
53
  This plugin does not track delivery after step 2.
54
 
@@ -71,7 +73,7 @@ If mail-tester receives your emails (see point above), but your own address does
71
  * Check your inbox spam folder
72
  * If the email is not there, your email provider is blocking the email before it even reaches the spambox. This is common.
73
 
74
- We recommend in this case send your WordPress email with a service provider, like Sendgrid. <a href="https://www.mailpoet.com/blog/top-three-smtp-plugins-for-wordpress/">See our guide on free plugins and options to send with an SMTP plugin.</a>
75
 
76
  ### Which emails does WooCommerce send?
77
 
@@ -95,9 +97,6 @@ We recommend in this case send your WordPress email with a service provider, lik
95
  * Wordfence
96
  * ... and many more.
97
 
98
- ### What next?
99
-
100
-
101
  ### Credits
102
 
103
  This plugin is maintained by <a href="https://www.mailpoet.com/">MailPoet, the most popular email plugin for WordPress</a>.
@@ -119,6 +118,9 @@ Yes, directly on <a href="https://github.com/mailpoet/wp-mail-logging" rel="nofo
119
 
120
  == Changelog ==
121
 
 
 
 
122
  = 1.9.5 - 2019-11-07 =
123
  - Updated: plugin author.
124
 
5
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
6
  Requires at least: 5.0
7
  Tested up to: 5.2
8
+ Stable tag: 1.9.6
9
 
10
  Log every single email sent by WordPress. Zero configuration. Entirely free.
11
 
12
  == Description ==
13
 
14
+ WP Mail Logging is the most popular plugin to log emails sent by WordPress or WooCommerce. Simply activate it and it will work immediately, no configuration necessary.
15
+
16
  ### Why log emails sent from WordPress or WooCommerce?
17
 
18
  Because it's useful to know which emails your WordPress sends for debugging purposes or out of curiosity.
38
  * Feature: decide which emails you want to keep
39
  * Developer: filters are provided to extend the columns
40
 
41
+ For most websites, this represents just a couple of emails per week. If your website is high traffic, is a membership website or is a WooCommerce store, the number of emails will increase and will be critical.
42
 
43
  ### Why are my logged emails still not delivered to the inbox?
44
 
45
  When WordPress sends emails, there's no guarantee it will be delivered.
46
 
47
  This is the lifecycle of a WordPress email:
48
+ 1. WordPress or plugin creates an email
49
+ 2. WordPress passes the email to the host and email gets logged by this plugin
50
+ 3. The host takes the email and sends it (SMTP or Mail Transfer Agent)
51
+ 4. Recipient receives or blocks the email
52
+ 5. If the email is accepted, the spam filter decides which inbox it goes into
53
+ 6. Recipients see the email and might open it.
54
 
55
  This plugin does not track delivery after step 2.
56
 
73
  * Check your inbox spam folder
74
  * If the email is not there, your email provider is blocking the email before it even reaches the spambox. This is common.
75
 
76
+ We recommend in this case to send your WordPress email with a service provider, like MailPoet or Sendgrid. <a href="https://www.mailpoet.com/blog/top-three-smtp-plugins-for-wordpress/">See our guide on free plugins and options to send with an SMTP plugin.</a>
77
 
78
  ### Which emails does WooCommerce send?
79
 
97
  * Wordfence
98
  * ... and many more.
99
 
 
 
 
100
  ### Credits
101
 
102
  This plugin is maintained by <a href="https://www.mailpoet.com/">MailPoet, the most popular email plugin for WordPress</a>.
118
 
119
  == Changelog ==
120
 
121
+ = 1.9.6 - 2020-05-05 =
122
+ - Removed: contextual help tab.
123
+
124
  = 1.9.5 - 2019-11-07 =
125
  - Updated: plugin author.
126
 
src/WPML_OptionsManager.php CHANGED
@@ -342,7 +342,16 @@ class WPML_OptionsManager {
342
  $pluginNameSlug . '_about',
343
  array(&$this, 'LogSubMenuAbout') );
344
 
345
- add_action( 'contextual_help', array( &$this, 'create_settings_panel' ), 10, 3 );
 
 
 
 
 
 
 
 
 
346
  }
347
 
348
  public function LogSubMenuAbout() {
@@ -390,68 +399,6 @@ class WPML_OptionsManager {
390
  wp_enqueue_style( 'icheck-square', untrailingslashit( plugin_dir_url( __FILE__ ) ) . '/../lib/icheck/square/blue.css', array(), '1.0.2' );
391
  }
392
 
393
- /**
394
- * Add settings Panel
395
- */
396
- function create_settings_panel($contextual_help, $screen_id, $screen) {
397
-
398
- global $hook_suffix;
399
-
400
- // Just add if we are at the plugin page
401
- if ( strpos($hook_suffix, $this->getPluginSlug() . '_log' ) == false )
402
- return $contextual_help;
403
-
404
- // The add_help_tab function for screen was introduced in WordPress 3.3.
405
- if ( ! method_exists( $screen, 'add_help_tab' ) )
406
- return $contextual_help;
407
-
408
-
409
- // List screen properties
410
- $left = '<div style="width:50%;float:left;">'
411
- . '<h4>About this plugin</h4>'
412
- . '<p>This plugin is open source.</p>'
413
- . '</div>';
414
-
415
-
416
- $right = '<div style="width:50%;float:right;">'
417
- . '<h4>Donate</h4>'
418
- . '<p>If you like the plugin please consider to make a donation. More information are provided on my <a href="http://no3x.de/web/donate">website</a>.</p>'
419
- . '</div>';
420
-
421
- $help_content = $left . $right;
422
-
423
- /**
424
- * Content specified inline
425
- */
426
- $screen->add_help_tab(
427
- array(
428
- 'title' => __('About Plugin', 'wp-mail-logging'),
429
- 'id' => 'about_tab',
430
- 'content' => '<p>' . __( "{$this->getPluginDisplayName()}, logs each email sent by WordPress.", 'wp-mail-logging') . '</p>' . $help_content,
431
- 'callback' => false
432
- )
433
- );
434
-
435
- // Add help sidebar
436
- $screen->set_help_sidebar(
437
- '<p><strong>' . __('More information', 'wp-mail-logging') . '</strong></p>' .
438
- '<p><a href = "http://wordpress.org/extend/plugins/wp-mail-logging/">' . __('Plugin Homepage/support', 'wp-mail-logging') . '</a></p>' .
439
- '<p><a href = "http://no3x.de/">' . __("Plugin author's blog", 'wp-mail-logging') . '</a></p>'
440
- );
441
-
442
- // Add screen options
443
- $screen->add_option(
444
- 'per_page',
445
- array(
446
- 'label' => __('Entries per page', 'wp-mail-logging'),
447
- 'default' => 25,
448
- 'option' => 'per_page'
449
- )
450
- );
451
-
452
- return $contextual_help;
453
- }
454
-
455
  /**
456
  * Save Screen option
457
  * @since 1.3
342
  $pluginNameSlug . '_about',
343
  array(&$this, 'LogSubMenuAbout') );
344
 
345
+ add_action( 'load-' . $wp_logging_list_page, function() {
346
+ add_screen_option(
347
+ 'per_page',
348
+ array(
349
+ 'label' => __('Entries per page', 'wp-mail-logging'),
350
+ 'default' => 25,
351
+ 'option' => 'per_page'
352
+ )
353
+ );
354
+ });
355
  }
356
 
357
  public function LogSubMenuAbout() {
399
  wp_enqueue_style( 'icheck-square', untrailingslashit( plugin_dir_url( __FILE__ ) ) . '/../lib/icheck/square/blue.css', array(), '1.0.2' );
400
  }
401
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
402
  /**
403
  * Save Screen option
404
  * @since 1.3
wp-mail-logging.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Mail Logging
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-mail-logging/
5
  Support URI: https://github.com/mailpoet/wp-mail-logging/issues
6
- Version: 1.9.5
7
  Author: MailPoet
8
  Author URI: https://www.mailpoet.com/
9
  Description: Logs each email sent by WordPress.
3
  Plugin Name: WP Mail Logging
4
  Plugin URI: http://wordpress.org/extend/plugins/wp-mail-logging/
5
  Support URI: https://github.com/mailpoet/wp-mail-logging/issues
6
+ Version: 1.9.6
7
  Author: MailPoet
8
  Author URI: https://www.mailpoet.com/
9
  Description: Logs each email sent by WordPress.