NHS Blocks

NHS styled blocks for WordPress as developed by the NHS Leadership Academy based on the NHS Digital Front-end library.

v1.4.0NHS Leadership Academy Digital TeamUpdated Added 900 installs90% rating0% support resolved
87
Score
6
Errors
6
Warnings
+0
Change

Category Scores

Security81
Repo89
Performance100
Maintainability95

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

12 findings

Maintainability

6

2 issue groups

Security

3

1 issue group

Repo Compliance

2

2 issue groups

I18n

1

1 issue group

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

Sample message

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

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

Sample message

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

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.

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;

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.8 < 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.8 < 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.

ERRORRepo Compliancereadme mismatched header requiresMismatched Requires at least: 5.3 != 5.0. "Requires at least" needs to be exactly the same with that in your main plugin file's header.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Mismatched Requires at least: 5.3 != 5.0. "Requires at least" needs to be exactly the same with that in your main plugin file's header.

External Connections

Potential connections found in static code analysis.

14 domains

Outbound calls

36

External assets

0

Incoming endpoints

0

Notable Domains

assets.nhs.uk2 · outbound
css-tricks.com1 · outbound
johnblackbourn.com1 · outbound

Platform / Reference Domains

w3.org11 · platform/reference
github.com9 · platform/reference
wordpress.org3 · platform/reference
developer.wordpress.org1 · platform/reference
gnu.org1 · platform/reference
make.wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.4.0

87

Latest

Findings
12
Errors
6
Warnings
6
Check
2.0.0

Relationship Map

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

33 nodes

Related Plugins

Breadcrumb Block

3k+ active installs

100
Counting Number Block

2k+ active installs

100
Crowdsignal Forms

200k+ active installs

100
Events Block

600 active installs

100