Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets

Widget Options gives you super powers to control your site’s sidebar widgets and all Gutenberg blocks on pages, posts & other custom post types.

v4.2.5Marketing FireUpdated 2026-05-26Added Feb 8, 2016100k+ installs98% rating67% support resolved
31
Score
837
Errors
295
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability38

Top Issues by Category

security901
maintainability189
i18n35

Issues Details

1,132 issues found in latest scan

ERROR542
WordPress.Security.EscapeOutput.UnsafePrintingFunction

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

ERROR247
WordPress.Security.EscapeOutput.OutputNotEscaped

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

WARNING100
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'widget_options_visibility_single_block_' . $tax_value".

WARNING35
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_GET['action'] not unslashed before sanitization. Use wp_unslash() or similar

WARNING26
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING26
WordPress.DB.DirectDatabaseQuery.NoCaching

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNING23
WordPress.Security.NonceVerification.Recommended

Processing form data without nonce verification.

WARNING20
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

WARNING19
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_FILES['widgeopts_file']

WARNING15
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

ERROR15
WordPress.WP.I18n.MissingTranslatorsComment

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.

WARNING13
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

Detected usage of a possibly undefined superglobal array index: $_FILES['widgeopts_file']. Check that the array index exists before using it.

ERROR7
WordPress.WP.I18n.MissingArgDomain

Missing $domain parameter in function call to __().

ERROR7
WordPress.WP.I18n.NonSingularStringLiteralText

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

ERROR6
WordPress.WP.I18n.UnorderedPlaceholdersText

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in 'Successfully migrated display logic to snippets. Created %d snippets and updated %d widgets.'.

WARNING4
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound

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

WARNING4
WordPress.PHP.DevelopmentFunctions.prevent_path_disclosure_error_reporting

error_reporting() can lead to full path disclosure.

WARNING3
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound

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

ERROR3
missing_direct_file_access_protection

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

ERROR3
wp_function_not_compatible_with_requires_wp

Function "wp_use_widgets_block_editor()" requires WordPress 5.8.0, but your plugin minimum supported version is WordPress 5.6.0.

ERROR2
WordPress.DateTime.RestrictedFunctions.date_date

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

WARNING2
WordPress.Security.SafeRedirect.wp_redirect_wp_redirect

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

ERROR1
Generic.PHP.ForbiddenFunctions.Found

The use of function eval() is forbidden

ERROR1
WordPress.WP.AlternativeFunctions.parse_url_parse_url

parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.

ERROR1
WordPress.WP.AlternativeFunctions.strip_tags_strip_tags

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

Latest Snapshot

Findings

1,132

Errors

837

Warnings

295

Score History

First score snapshot

First scan completed Jun 19, 2026

v4.2.5 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 19, 2026

v4.2.5

31

Latest

Findings
1,132
Errors
837
Warnings
295
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins