PublishPress Blocks is your complete solution for the WordPress block editor. You can control block permissions, styles, visibility, usage and more.
Prioritized issue groups from the latest Plugin Check scan
Security
343
7 issue groups
Maintainability
262
14 issue groups
I18n
35
3 issue groups
Performance
3
1 issue group
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_option".
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
$_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['page']. Check that the array index exists before using it.
Sample message
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$current_tab'.
Sample message
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$cookie_name]
Sample message
Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Page not found. Go to %sDashboard%s'.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "AdvancedGutenbergAutoInsertBlocks".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "advg_check_legacy_widget_block_init".
Sample message
rand() is discouraged. Use the far less predictable wp_rand() instead.
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Processing form data without nonce verification.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Detected usage of meta_key, possible slow query.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "enqueue_block_editor_assets".
Sample message
Using exclusionary parameters, like post__not_in, 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.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Sample message
File has mixed line endings; this may cause incorrect results
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.
Potential connections found in static code analysis.
Outbound calls
242
External assets
3
Incoming endpoints
23
register_rest_route
register_rest_route
register_rest_route
register_rest_route
register_rest_route
register_rest_route
admin_post
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
wp_ajax
1 more hidden
2 score snapshots
v3.7.4
30
Latest
v3.7.3
30
Score
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 30 | 656 | 239 | 417 | v3.7.4 | 2.0.0 |
| 30 | 591 | 251 | 340 | v3.7.3 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.