DirectoryPress Frontend

This plugin provides frontend listing functionality for [DirectoryPress - Directory Listing Plugin](https://designinvento.

v2.8.4DesigninventoUpdated Added 800 installs0% rating
31
Score
402
Errors
563
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability36

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

965 findings

Security

518

11 issue groups

Maintainability

377

8 issue groups

I18n

66

6 issue groups

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['listing_id'] not unslashed before sanitization. Use wp_unslash() or similar120
Category
Security
Occurrences
120
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "dashboard_panel_html".44
Category
Maintainability
Occurrences
44
Severity
warning

Sample message

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

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.42
Category
I18n
Occurrences
42
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.

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

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

Show 15 more
WARNINGSecurityInput is not sanitized18
Category
Security
Occurrences
18
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['_edit_nonce']

WARNINGSecuritywp redirect wp redirect14
Category
Security
Occurrences
14
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.

WARNINGMaintainabilityDirect Query12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed function10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain10
Category
I18n
Occurrences
10
Severity
error

Sample message

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

ERRORSecuritySQL query is not prepared6
Category
Security
Occurrences
6
Severity
error

Sample message

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

ERRORI18nUnordered Placeholders Text6
Category
I18n
Occurrences
6
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Your Current Listing Status is %s you can change Listing Status to %s below.'.

ERRORSecurityDatabase parameter is not escaped4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGSecurityInterpolated SQL is not prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$listing->post->ID} at "SELECT * FROM `{$wpdb->prefix}woocommerce_order_itemmeta` WHERE (`meta_key`, `meta_value`) = ('_directorypress_listing_id' ,'{$listing->post->ID}')"

ERRORI18nText Domain Mismatch4
Category
I18n
Occurrences
4
Severity
error

Sample message

Mismatched text domain. Expected 'directorypress-frontend' but got 'sitepress'.

WARNINGI18nDiscouraged text-domain loading2
Category
I18n
Occurrences
2
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In Footer2
Category
Maintainability
Occurrences
2
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.

ERRORI18nNon Singular String Literal Plural2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $plural parameter must be a single text string literal. Found: $public_handler->template_args['directorytype']->plural

External Connections

Potential connections found in static code analysis.

4 domains

Outbound calls

26

External assets

0

Incoming endpoints

108

Notable Domains

designinvento.net16 · outbound
chartjs.org2 · outbound

Platform / Reference Domains

github.com6 · platform/reference
gnu.org2 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

wp_ajax_nopriv_directorypress_listing_peformancepublic

wp_ajax

wp_ajax_nopriv_dpfl_AdminNotepublic

wp_ajax

wp_ajax_nopriv_dpfl_AdminNote_htmlpublic

wp_ajax

wp_ajax_nopriv_dpfl_bumpUpListingpublic

wp_ajax

wp_ajax_nopriv_dpfl_bumpUpListing_htmlpublic

wp_ajax

wp_ajax_nopriv_dpfl_deleteListingpublic

wp_ajax

Admin AJAX endpoints27
wp_ajax_dpfl_closeUserAccountauthenticated

wp_ajax

wp_ajax_dpfl_PasswordUpdateauthenticated

wp_ajax

wp_ajax_directorypress_listing_peformanceauthenticated

wp_ajax

wp_ajax_dpfl_AdminNoteauthenticated

wp_ajax

wp_ajax_dpfl_AdminNote_htmlauthenticated

wp_ajax

wp_ajax_dpfl_bumpUpListingauthenticated

wp_ajax

wp_ajax_dpfl_bumpUpListing_htmlauthenticated

wp_ajax

wp_ajax_dpfl_deleteListingauthenticated

wp_ajax

wp_ajax_dpfl_deleteListing_htmlauthenticated

wp_ajax

wp_ajax_dpfl_listingStatusChangeauthenticated

wp_ajax

wp_ajax_dpfl_listingStatusChange_trigerauthenticated

wp_ajax

wp_ajax_dpfl_listingtrans_htmlauthenticated

wp_ajax

15 more hidden

Score History

First score snapshot

v2.8.4

31

Latest

Findings
965
Errors
402
Warnings
563
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins