Directorist: AI-Powered Business Directory, Listings & Classified Ads

Build any type of directory website such as a business directory, job directory, classifieds directory, and more with this WordPress directory plugin.

v8.7.4wpWaxUpdated Added 20k+ installs92% rating85% support resolved
22
Score
443
Errors
2,129
Warnings
+0
Change

Category Scores

Security0
Repo86
Performance89
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,572 findings

Maintainability

1,366

16 issue groups

Security

908

6 issue groups

I18n

167

3 issue groups

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

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.145
Category
I18n
Occurrences
145
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 is not sanitizedDetected usage of a non-sanitized input variable: $_FILES[$field_id . 'async-upload']112
Category
Security
Occurrences
112
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES[$field_id . 'async-upload']

ERRORMaintainabilitywp function not compatible with requires wpFunction "determine_locale()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.6.0.86
Category
Maintainability
Occurrences
86
Severity
error

Sample message

Function "determine_locale()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 4.6.0.

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

Sample message

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

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

Sample message

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

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

Sample message

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

Show 15 more
WARNINGMaintainabilityNon-prefixed hook name30
Category
Maintainability
Occurrences
30
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "active_plugins".

WARNINGMaintainabilityslow db query meta query29
Category
Maintainability
Occurrences
29
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGSecurityInterpolated SQL is not prepared24
Category
Security
Occurrences
24
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $column at "SELECT $column FROM $this->table_name WHERE $column_where = %s LIMIT 1;"

ERRORMaintainabilitydate date24
Category
Maintainability
Occurrences
24
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed namespace19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

Namespaces declared by a theme/plugin should start with the theme/plugin prefix. Found: "AazzTech\Directorist\Elementor".

WARNINGMaintainabilityslow db query meta key18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORSecurityException output is not escaped17
Category
Security
Occurrences
17
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Failed to remove directory: $dir"'.

WARNINGMaintainabilityDynamic hook name16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->client->slug . '_tracker_data'".

ERRORSecurityOutput is not escaped16
Category
Security
Occurrences
16
Severity
error

Sample message

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

WARNINGMaintainabilityslow db query tax query14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORMaintainabilityunlink unlink11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

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

WARNINGMaintainabilityNot In Footer11
Category
Maintainability
Occurrences
11
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.

ERRORI18nUnordered Placeholders Plural11
Category
I18n
Occurrences
11
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$d", but got "%s, %d" in '%s (maximum %d characters)'.

ERRORI18nUnordered Placeholders Text11
Category
I18n
Occurrences
11
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in 'Value should be between %d and %d'.

ERRORMaintainabilityPlugin Directory Write10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

Plugin folders are deleted when upgraded. Do not save data to the plugin folder using copy(). Detected usage of constant WP_CONTENT_DIR. Use wp_upload_dir() to get the uploads directory path or save to the database instead.

External Connections

Not analyzed yet.

Score History

First score snapshot

v8.7.4

22

Latest

Findings
2,572
Errors
443
Warnings
2,129
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