WPAdverts – Classifieds Plugin

Build classifieds section in seconds. Allow your visitors to browse and post (paid or free) classified ads on your site.

v2.3.2Greg WiniarskiUpdated Added 5k+ installs96% rating0% support resolved
24
Score
1,308
Errors
496
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance96
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,804 findings

Security

1,003

9 issue groups

Maintainability

420

11 issue groups

I18n

321

5 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$border_radius $border_width $leading"'.448
Category
Security
Occurrences
448
Severity
error

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.402
Category
Security
Occurrences
402
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 global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_btn_classes".221
Category
Maintainability
Occurrences
221
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_btn_classes".

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().138
Category
I18n
Occurrences
138
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.95
Category
I18n
Occurrences
95
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.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;70
Category
Maintainability
Occurrences
70
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.69
Category
Security
Occurrences
69
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: "Invalid Session. Please refresh the page and try again.".sprintf( "wpadverts-delete-%d", $id )."."65
Category
I18n
Occurrences
65
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: "Invalid Session. Please refresh the page and try again.".sprintf( "wpadverts-delete-%d", $id )."."

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "__wpadverts_load_tw_classes".24
Category
Maintainability
Occurrences
24
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "__wpadverts_load_tw_classes".

Show 15 more
WARNINGSecurityInput is not sanitized21
Category
Security
Occurrences
21
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[$key]

WARNINGSecurityRequest data is not unslashed18
Category
Security
Occurrences
18
Severity
warning

Sample message

$_GET['post_type'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORI18nUnordered Placeholders Text17
Category
I18n
Occurrences
17
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Ad <strong>%s</strong> renewed. <a href="%s">Go back to Ads list</a>.'.

ERRORMaintainabilitydate date16
Category
Maintainability
Occurrences
16
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNINGSecuritywp redirect wp redirect15
Category
Security
Occurrences
15
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the &quot;allowed_redirect_hosts&quot; 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.

WARNINGMaintainabilityslow db query meta query14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORMaintainabilityblock api version too low12
Category
Maintainability
Occurrences
12
Severity
error

Sample message

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

WARNINGSecurityNonce verification recommended11
Category
Security
Occurrences
11
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput is not validated10
Category
Security
Occurrences
10
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES[&#039;async-upload&#039;]. Check that the array index exists before using it.

ERRORSecuritySQL query is not prepared9
Category
Security
Occurrences
9
Severity
error

Sample message

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

WARNINGMaintainabilityerror log trigger error9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect Query8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching8
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().

ERRORMaintainabilityfile system operations rmdir7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: rmdir().

ERRORI18nMissing Singular Placeholder6
Category
I18n
Occurrences
6
Severity
error

Sample message

Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.3.2

24

Latest

Findings
1,804
Errors
1,308
Warnings
496
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins

HivePress Favorites

8k+ active installs

99
HivePress Authentication

1k+ active installs

98
HivePress Messages

7k+ active installs

90
HivePress Reviews

7k+ active installs

90
HivePress Claim Listings

3k+ active installs

89
HivePress Paid Listings

5k+ active installs

88