Webhook for Discord

This plugin allows you to easily notify the Discord group when you post an article.

v1.2.2monster2408Updated Added 400 installs100% rating
71
Score
119
Errors
20
Warnings
+0
Change

Category Scores

Security60
Repo94
Performance100
Maintainability68

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

139 findings

I18n

85

5 issue groups

Maintainability

43

6 issue groups

Security

10

2 issue groups

Repo Compliance

1

1 issue group

ERRORI18nText Domain MismatchMismatched text domain. Expected 'webhook-discord' but got 'discord-webhook'.56
Category
I18n
Occurrences
56
Severity
error

Sample message

Mismatched text domain. Expected 'webhook-discord' but got 'discord-webhook'.

ERRORMaintainabilitystrip tags strip tagsstrip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.21
Category
Maintainability
Occurrences
21
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $dwl->get_avatar_url()20
Category
I18n
Occurrences
20
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $dwl->get_avatar_url()

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().8
Category
Security
Occurrences
8
Severity
error

Sample message

Sanitization missing for register_setting().

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

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

Sample message

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

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

Show 4 more
ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

ERRORI18nMissing Singular Placeholder1
Category
I18n
Occurrences
1
Severity
error

Sample message

Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals

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

Sample message

Tested up to: 6.3 < 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.

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "wp_add_privacy_policy_content()" requires WordPress 4.9.6, but your plugin minimum supported version is WordPress 4.4.0.

External Connections

Potential connections found in static code analysis.

6 domains

Outbound calls

7

External assets

0

Incoming endpoints

0

Notable Domains

api.giphy.com1 · outbound
discordapp.com1 · outbound

Platform / Reference Domains

github.com1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.2.2

71

Latest

Findings
139
Errors
119
Warnings
20
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins