Duplicate post, post order, image resize, email via SMTP, admin menu editor, custom css / code, disable gutenberg and much more in a single plugin.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
254
11 issue groups
Maintainability
139
11 issue groups
I18n
30
3 issue groups
WARNINGSecurityRecommendedProcessing form data without nonce verification.70
- Category
- Security
- Occurrences
- 70
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityMissing Unslash$_COOKIE['asenha_password_protection'] not unslashed before sanitization. Use wp_unslash() or similar56
- Category
- Security
- Occurrences
- 56
- Severity
- warning
Sample message
$_COOKIE['asenha_password_protection'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORMaintainabilitywp function not compatible with requires wpFunction "is_login()" requires WordPress 6.1.0, but your plugin minimum supported version is WordPress 4.6.0.30
- Category
- Maintainability
- Occurrences
- 30
- Severity
- error
Sample message
Function "is_login()" requires WordPress 6.1.0, but your plugin minimum supported version is WordPress 4.6.0.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_plugin_slugs".29
- Category
- Maintainability
- Occurrences
- 29
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_plugin_slugs".
WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_POST['nonce']. Check that the array index exists before using it.27
- Category
- Security
- Occurrences
- 27
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['nonce']. Check that the array index exists before using it.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_COOKIE['asenha_password_protection']24
- Category
- Security
- Occurrences
- 24
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE['asenha_password_protection']
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.19
- Category
- Maintainability
- Occurrences
- 19
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.19
- Category
- Security
- Occurrences
- 19
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGSecurityMissingProcessing form data without nonce verification.18
- Category
- Security
- Occurrences
- 18
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGI18nNo Html Wrapped StringsTranslatable string should not be wrapped in HTML. Found: '<div class="asenha-warning">When password protection is enabled and the password input form is displayed, caching is disabled using <a href="%s"><code>nocache_headers()</code></a>. Caching remains disabled after submitting the valid password and seeing the actual page content.</div>'17
- Category
- I18n
- Occurrences
- 17
- Severity
- warning
Sample message
Translatable string should not be wrapped in HTML. Found: '<div class="asenha-warning">When password protection is enabled and the password input form is displayed, caching is disabled using <a href="%s"><code>nocache_headers()</code></a>. Caching remains disabled after submitting the valid password and seeing the actual page content.</div>'
Show 15 moreShow less
WARNINGMaintainabilityNo Caching16
- Category
- Maintainability
- Occurrences
- 16
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityNot Prepared14
- Category
- Security
- Occurrences
- 14
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $failed_login_attempts_log_entries_amount_to_keep
ERRORSecurityOutput Not Escaped14
- Category
- Security
- Occurrences
- 14
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$clear'.
ERRORMaintainabilitydate date8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGMaintainabilityNon Prefixed Function Found8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "bmp_to_image_object".
WARNINGMaintainabilityerror log trigger error7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
trigger_error() found. Debug code should not normally be used in production.
ERRORI18nMissing Arg Domain7
- Category
- I18n
- Occurrences
- 7
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORMaintainabilitymissing direct file access protection7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilityfile system operations fread6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().
ERRORI18nNon Singular String Literal Text6
- Category
- I18n
- Occurrences
- 6
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $checkbox_id
WARNINGMaintainabilityNon Prefixed Constant Found5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AUTOMATIC_UPDATER_DISABLED".
WARNINGSecurityUnescaped DBParameter4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
Unescaped parameter $table_name used in $wpdb->query()
ERRORSecurityUnescaped DBParameter4
- Category
- Security
- Occurrences
- 4
- Severity
- error
Sample message
Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 1256.
WARNINGSecuritywp redirect wp redirect4
- Category
- Security
- Occurrences
- 4
- Severity
- warning
Sample message
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
WARNINGMaintainabilityMissing Version4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
Score History
2 score snapshots
v8.8.5
23
Latest
- Findings
- 466
- Errors
- 136
- Warnings
- 330
- Check
- 2.0.0
v8.8.4
23
Score
- Findings
- 466
- Errors
- 136
- Warnings
- 330
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 466 | 136 | 330 | v8.8.5 | 2.0.0 |
| 23 | 466 | 136 | 330 | v8.8.4 | 2.0.0 |