DirectoryPress is most advanced and flexible directory listing plugin with wide range of features, You can build a business directory, classified list …
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
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 moreShow less
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.
Outbound calls
289
External assets
1
Incoming endpoints
10
Notable Domains
Platform / Reference Domains
External Asset Domains
Incoming Endpoints
wp_ajax
wp_ajax
Admin AJAX endpoints8
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
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
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 22 | 7,582 | 4,787 | 2,795 | v3.6.27 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.