WPS Cleaner

WPS Cleaner cleans your WordPress site as well as your database.

v1.6.10.2NicolasKulkaUpdated Added 20k+ installs86% rating
30
Score
430
Errors
491
Warnings
+0
Change

Category Scores

Security0
Repo88
Performance98
Maintainability35

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

921 findings

Security

629

12 issue groups

Maintainability

203

9 issue groups

I18n

72

4 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$action_url'.155
Category
Security
Occurrences
155
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$action_url'.

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.146
Category
Security
Occurrences
146
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.91
Category
Maintainability
Occurrences
91
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().90
Category
Maintainability
Occurrences
90
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['action']80
Category
Security
Occurrences
80
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['action']

WARNINGSecurityMissing Unslash$_POST['action'] not unslashed before sanitization. Use wp_unslash() or similar80
Category
Security
Occurrences
80
Severity
warning

Sample message

$_POST['action'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_GET['attachment_id']. Check that the array index exists before using it.63
Category
Security
Occurrences
63
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['attachment_id']. Check that the array index exists before using it.

WARNINGSecurityRecommendedProcessing form data without nonce verification.57
Category
Security
Occurrences
57
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().29
Category
I18n
Occurrences
29
Severity
error

Sample message

Missing $domain parameter in function call to __().

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.28
Category
I18n
Occurrences
28
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.

Show 15 more
ERRORSecurityNot Prepared25
Category
Security
Occurrences
25
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $db_table

ERRORI18nText Domain Mismatch11
Category
I18n
Occurrences
11
Severity
error

Sample message

Mismatched text domain. Expected 'wps-cleaner' but got 'wps-limit-login'.

ERRORSecurityUnescaped DBParameter9
Category
Security
Occurrences
9
Severity
error

Sample message

Unescaped parameter $db_table used in $wpdb->get_results()\n$db_table assigned unsafely at line 122.

ERRORSecurityQuoted Simple Placeholder6
Category
Security
Occurrences
6
Severity
error

Sample message

Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.

ERRORMaintainabilitywp function not compatible with requires wp5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Function "delete_network_option()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 4.2.0.

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.

ERRORI18nUnordered Placeholders Text4
Category
I18n
Occurrences
4
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Total found: %s Comments and %s Comment Meta.'.

WARNINGMaintainabilityDiscouraged3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGMaintainabilityslow db query meta key3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta value3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

ERRORMaintainabilityunlink unlink3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WPS Cleaner" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGSecurityInterpolated Not Prepared2
Category
Security
Occurrences
2
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $blog_id at "SELECT media_id FROM {$db_table->get_table_name()} WHERE type = 'whitelist' AND blog_id = $blog_id AND object_id = '0'"

WARNINGMaintainabilityerror log print r2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGSecurityMissing2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

Score History

First score snapshot

v1.6.10.2

30

Latest

Findings
921
Errors
430
Warnings
491
Check
2.0.0

Related Plugins

Login Security Captcha

10k+ active installs

100
Stop XML-RPC Attacks

6k+ active installs

100
Protect Uploads

40k+ active installs

99
Stop User Enumeration

50k+ active installs

99