DirectoryPress – Business Directory And Classified Ad Listing

DirectoryPress is most advanced and flexible directory listing plugin with wide range of features, You can build a business directory, classified list …

v3.6.27DesigninventoUpdated Added 800 installs60% rating
22
Score
4,787
Errors
2,795
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance88
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

7,582 findings

I18n

4,214

4 issue groups

Maintainability

2,234

12 issue groups

Security

1,014

9 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'directorypress' but got "DIRECTORYPRESS".4,012
Category
I18n
Occurrences
4,012
Severity
error

Sample message

Mismatched text domain. Expected 'directorypress' but got "DIRECTORYPRESS".

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

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_COOKIE['favourites'] not unslashed before sanitization. Use wp_unslash() or similar222
Category
Security
Occurrences
222
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORI18nMissing Translators CommentA function call to _n() 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.169
Category
I18n
Occurrences
169
Severity
error

Sample message

A function call to _n() 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: $_COOKIE['favourites']131
Category
Security
Occurrences
131
Severity
warning

Sample message

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

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_FILES['browse_file']['name']. Check that the array index exists before using it.114
Category
Security
Occurrences
114
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'personalize_login_after_' . $template_name".107
Category
Maintainability
Occurrences
107
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'personalize_login_after_' . $template_name".

Show 15 more
WARNINGMaintainabilityDirect Query101
Category
Maintainability
Occurrences
101
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching98
Category
Maintainability
Occurrences
98
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed function61
Category
Maintainability
Occurrences
61
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared57
Category
Security
Occurrences
57
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

ERRORMaintainabilitystrip tags strip tags25
Category
Maintainability
Occurrences
25
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

WARNINGSecuritywp redirect wp redirect20
Category
Security
Occurrences
20
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.

ERRORI18nMissing Arg Domain19
Category
I18n
Occurrences
19
Severity
error

Sample message

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

ERRORSecurityDatabase parameter is not escaped16
Category
Security
Occurrences
16
Severity
error

Sample message

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

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.

ERRORMaintainabilityNo Explicit Version16
Category
Maintainability
Occurrences
16
Severity
error

Sample message

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

ERRORI18nUnordered Placeholders Text14
Category
I18n
Occurrences
14
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in '%s contacted you about "%s"'.

WARNINGMaintainabilitySchema Change13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilityNon-prefixed class13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "BFI_Class_Factory".

WARNINGSecurityDatabase parameter is not escaped11
Category
Security
Occurrences
11
Severity
warning

Sample message

Unescaped parameter $collate used in $wpdb->query()\n$collate assigned unsafely at line 4.

External Connections

Potential connections found in static code analysis.

100 domains

Outbound calls

289

External assets

1

Incoming endpoints

10

Notable Domains

jqueryui.com14 · outbound
en.wikipedia.org12 · outbound
yandex.com12 · outbound
elusiveicons.com10 · outbound
fontawesome.com10 · outbound
designinvento.net7 · outbound

Platform / Reference Domains

github.com38 · platform/reference
w3.org11 · platform/reference
opensource.org10 · platform/reference
gnu.org6 · platform/reference
codex.wordpress.org3 · platform/reference
wordpress.org3 · platform/reference

External Asset Domains

Incoming Endpoints

wp_ajax_nopriv_redux_color_schemespublic

wp_ajax

wp_ajax_nopriv_redux_download_options-public

wp_ajax

Admin AJAX endpoints8
wp_ajax_redux_color_schemesauthenticated

wp_ajax

wp_ajax_redux_custom_font_timerauthenticated

wp_ajax

wp_ajax_redux_custom_fontsauthenticated

wp_ajax

wp_ajax_redux_delete_widget_areaauthenticated

wp_ajax

wp_ajax_redux_download_options-authenticated

wp_ajax

wp_ajax_redux_get_iconsauthenticated

wp_ajax

wp_ajax_redux_hide_admin_noticeauthenticated

wp_ajax

wp_ajax_redux_update_google_fontsauthenticated

wp_ajax

Score History

First score snapshot

v3.6.27

22

Latest

Findings
7,582
Errors
4,787
Warnings
2,795
Check
2.0.0

Relationship Map

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

37 nodes

Related

Related Plugins