Simple Header Footer HTML

A simple plugin for injecting HTML into various places in your WordPress theme output.

v1.3.0Otto KekäläinenUpdated Added 3k+ installs94% rating
35
Score
30
Errors
5
Warnings
+0
Change

Category Scores

Security12
Repo82
Performance100
Maintainability93

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

35 findings

Security

19

4 issue groups

I18n

10

3 issue groups

Maintainability

3

3 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'simple-header-footer-html' but got 'seravo-inject-html'.8
Category
I18n
Occurrences
8
Severity
error

Sample message

Mismatched text domain. Expected 'simple-header-footer-html' but got 'seravo-inject-html'.

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.6
Category
Security
Occurrences
6
Severity
error

Sample message

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

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

Sample message

Sanitization missing for register_setting().

WARNINGI18nDiscouraged text-domain loadingload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "init_seravo_inject".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "init_seravo_inject".

WARNINGSecurityPlugin menu slug uses __FILE__Using __FILE__ for menu slugs risks exposing filesystem structure.1
Category
Security
Occurrences
1
Severity
warning

Sample message

Using __FILE__ for menu slugs risks exposing filesystem structure.

ERRORSupply ChainHidden files includedHidden files are not permitted.1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

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

Sample message

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

ERRORMaintainabilityno stable tagInvalid or missing Stable Tag. Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Invalid or missing Stable Tag. Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

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

Sample message

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

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.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "seravo-inject-html", expected "simple-header-footer-html".

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.3.0

35

Latest

Findings
35
Errors
30
Warnings
5
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Code Embed

10k+ active installs

100
Customize Admin

4k+ active installs

99
Header and Footer Scripts

200k+ active installs

99
Add Admin CSS

10k+ active installs

98
Design Upgrade for LearnDash

7k+ active installs

97