WP Mail Logging - Version 1.10.2

Version Description

  • 2021-11-24 =
  • Updated: Redux framework version to 4.3.4.
  • Fixed: "disable_demo" PHP error. Thanks @Mike00mike!
  • Fixed: changelog date typos. Thanks @Spreeuw!
  • Removed: the Redux framework Gutenberg Library blocks. Thanks @Helenel!
Download this release

Release Info

Developer tautvidas
Plugin Icon 128x128 WP Mail Logging
Version 1.10.2
Comparing to
See all releases

Code changes from version 1.10.1 to 1.10.2

Gruntfile.js CHANGED
@@ -8,6 +8,12 @@ module.exports = function (grunt) {
8
  },
9
  git_checkout: {
10
  command: 'git checkout-index -a -f --prefix=build/'
 
 
 
 
 
 
11
  }
12
  },
13
  clean: {
@@ -221,7 +227,7 @@ module.exports = function (grunt) {
221
  grunt.registerTask('pre_vcs', ['shell:composer', 'version_number', 'copy', 'copyto:vendor', 'compress']);
222
  grunt.registerTask('do_git', [/*'gitadd',*/ 'gitcommit', 'gittag', 'gitpush']);
223
 
224
- grunt.registerTask('just_build', ['clean_pre_build', 'shell:composer', 'makepot', 'potomo', 'copy', 'copyto:vendor', 'assert-valid-copy', 'compress']);
225
  grunt.registerTask('release', ['clean_pre_build', 'pre_vcs', 'do_git', 'github-release', 'clean:post_build']);
226
  grunt.registerTask('compilecss', ['less']);
227
  };
8
  },
9
  git_checkout: {
10
  command: 'git checkout-index -a -f --prefix=build/'
11
+ },
12
+ clean_build_dependencies: {
13
+ command: 'rm -R build/lib/vendor/redux-framework/*.json build/lib/vendor/redux-framework/*.lock build/lib/vendor/redux-framework/sample'
14
+ },
15
+ copy_redux: {
16
+ command: 'cp -R lib/vendor/redux-framework build/lib/vendor/redux-framework'
17
  }
18
  },
19
  clean: {
227
  grunt.registerTask('pre_vcs', ['shell:composer', 'version_number', 'copy', 'copyto:vendor', 'compress']);
228
  grunt.registerTask('do_git', [/*'gitadd',*/ 'gitcommit', 'gittag', 'gitpush']);
229
 
230
+ grunt.registerTask('just_build', ['clean_pre_build', 'shell:composer', 'makepot', 'potomo', 'copy', 'copyto:vendor', 'shell:copy_redux','shell:clean_build_dependencies', 'assert-valid-copy', 'compress']);
231
  grunt.registerTask('release', ['clean_pre_build', 'pre_vcs', 'do_git', 'github-release', 'clean:post_build']);
232
  grunt.registerTask('compilecss', ['less']);
233
  };
languages/wp-mail-logging.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP Mail Logging 1.10.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-logging\n"
7
- "POT-Creation-Date: 2021-11-24 18:35:08+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,7 +24,7 @@ msgid "ID"
24
  msgstr ""
25
 
26
  #: src/Renderer/WPML_ColumnManager.php:32
27
- #: src/inc/redux/WPML_Redux_Framework_config.php:194
28
  msgid "Time"
29
  msgstr ""
30
 
@@ -68,7 +68,7 @@ msgstr ""
68
  msgid "No email found."
69
  msgstr ""
70
 
71
- #: src/WPML_LifeCycle.php:205 src/WPML_OptionsManager.php:445
72
  msgid "Settings"
73
  msgstr ""
74
 
@@ -217,99 +217,99 @@ msgstr ""
217
  msgid "Select All"
218
  msgstr ""
219
 
220
- #: src/inc/redux/WPML_Redux_Framework_config.php:95
221
  msgid "General Settings"
222
  msgstr ""
223
 
224
- #: src/inc/redux/WPML_Redux_Framework_config.php:104
225
  msgid "Cleanup"
226
  msgstr ""
227
 
228
- #: src/inc/redux/WPML_Redux_Framework_config.php:105
229
  msgid "Delete all data on deactivation? (emails and settings)?"
230
  msgstr ""
231
 
232
- #: src/inc/redux/WPML_Redux_Framework_config.php:115
233
  msgid "Can See Submission data"
234
  msgstr ""
235
 
236
- #: src/inc/redux/WPML_Redux_Framework_config.php:116
237
  msgid "Select the minimum role."
238
  msgstr ""
239
 
240
- #: src/inc/redux/WPML_Redux_Framework_config.php:121
241
  msgid "WordPress Date Time Format"
