Directory Listings WordPress plugin – uListing

This directory listings WordPress plugin is a fantastic tool for creating a professional business directory listings website on WordPress with no hass …

v2.2.0StylemixUpdated Added 1k+ installs78% rating
23
Score
947
Errors
1,573
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,520 findings

Maintainability

1,211

13 issue groups

Security

1,155

10 issue groups

I18n

47

2 issue groups

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$PricingPlan".688
Category
Maintainability
Occurrences
688
Severity
warning

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"\n'.368
Category
Security
Occurrences
368
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;214
Category
Maintainability
Occurrences
214
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.212
Category
Security
Occurrences
212
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_COOKIE['stm_listing_item_preview_type'] not unslashed before sanitization. Use wp_unslash() or similar178
Category
Security
Occurrences
178
Severity
warning

Sample message

$_COOKIE['stm_listing_item_preview_type'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.166
Category
Security
Occurrences
166
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNot In FooterIn footer ($in_footer) is not set explicitly wp_enqueue_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.62
Category
Maintainability
Occurrences
62
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_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.

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"$argumentName cannot be null"'.61
Category
Security
Occurrences
61
Severity
error

Sample message

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

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['stm_listing_item_preview_type']45
Category
Security
Occurrences
45
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['stm_listing_item_preview_type']

Show 15 more
WARNINGSecurityInput is not validated43
Category
Security
Occurrences
43
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing Version41
Category
Maintainability
Occurrences
41
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.

ERRORMaintainabilitydate date40
Category
Maintainability
Occurrences
40
Severity
error

Sample message

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

ERRORMaintainabilityrand rand39
Category
Maintainability
Occurrences
39
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

WARNINGMaintainabilityNon-prefixed hook name34
Category
Maintainability
Occurrences
34
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: ""stm_admin_notice_rate_" . $plugin_name . '_' . $event".

ERRORI18nMissing Arg Domain32
Category
I18n
Occurrences
32
Severity
error

Sample message

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

ERRORMaintainabilitycurl curl setopt21
Category
Maintainability
Occurrences
21
Severity
error

Sample message

Using cURL functions is highly discouraged. Use wp_remote_get() instead.

WARNINGMaintainabilityNon-prefixed function19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect Query18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared16
Category
Security
Occurrences
16
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Text15
Category
I18n
Occurrences
15
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $args['listingType']->post_title

ERRORMaintainabilityNo Explicit Version9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

ERRORSecurityDatabase parameter is not escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

Unescaped parameter $id used in $wpdb->get_results()\n$id used without escaping.

WARNINGMaintainabilityNon-prefixed constant8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "EMAIL_MANAGER_PATH".

Score History

First score snapshot

v2.2.0

23

Latest

Findings
2,520
Errors
947
Warnings
1,573
Check
2.0.0

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