WP Post Disclaimer

Add customizable disclaimers, terms, or warnings to the top, bottom, or within post, page, or custom post type content for WordPress

v1.0.4Krunal PrajapatiUpdated Added 800 installs96% rating
49
Score
34
Errors
27
Warnings
+0
Change

Category Scores

Security14
Repo94
Performance100
Maintainability88

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

61 findings

Security

39

3 issue groups

Maintainability

18

5 issue groups

I18n

3

3 issue groups

Repo Compliance

1

1 issue group

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

Sample message

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

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_POST['_wppd_post_disclaimer_content'] not unslashed before sanitization. Use wp_unslash() or similar8
Category
Security
Occurrences
8
Severity
warning

Sample message

$_POST['_wppd_post_disclaimer_content'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP Post Disclaimer" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP Post Disclaimer" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Post_Disclaimer_Admin".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Post_Disclaimer_Admin".

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['_wppd_post_disclaimer_content']2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORI18nMissing Translators CommentA function call to esc_html__() 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.1
Category
I18n
Occurrences
1
Severity
error

Sample message

A function call to esc_html__() 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.

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $wppd_disclaimer_title1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $wppd_disclaimer_title

Show 2 more
ERRORMaintainabilityMissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

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

Sample message

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

External Connections

Potential connections found in static code analysis.

4 domains

Outbound calls

10

External assets

0

Incoming endpoints

0

Notable Domains

fontawesome.com6 · outbound

Platform / Reference Domains

wordpress.org2 · platform/reference
gnu.org1 · platform/reference
profiles.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.0.4

49

Latest

Findings
61
Errors
34
Warnings
27
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

Alert Box Block

500 active installs

99
97
WP BrowserUpdate

1k+ active installs

90
Cookie Notice lite

400 active installs

87
Easy Notification Bar

9k+ active installs

87