THIS IS FORMER WORDPRESS FILE UPLOAD PLUGIN. Simple yet powerful plugin to allow users to upload files from any page, post or sidebar and manage them.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
1,189
16 issue groups
Security
539
7 issue groups
I18n
55
2 issue groups
WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "WFU_FUNCTION_HOOK".465
- Category
- Maintainability
- Occurrences
- 465
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "WFU_FUNCTION_HOOK".
WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ABSWPFILEUPLOAD_DIR".280
- Category
- Maintainability
- Occurrences
- 280
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ABSWPFILEUPLOAD_DIR".
ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$args['after_title']'.205
- Category
- Security
- Occurrences
- 205
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$args['after_title']'.
WARNINGSecurityRequest data is not unslashed$_COOKIE[$var] not unslashed before sanitization. Use wp_unslash() or similar120
- Category
- Security
- Occurrences
- 120
- Severity
- warning
Sample message
$_COOKIE[$var] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: ""wfu_debug-".$function".105
- Category
- Maintainability
- Occurrences
- 105
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: ""wfu_debug-".$function".
ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $data98
- Category
- Security
- Occurrences
- 98
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $data
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.83
- Category
- Maintainability
- Occurrences
- 83
- 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().74
- Category
- Maintainability
- Occurrences
- 74
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
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.47
- Category
- I18n
- Occurrences
- 47
- 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.
WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $table_name1 used in $wpdb->get_results()\n$table_name1 assigned unsafely at line 306.46
- Category
- Security
- Occurrences
- 46
- Severity
- warning
Sample message
Unescaped parameter $table_name1 used in $wpdb->get_results()\n$table_name1 assigned unsafely at line 306.
Show 15 moreShow less
ERRORMaintainabilitywp function not compatible with requires wp39
- Category
- Maintainability
- Occurrences
- 39
- Severity
- error
Sample message
Function "add_screen_option()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.0.
WARNINGSecurityInput is not sanitized37
- Category
- Security
- Occurrences
- 37
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$var]
WARNINGMaintainabilityNon-prefixed global variable34
- Category
- Maintainability
- Occurrences
- 34
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$WFU_BATCH_PATHS".
ERRORMaintainabilitydate date32
- Category
- Maintainability
- Occurrences
- 32
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
WARNINGSecurityInterpolated SQL is not prepared21
- Category
- Security
- Occurrences
- 21
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $items at "DELETE FROM $table_name1 WHERE option_id IN ($items)"
ERRORMaintainabilitystrip tags strip tags17
- Category
- Maintainability
- Occurrences
- 17
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
WARNINGMaintainabilityMissing Version14
- Category
- Maintainability
- Occurrences
- 14
- 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.
ERRORSecurityDatabase parameter is not escaped12
- Category
- Security
- Occurrences
- 12
- Severity
- error
Sample message
Unescaped parameter $page used in $wpdb->get_results()\n$page assigned unsafely at line 51.
ERRORMaintainabilityfile system operations fopen12
- Category
- Maintainability
- Occurrences
- 12
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
WARNINGMaintainabilityslow db query meta query9
- Category
- Maintainability
- Occurrences
- 9
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
ERRORMaintainabilityfile system operations fclose8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
ERRORI18nUnordered Placeholders Text8
- Category
- I18n
- Occurrences
- 8
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'File moved to %s by user %s'.
WARNINGMaintainabilityerror log print r7
- Category
- Maintainability
- Occurrences
- 7
- Severity
- warning
Sample message
print_r() found. Debug code should not normally be used in production.
WARNINGMaintainabilityNon-prefixed class5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WFU_Original_Template".
ERRORMaintainabilityrand mt rand5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
mt_rand() is discouraged. Use the far less predictable wp_rand() instead.
Score History
First score snapshot
v5.1.7
24
Latest
- Findings
- 1,834
- Errors
- 509
- Warnings
- 1,325
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 1,834 | 509 | 1,325 | v5.1.7 | 2.0.0 |