Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
655
9 issue groups
Maintainability
400
14 issue groups
I18n
50
2 issue groups
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.286
- Category
- Security
- Occurrences
- 286
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$addfile".252
- Category
- Maintainability
- Occurrences
- 252
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$addfile".
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value=\"$i\" selected=\"selected\">$i</option>\n"'.207
- Category
- Security
- Occurrences
- 207
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option value=\"$i\" selected=\"selected\">$i</option>\n"'.
WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb->prepare(); found interpolated variable $category_sql at "SELECT * FROM $wpdb->downloads WHERE $category_sql AND file_permission != -2 ORDER BY FROM_UNIXTIME(file_date) DESC LIMIT $limit"47
- Category
- Security
- Occurrences
- 47
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $category_sql at "SELECT * FROM $wpdb->downloads WHERE $category_sql AND file_permission != -2 ORDER BY FROM_UNIXTIME(file_date) DESC LIMIT $limit"
WARNINGSecurityMissing Unslash$_GET['by'] not unslashed before sanitization. Use wp_unslash() or similar39
- Category
- Security
- Occurrences
- 39
- Severity
- warning
Sample message
$_GET['by'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORI18nMissing Translators CommentA function call to __() 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.37
- Category
- I18n
- Occurrences
- 37
- Severity
- error
Sample message
A function call to __() 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.
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES['file_upload']['name']36
- Category
- Security
- Occurrences
- 36
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_FILES['file_upload']['name']
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.35
- Category
- Maintainability
- Occurrences
- 35
- 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().35
- Category
- Maintainability
- Occurrences
- 35
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "file_extension".26
- Category
- Maintainability
- Occurrences
- 26
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "file_extension".
Show 15 moreShow less
ERRORMaintainabilityAdd option Param3Found21
- Category
- Maintainability
- Occurrences
- 21
- Severity
- error
Sample message
The parameter "'Displayed After Paging In The Downloads Page'" at position #3 of add_option() has been deprecated since WordPress version 2.3.0. Instead do not pass the parameter.
ERRORSecurityUnescaped DBParameter14
- Category
- Security
- Occurrences
- 14
- Severity
- error
Sample message
Unescaped parameter $category_sql used in $wpdb->get_results()\n$category_sql assigned unsafely at line 1208.
WARNINGSecurityInput Not Validated14
- Category
- Security
- Occurrences
- 14
- Severity
- warning
Sample message
Detected usage of a possibly undefined superglobal array index: $_FILES['file_upload']['name']. Check that the array index exists before using it.
ERRORI18nUnordered Placeholders Text13
- Category
- I18n
- Occurrences
- 13
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Error In Adding File \'%s (%s)\''.
WARNINGSecurityRecommended8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon Prefixed Hookname Found7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "rss2_head".
ERRORMaintainabilitymissing direct file access protection6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORMaintainabilitystrip tags strip tags5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
ERRORSecurityNot Prepared4
- Category
- Security
- Occurrences
- 4
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $query_string
WARNINGMaintainabilitytrademarked term3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP-DownloadManager" - contains the restricted term "wp" which cannot be used at all in your plugin name.
ERRORMaintainabilityFound2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
The use of function move_uploaded_file() is forbidden
ERRORMaintainabilityfile system operations is writable2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().
ERRORMaintainabilityfile system operations mkdir2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().
ERRORMaintainabilityfile system operations readfile2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: readfile().
WARNINGMaintainabilitywp get sites Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
wp_get_sites() has been deprecated since WordPress version 4.6.0. Use get_sites() instead.
Score History
First score snapshot
v1.69.1
25
Latest
- Findings
- 1,115
- Errors
- 607
- Warnings
- 508
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 25 | 1,115 | 607 | 508 | v1.69.1 | 2.0.0 |