Name Directory

Name directory (glossary) with many options like multiple directories, integrated search, non-latin characters, recaptcha, HTML editor and many more.

v1.33.1Jeroen PetersUpdated Added 3k+ installs98% rating
38
Score
520
Errors
309
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability65

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

829 findings

Security

669

11 issue groups

Maintainability

99

7 issue groups

I18n

61

2 issue groups

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['delete_name'] not unslashed before sanitization. Use wp_unslash() or similar62
Category
Security
Occurrences
62
Severity
warning

Sample message

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

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.44
Category
Maintainability
Occurrences
44
Severity
warning

Sample message

Use of a direct database call is discouraged.

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $_GET42
Category
Security
Occurrences
42
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['delete_name']36
Category
Security
Occurrences
36
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['delete_name']

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().35
Category
Maintainability
Occurrences
35
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $convert_dirs used in $wpdb->query()\n$convert_dirs assigned unsafely at line 80.20
Category
Security
Occurrences
20
Severity
error

Sample message

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

Show 10 more
ERRORI18nUnordered Placeholders Text15
Category
I18n
Occurrences
15
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$s", but got "%d, %s" in 'Showing %d most recent %s in this directory'.

ERRORMaintainabilitywp function not compatible with requires wp14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

Function "esc_textarea()" requires WordPress 3.1.0, but your plugin minimum supported version is WordPress 3.0.1.

WARNINGSecurityMissing nonce verification11
Category
Security
Occurrences
11
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityDatabase parameter is not escaped4
Category
Security
Occurrences
4
Severity
warning

Sample message

Unescaped parameter $name_directory_table_directory used in $wpdb->query()

WARNINGSecurityInterpolated SQL is not prepared4
Category
Security
Occurrences
4
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$directory_id} at \t\t\t OR `post_content` LIKE '%[namedirectory dir=''{$directory_id}%')"

ERRORSecurityUnsafe printing function4
Category
Security
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_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_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.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.

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

Score History

First score snapshot

v1.33.1

38

Latest

Findings
829
Errors
520
Warnings
309
Check
2.0.0

Related Plugins

HivePress Favorites

8k+ active installs

99
Heroic Table of Contents

5k+ active installs

98
HivePress Authentication

1k+ active installs

98
HivePress Messages

7k+ active installs

90
HivePress Reviews

7k+ active installs

90