242
  msgstr ""
243
 
244
- #: src/inc/redux/WPML_Redux_Framework_config.php:122
245
  msgid "Use format from WordPress settings (%s)"
246
  msgstr ""
247
 
248
- #: src/inc/redux/WPML_Redux_Framework_config.php:124
249
- #: src/inc/redux/WPML_Redux_Framework_config.php:149
250
- #: src/inc/redux/WPML_Redux_Framework_config.php:165
251
- #: src/inc/redux/WPML_Redux_Framework_config.php:187
252
  msgid "Enabled"
253
  msgstr ""
254
 
255
- #: src/inc/redux/WPML_Redux_Framework_config.php:125
256
- #: src/inc/redux/WPML_Redux_Framework_config.php:150
257
- #: src/inc/redux/WPML_Redux_Framework_config.php:166
258
- #: src/inc/redux/WPML_Redux_Framework_config.php:188
259
  msgid "Disabled"
260
  msgstr ""
261
 
262
- #: src/inc/redux/WPML_Redux_Framework_config.php:136
263
  msgid "Default Format for Message"
264
  msgstr ""
265
 
266
- #: src/inc/redux/WPML_Redux_Framework_config.php:137
267
  msgid "Select your preferred display format."
268
  msgstr ""
269
 
270
- #: src/inc/redux/WPML_Redux_Framework_config.php:142
271
  msgid "Display Host"
272
  msgstr ""
273
 
274
- #: src/inc/redux/WPML_Redux_Framework_config.php:143
275
  msgid "Display host column in list."
276
  msgstr ""
277
 
278
- #: src/inc/redux/WPML_Redux_Framework_config.php:155
279
  msgid "Log Rotation"
280
  msgstr ""
281
 
282
- #: src/inc/redux/WPML_Redux_Framework_config.php:156
283
  msgid "Save space by deleting logs regularly."
284
  msgstr ""
285
 
286
- #: src/inc/redux/WPML_Redux_Framework_config.php:162
287
  msgid "Cleanup by Amount"
288
  msgstr ""
289
 
290
- #: src/inc/redux/WPML_Redux_Framework_config.php:163
291
- #: src/inc/redux/WPML_Redux_Framework_config.php:185
292
  msgid "Setup a automated cleanup routine!"
293
  msgstr ""
294
 
295
- #: src/inc/redux/WPML_Redux_Framework_config.php:172
296
  msgid "Amount"
297
  msgstr ""
298
 
299
- #: src/inc/redux/WPML_Redux_Framework_config.php:173
300
- #: src/inc/redux/WPML_Redux_Framework_config.php:195
301
  msgid "When should mails are deleted?"
302
  msgstr ""
303
 
304
- #: src/inc/redux/WPML_Redux_Framework_config.php:174
305
  msgid "Cleanup when the stored mails exceed..."
306
  msgstr ""
307
 
308
- #: src/inc/redux/WPML_Redux_Framework_config.php:184
309
  msgid "Cleanup by Time"
310
  msgstr ""
311
 
312
- #: src/inc/redux/WPML_Redux_Framework_config.php:196
313
  msgid "Delete mails older than days..."
314
  msgstr ""
315
 
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP Mail Logging 1.10.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-mail-logging\n"
7
+ "POT-Creation-Date: 2021-11-28 02:16:08+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  msgstr ""
25
 
26
  #: src/Renderer/WPML_ColumnManager.php:32
27
+ #: src/inc/redux/WPML_Redux_Framework_config.php:196
28
  msgid "Time"
29
  msgstr ""
30
 
68
  msgid "No email found."
69
  msgstr ""
70
 
71
+ #: src/WPML_LifeCycle.php:207 src/WPML_OptionsManager.php:445
72
  msgid "Settings"
73
  msgstr ""
74
 
217
  msgid "Select All"
218
  msgstr ""
219
 
220
+ #: src/inc/redux/WPML_Redux_Framework_config.php:97
221
  msgid "General Settings"
222
  msgstr ""
223
 
224
+ #: src/inc/redux/WPML_Redux_Framework_config.php:106
225
  msgid "Cleanup"
226
  msgstr ""
227
 
228
+ #: src/inc/redux/WPML_Redux_Framework_config.php:107
229
  msgid "Delete all data on deactivation? (emails and settings)?"
230
  msgstr ""
231
 
232
+ #: src/inc/redux/WPML_Redux_Framework_config.php:117
233
  msgid "Can See Submission data"
234
  msgstr ""
235
 
236
+ #: src/inc/redux/WPML_Redux_Framework_config.php:118
237
  msgid "Select the minimum role."
238
  msgstr ""
