WP Mail Log helps you to Log and view all emails from WordPress. It is useful if you have to debug email related problems or have to store sent emails …
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
30
8 issue groups
I18n
20
3 issue groups
Security
20
6 issue groups
Repo Compliance
1
1 issue group
ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-mail-log' but got 'wpv-wml'.18
- Category
- I18n
- Occurrences
- 18
- Severity
- error
Sample message
Mismatched text domain. Expected 'wp-mail-log' but got 'wpv-wml'.
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityUnsupported Identifier PlaceholderThe %i modifier is only supported in WP 6.2 or higher. Found: "%i".7
- Category
- Security
- Occurrences
- 7
- Severity
- error
Sample message
The %i modifier is only supported in WP 6.2 or higher. Found: "%i".
ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORSecurityNot PreparedUse placeholders and $wpdb->prepare(); found $deleteRow4
- Category
- Security
- Occurrences
- 4
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $deleteRow
WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb->prepare(); found interpolated variable {$filter_sql} at "SELECT DISTINCT id, to_email, subject, message, headers, attachments, DATE_FORMAT(sent_date, '%%Y/%%m/%%d %%H:%%i:%%S') as sent_date, attachments_file as files FROM %i WHERE 1 = 1 AND DATE_FORMAT(sent_date,GET_FORMAT(DATE,'JIS')) >= %s AND DATE_FORMAT(sent_date,GET_FORMAT(DATE,'JIS')) <= %s {$filter_sql} ORDER BY id DESC LIMIT %d OFFSET %d"3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable {$filter_sql} at "SELECT DISTINCT id, to_email, subject, message, headers, attachments, DATE_FORMAT(sent_date, '%%Y/%%m/%%d %%H:%%i:%%S') as sent_date, attachments_file as files FROM %i WHERE 1 = 1 AND DATE_FORMAT(sent_date,GET_FORMAT(DATE,'JIS')) >= %s AND DATE_FORMAT(sent_date,GET_FORMAT(DATE,'JIS')) <= %s {$filter_sql} ORDER BY id DESC LIMIT %d OFFSET %d"
WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP Mail Log" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP Mail Log" - contains the restricted term "wp" which cannot be used at all in your plugin name.
ERRORSecurityUnescaped DBParameterUnescaped parameter $entry_count_query used in $wpdb->get_var()\n$entry_count_query assigned unsafely at line 190.2
- Category
- Security
- Occurrences
- 2
- Severity
- error
Sample message
Unescaped parameter $entry_count_query used in $wpdb->get_var()\n$entry_count_query assigned unsafely at line 190.
WARNINGSecurityReplacements Wrong NumberIncorrect number of replacements passed to $wpdb->prepare(). Found 1 replacement parameters, expected 3.2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Incorrect number of replacements passed to $wpdb->prepare(). Found 1 replacement parameters, expected 3.
Show 8 moreShow less
WARNINGSecurityRecommended2
- Category
- Security
- Occurrences
- 2
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilityFound1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
The use of function move_uploaded_file() is forbidden
ERRORMaintainabilityNon Enqueued Script1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
ERRORI18nMissing Translators Comment1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
A function call to _n() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
ERRORMaintainabilitymissing direct file access protection1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGRepo Compliancereadme parser warnings trimmed short description1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- warning
Sample message
The "Short Description" section is too long and was truncated. A maximum of 150 characters is supported.
WARNINGI18ntextdomain mismatch1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "wpv-wml", expected "wp-mail-log".
ERRORMaintainabilitywp function not compatible with requires wp1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Function "wp_date()" requires WordPress 5.3.0, but your plugin minimum supported version is WordPress 5.0.0.
Score History
First score snapshot
v1.1.5
42
Latest
- Findings
- 71
- Errors
- 42
- Warnings
- 29
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 42 | 71 | 42 | 29 | v1.1.5 | 2.0.0 |