The Gutenberg plugin adds editing, customization, and site building to WordPress. Use it to test beta features before their official release.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Maintainability
555
16 issue groups
I18n
220
1 issue group
Security
166
7 issue groups
Performance
6
1 issue group
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;238
- Category
- Maintainability
- Occurrences
- 238
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().220
- Category
- I18n
- Occurrences
- 220
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "admin_footer".114
- Category
- Maintainability
- Occurrences
- 114
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "admin_footer".
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$block'.68
- Category
- Security
- Occurrences
- 68
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$block'.
WARNINGMaintainabilityNon Prefixed Function FoundFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_gutenberg_add_block_level_preset_styles".45
- Category
- Maintainability
- Occurrences
- 45
- Severity
- warning
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "_gutenberg_add_block_level_preset_styles".
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.40
- Category
- Security
- Occurrences
- 40
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$$global_name".37
- Category
- Maintainability
- Occurrences
- 37
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$$global_name".
WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Block_Context_Extractor".36
- Category
- Maintainability
- Occurrences
- 36
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_Block_Context_Extractor".
WARNINGSecurityRecommendedProcessing form data without nonce verification.31
- Category
- Security
- Occurrences
- 31
- Severity
- warning
Sample message
Processing form data without nonce verification.
ERRORMaintainabilitywp function not compatible with requires wpFunction "_wp_connectors_resolve_ai_provider_logo_url()" requires WordPress 7.0.0, but your plugin minimum supported version is WordPress 6.8.0.21
- Category
- Maintainability
- Occurrences
- 21
- Severity
- error
Sample message
Function "_wp_connectors_resolve_ai_provider_logo_url()" requires WordPress 7.0.0, but your plugin minimum supported version is WordPress 6.8.0.
Show 15 moreShow less
WARNINGMaintainabilityDirect Query11
- Category
- Maintainability
- Occurrences
- 11
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
ERRORSecurityHeredoc Output Not Escaped11
- Category
- Security
- Occurrences
- 11
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found interpolation in unescaped heredoc.
ERRORMaintainabilityOffloaded Content8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
Offloading images, js, css, and other scripts to your servers or any remote service is disallowed.
WARNINGMaintainabilityNo Caching8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
WARNINGMaintainabilityslow db query tax query8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Detected usage of tax_query, possible slow query.
WARNINGMaintainabilityMissing Version8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- warning
Sample message
Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.
WARNINGSecurityInput Not Sanitized7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET[$page_key]
WARNINGMaintainabilityNon Prefixed Constant Found6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DOING_AUTOSAVE".
WARNINGSecurityMissing Unslash6
- Category
- Security
- Occurrences
- 6
- Severity
- warning
Sample message
$_GET[$page_key] not unslashed before sanitization. Use wp_unslash() or similar
ERRORPerformanceSuppress Filters suppress filters6
- Category
- Performance
- Occurrences
- 6
- Severity
- error
Sample message
Setting `suppress_filters` to `true` is prohibited.
ERRORMaintainabilitystrip tags strip tags5
- Category
- Maintainability
- Occurrences
- 5
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
ERRORMaintainabilityNot Allowed4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- error
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
WARNINGMaintainabilityslow db query meta query3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
WARNINGMaintainabilityslow db query meta value3
- Category
- Maintainability
- Occurrences
- 3
- Severity
- warning
Sample message
Detected usage of meta_value, possible slow query.
WARNINGSecurityMissing3
- Category
- Security
- Occurrences
- 3
- Severity
- warning
Sample message
Processing form data without nonce verification.
Score History
First score snapshot
v23.4.0
22
Latest
- Findings
- 970
- Errors
- 628
- Warnings
- 342
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 22 | 970 | 628 | 342 | v23.4.0 | 2.0.0 |