Add Code To Head

Add custom JavaScript/HTML/CSS codes to the page head without editing the template.

v1.23salubrioUpdated Added 3k+ installs100% rating
92
Score
2
Errors
8
Warnings
+0
Change

Category Scores

Security89
Repo94
Performance100
Maintainability93

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

10 findings

Maintainability

8

5 issue groups

Security

1

1 issue group

Repo Compliance

1

1 issue group

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

Sample message

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

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

Sample message

Use of a direct database call is discouraged.

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

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilitymismatched plugin namePlugin name "Add Code To Head" is different from the name declared in plugin header "Add Code to Head".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "Add Code To Head" is different from the name declared in plugin header "Add Code to Head".

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.

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.23

92

Latest

Findings
10
Errors
2
Warnings
8
Check
2.0.0

Relationship Map

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

27 nodes

Related Plugins

Code Embed

10k+ active installs

100
Customize Admin

4k+ active installs

99
Preserve Code Formatting

400 active installs

99
Solace Extra

10k+ active installs

99
Speculative Loading

70k+ active installs

99