239
 
240
+ #: src/inc/redux/WPML_Redux_Framework_config.php:123
241
  msgid "WordPress Date Time Format"
242
  msgstr ""
243
 
244
+ #: src/inc/redux/WPML_Redux_Framework_config.php:124
245
  msgid "Use format from WordPress settings (%s)"
246
  msgstr ""
247
 
248
+ #: src/inc/redux/WPML_Redux_Framework_config.php:126
249
+ #: src/inc/redux/WPML_Redux_Framework_config.php:151
250
+ #: src/inc/redux/WPML_Redux_Framework_config.php:167
251
+ #: src/inc/redux/WPML_Redux_Framework_config.php:189
252
  msgid "Enabled"
253
  msgstr ""
254
 
255
+ #: src/inc/redux/WPML_Redux_Framework_config.php:127
256
+ #: src/inc/redux/WPML_Redux_Framework_config.php:152
257
+ #: src/inc/redux/WPML_Redux_Framework_config.php:168
258
+ #: src/inc/redux/WPML_Redux_Framework_config.php:190
259
  msgid "Disabled"
260
  msgstr ""
261
 
262
+ #: src/inc/redux/WPML_Redux_Framework_config.php:138
263
  msgid "Default Format for Message"
264
  msgstr ""
265
 
266
+ #: src/inc/redux/WPML_Redux_Framework_config.php:139
267
  msgid "Select your preferred display format."
268
  msgstr ""
269
 
270
+ #: src/inc/redux/WPML_Redux_Framework_config.php:144
271
  msgid "Display Host"
272
  msgstr ""
273
 
274
+ #: src/inc/redux/WPML_Redux_Framework_config.php:145
275
  msgid "Display host column in list."
276
  msgstr ""
277
 
278
+ #: src/inc/redux/WPML_Redux_Framework_config.php:157
279
  msgid "Log Rotation"
280
  msgstr ""
281
 
282
+ #: src/inc/redux/WPML_Redux_Framework_config.php:158
283
  msgid "Save space by deleting logs regularly."
284
  msgstr ""
285
 
286
+ #: src/inc/redux/WPML_Redux_Framework_config.php:164
287
  msgid "Cleanup by Amount"
288
  msgstr ""
289
 
290
+ #: src/inc/redux/WPML_Redux_Framework_config.php:165
291
+ #: src/inc/redux/WPML_Redux_Framework_config.php:187
292
  msgid "Setup a automated cleanup routine!"
293
  msgstr ""
294
 
295
+ #: src/inc/redux/WPML_Redux_Framework_config.php:174
296
  msgid "Amount"
297
  msgstr ""
298
 
299
+ #: src/inc/redux/WPML_Redux_Framework_config.php:175
300
+ #: src/inc/redux/WPML_Redux_Framework_config.php:197
301
  msgid "When should mails are deleted?"
302
  msgstr ""
303
 
304
+ #: src/inc/redux/WPML_Redux_Framework_config.php:176
305
  msgid "Cleanup when the stored mails exceed..."
306
  msgstr ""
307
 
308
+ #: src/inc/redux/WPML_Redux_Framework_config.php:186
309
  msgid "Cleanup by Time"
310
  msgstr ""
311
 
312
+ #: src/inc/redux/WPML_Redux_Framework_config.php:198
313
  msgid "Delete mails older than days..."
314
  msgstr ""
315
 
package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "wp-mail-logging",
3
- "version": "1.10.1",
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.10.2",
4
  "description": "WordPress plugin that logs each email sent by WordPress.",
