Web Directory Free

Build Directory or Classifieds site in some minutes. The plugin combines flexibility of WordPress and functionality of Directory and Classifieds.

v1.7.13ShamalliUpdated Added 400 installs82% rating
20
Score
808
Errors
174
Warnings
+0
Change

Category Scores

Security0
Repo66
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

982 findings

Maintainability

564

16 issue groups

I18n

285

2 issue groups

Security

117

7 issue groups

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'web-directory-free' but got "W2DC".280
Category
I18n
Occurrences
280
Severity
error

Sample message

Mismatched text domain. Expected 'web-directory-free' but got "W2DC".

ERRORMaintainabilitybadly named filesFile and folder names must not contain spaces or special characters.74
Category
Maintainability
Occurrences
74
Severity
error

Sample message

File and folder names must not contain spaces or special characters.

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

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

WARNINGMaintainabilityMissing VersionResource 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.15
Category
Maintainability
Occurrences
15
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.

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_COOKIE['w2dc_compare_palettes'] not unslashed before sanitization. Use wp_unslash() or similar13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

Show 15 more
WARNINGSecurityInput is not sanitized12
Category
Security
Occurrences
12
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification9
Category
Security
Occurrences
9
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityNo Explicit Version7
Category
Maintainability
Occurrences
7
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.

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

ERRORMaintainabilityOffloaded Content5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.

WARNINGSecurityInput is not validated5
Category
Security
Occurrences
5
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.

ERRORI18nMissing Translators Comment5
Category
I18n
Occurrences
5
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.

ERRORMaintainabilityparse url parse url4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

WARNINGMaintainabilityNo PHP code found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

WARNINGMaintainabilityDirect Query3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed function3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilityDeprecated parameter: term_description parameter 23
Category
Maintainability
Occurrences
3
Severity
error

Sample message

The parameter "W2DC_CATEGORIES_TAX" at position #2 of term_description() has been deprecated since WordPress version 4.9.2. Instead do not pass the parameter.

WARNINGMaintainabilityslow db query meta query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

External Connections

Potential connections found in static code analysis.

65 domains

Outbound calls

221

External assets

7

Incoming endpoints

72

Notable Domains

jqueryui.com25 · outbound
salephpscripts.com24 · outbound
lodash.com11 · outbound
mapbox.com7 · outbound
google.com5 · outbound

Platform / Reference Domains

github.com17 · platform/reference
opensource.org3 · platform/reference
schema.org3 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

api.mapbox.com19 · asset + outbound
api.tiles.mapbox.com4 · asset + outbound

Incoming Endpoints

wp_ajax_nopriv_w2dc_reset_ratingspublic

wp_ajax

wp_ajax_nopriv_w2dc_save_ratingpublic

wp_ajax

wp_ajax_nopriv_w2dc_add_location_in_metaboxpublic

wp_ajax

wp_ajax_nopriv_w2dc_add_termpublic

wp_ajax

wp_ajax_nopriv_w2dc_comments_add_commentpublic

wp_ajax

wp_ajax_nopriv_w2dc_comments_load_templatepublic

wp_ajax

Admin AJAX endpoints39
wp_ajax_w2dc_reset_ratingsauthenticated

wp_ajax

wp_ajax_w2dc_save_ratingauthenticated

wp_ajax

wp_ajax_w2dc_add_location_in_metaboxauthenticated

wp_ajax

wp_ajax_w2dc_add_termauthenticated

wp_ajax

wp_ajax_w2dc_comments_add_commentauthenticated

wp_ajax

wp_ajax_w2dc_comments_load_templateauthenticated

wp_ajax

wp_ajax_w2dc_contact_formauthenticated

wp_ajax

wp_ajax_w2dc_controller_requestauthenticated

wp_ajax

wp_ajax_w2dc_generate_color_paletteauthenticated

wp_ajax

wp_ajax_w2dc_get_jqueryui_themeauthenticated

wp_ajax

wp_ajax_w2dc_get_map_marker_infoauthenticated

wp_ajax

wp_ajax_w2dc_get_sharing_buttonsauthenticated

wp_ajax

27 more hidden

Score History

First score snapshot

v1.7.13

20

Latest

Findings
982
Errors
808
Warnings
174
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins

HivePress Favorites

8k+ active installs

99
Maps Widget for Google Maps

30k+ active installs

99
HivePress Authentication

1k+ active installs

98
WP Go Maps Block

3k+ active installs

98
API KEY for Google Maps

40k+ active installs

94