AddFunc Head & Footer Code

Easily add code to your head, footer and/or immediately after the opening body tag, site-wide and/or on any individual page/post.

v2.5AddFuncUpdated Added 20k+ installs100% rating
43
Score
28
Errors
18
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability93

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

46 findings

Security

37

4 issue groups

Maintainability

8

3 issue groups

Repo Compliance

1

1 issue group

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$body_text'.18
Category
Security
Occurrences
18
Severity
error

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['aFhfc_body_code']7
Category
Security
Occurrences
7
Severity
warning

Sample message

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

WARNINGSecurityMissing Unslash$_POST['aFhfc_body_code'] not unslashed before sanitization. Use wp_unslash() or similar7
Category
Security
Occurrences
7
Severity
warning

Sample message

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

ERRORSecurityregister setting MissingSanitization missing for register_setting().5
Category
Security
Occurrences
5
Severity
error

Sample message

Sanitization missing for register_setting().

ERRORMaintainabilitywp function not compatible with requires wpFunction "register_meta()" requires WordPress 3.3.0, but your plugin minimum supported version is WordPress 3.0.1.4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant FoundGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AFHDFTRCD_ID".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AFHDFTRCD_ID".

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$footer_code_prior".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.9 < 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.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

Score History

First score snapshot

v2.5

43

Latest

Findings
46
Errors
28
Warnings
18
Check
2.0.0

Related Plugins