5
  "repository": {
6
  "type": "git",
readme.txt CHANGED
@@ -5,7 +5,7 @@ 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.9
8
- Stable tag: 1.10.1
9
 
10
  Log every single email sent by WordPress. Zero configuration. Entirely free.
11
 
@@ -116,11 +116,17 @@ Yes, directly on <a href="https://github.com/kgjerstad/wp-mail-logging/" rel="no
116
 
117
  == Changelog ==
118
 
119
- = 1.10.1 - 2021-1-24 =
 
 
 
 
 
 
120
  - Removed: Redux Framework connection notice. Thanks Jesse!
121
  - Fixed: is_theme PHP error. Thanks @max3322!
122
 
123
- = 1.10.0 - 2021-1-23 =
124
  - Updated: Redux framework to 4.3.3.
125
 
126
  = 1.9.9 - 2021-09-12 =
5
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
6
  Requires at least: 5.0
7
  Tested up to: 5.9
8
+ Stable tag: 1.10.2
9
 
10
  Log every single email sent by WordPress. Zero configuration. Entirely free.
11
 
116
 
117
  == Changelog ==
118
 
119
+ = 1.10.2 - 2021-11-24 =
120
+ - Updated: Redux framework version to 4.3.4.
121
+ - Fixed: "disable_demo" PHP error. Thanks @Mike00mike!
122
+ - Fixed: changelog date typos. Thanks @Spreeuw!
123
+ - Removed: the Redux framework Gutenberg Library blocks. Thanks @Helenel!
124
+
125
+ = 1.10.1 - 2021-11-24 =
126
  - Removed: Redux Framework connection notice. Thanks Jesse!
127
  - Fixed: is_theme PHP error. Thanks @max3322!
128
 
129
+ = 1.10.0 - 2021-11-23 =
130
  - Updated: Redux framework to 4.3.3.
131
 
132
  = 1.9.9 - 2021-09-12 =
src/WPML_LifeCycle.php CHANGED
@@ -58,6 +58,7 @@ class WPML_LifeCycle extends WPML_InstallIndicator {
58
  * @return void
59
  */
60
  public function upgrade() {
 
61
  }
62
 
63
  /**
@@ -65,6 +66,7 @@ class WPML_LifeCycle extends WPML_InstallIndicator {
65
  * @return void
66
  */
67
  public function activate() {
 
68
  }
69
 
70
  /**
@@ -208,4 +210,13 @@ class WPML_LifeCycle extends WPML_InstallIndicator {
208
  return $actions;
209
  }
210
 
 
 
 
 
 
 
 
 
 
211
  }
58
  * @return void
59
  */
60
  public function upgrade() {
61
+ $this->disableReduxFunctionality();
62
  }
63
 
64
  /**
66
  * @return void
67
  */
68
  public function activate() {
69
+ $this->disableReduxFunctionality();
70
  }
71
 
72
  /**
210
  return $actions;
211
  }
212
 
213
+ // Disable unnecessary Redux Framework functionality
214
+ public function disableReduxFunctionality() {
215
+ // Disable the default Redux and Extendify Gutenberg block library
216
+ update_option( 'use_redux_templates', '' );
217
+ update_option( 'use_extendify_templates', '' );
218
+
219
+ // Disable the Redux activation banner
220
+ update_option( 'redux-framework_tracking_notice', 'hide' );
221
+ }
222
  }
src/inc/redux/WPML_Redux_Framework_config.php CHANGED
@@ -70,7 +70,9 @@ if (!class_exists('WPML_Redux_Framework_config')) {
70
  $this->ReduxFramework = new \ReduxFramework( $this->sections, $this->args );
71
 
72
  // Disable the Redux demo
73
- \Redux::disable_demo();
 
 
74
  }
75
 
76
  // Remove the demo link and the notice of integrated demo from the redux-framework plugin
70
  $this->ReduxFramework = new \ReduxFramework( $this->sections, $this->args );
71
 
72
  // Disable the Redux demo
73
+ if ( method_exists( "Redux", "disable_demo" ) ) {
74
+ \Redux::disable_demo();
75
+ }
76
  }
77
 
78
  // Remove the demo link and the notice of integrated demo from the redux-framework plugin
src/inc/redux/admin-init.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  // Load the embedded Redux Framework
4
- if ( file_exists( dirname( __FILE__ ).'/../../../lib/vendor/redux-framework/redux-framework.php' ) ) {
5
  require_once dirname(__FILE__) . '/../../../lib/vendor/redux-framework/redux-framework.php';
6
  }
7
  // Load the theme/plugin options
1
  <?php
2
 
3
  // Load the embedded Redux Framework
4
+ if ( !class_exists( 'ReduxFramework' ) && file_exists( dirname( __FILE__ ).'/../../../lib/vendor/redux-framework/redux-framework.php' ) ) {
5
  require_once dirname(__FILE__) . '/../../../lib/vendor/redux-framework/redux-framework.php';
6
  }
7
  // Load the theme/plugin options
wp-mail-logging.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Mail Logging
4
  Plugin URI: https://wordpress.org/plugins/wp-mail-logging/
5
  Support URI: https://github.com/kgjerstad/wp-mail-logging/issues
6
- Version: 1.10.1
7
  Author: Wysija
8
  Author URI: https://profiles.wordpress.org/wysija/
9
  Description: Logs each email sent by WordPress.
3
  Plugin Name: WP Mail Logging
4
  Plugin URI: https://wordpress.org/plugins/wp-mail-logging/
5
  Support URI: https://github.com/kgjerstad/wp-mail-logging/issues
6
+ Version: 1.10.2
7
  Author: Wysija
8
  Author URI: https://profiles.wordpress.org/wysija/
9
  Description: Logs each email sent by WordPress.