Contact Details

Adds the ability to easily enter and display contact information.

v0.8.1SteveUpdated Added 1k+ installs100% rating
45
Score
43
Errors
29
Warnings
+0
Change

Category Scores

Security12
Repo80
Performance100
Maintainability83

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

72 findings

I18n

30

2 issue groups

Security

25

6 issue groups

Maintainability

13

7 issue groups

Repo Compliance

4

4 issue groups

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $contact['email']16
Category
I18n
Occurrences
16
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $contact['email']

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().14
Category
I18n
Occurrences
14
Severity
error

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[$this->tag.'_nonce']7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[$this->tag.'_nonce']

WARNINGSecurityRequest data is not unslashed$_POST[$this->tag.'_nonce'] not unslashed before sanitization. Use wp_unslash() or similar7
Category
Security
Occurrences
7
Severity
warning

Sample message

$_POST[$this->tag.'_nonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[$this->tag.'_nonce']. Check that the array index exists before using it.6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[$this->tag.'_nonce']. Check that the array index exists before using it.

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityDynamic hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->tag . '-send'".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->tag . '-send'".

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

Sample message

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

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

Sample message

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

Show 9 more
ERRORMaintainabilityDiscouraged WordPress constant usage: TEMPLATEPATH2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Found usage of constant "TEMPLATEPATH". Use get_template_directory() instead.

ERRORSecuritySetting is missing a sanitization callback1
Category
Security
Occurrences
1
Severity
error

Sample message

Sanitization missing for register_setting().

ERRORSecurityUnsafe printing function1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityDeprecated function: wp_blacklist_check1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

wp_blacklist_check() has been deprecated since WordPress version 5.5.0. Use wp_check_comment_disallowed_list() instead.

WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Contact Details" is different from the name declared in plugin header "Contact".

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 4.0 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

2

External assets

0

Incoming endpoints

0

Notable Domains

stv.whtly.com1 · outbound

Platform / Reference Domains

wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v0.8.1

45

Latest

Findings
72
Errors
43
Warnings
29
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

Contact Form Query

1k+ active installs

100
Very Simple Google Maps

3k+ active installs

99
98
Toggles

2k+ active installs

98
Speed up Contact Form 7

400 active installs

97