JS Categories List Widget

A simple Gutenberg block and JS widget (can be called from posts) for displaying categories in a list with some effects.

v4.1.1Miguel UsecheUpdated Added 1k+ installs96% rating
35
Score
37
Errors
18
Warnings
+0
Change

Category Scores

Security100
Repo90
Performance94
Maintainability82

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

55 findings

I18n

32

2 issue groups

Maintainability

16

7 issue groups

Performance

6

1 issue group

Supply Chain

1

1 issue group

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: JCL_TEXT_DOMAIN31
Category
I18n
Occurrences
31
Severity
error

Sample message

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

WARNINGPerformancePost Not In excludeUsing exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.6
Category
Performance
Occurrences
6
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

WARNINGMaintainabilityNon-prefixed constantGlobal constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "JCL_BASE_URL".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORMaintainabilityblock api version too lowEditor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Editor blocks must define "apiVersion" 3 or higher in block.json for WordPress 7.0+ iframe editor compatibility.

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 hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "jcl_widget_title".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

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

Sample message

Hidden files are not permitted.

Show 1 more
WARNINGMaintainabilitymismatched plugin name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "JS Categories List Widget" is different from the name declared in plugin header "JS Categories List Block".

External Connections

Potential connections found in static code analysis.

6 domains

Outbound calls

9

External assets

0

Incoming endpoints

2

Notable Domains

migueluseche.com1 · outbound
npmjs.com1 · outbound
skatox.com1 · outbound

Platform / Reference Domains

w3.org3 · platform/reference
developer.wordpress.org2 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

/wp-json/jcl/v1/categoriesREST

register_rest_route

/wp-json/jcl/v1/category-optionsREST

register_rest_route

Score History

First score snapshot

v4.1.1

35

Latest

Findings
55
Errors
37
Warnings
18
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins