Widget Disable

Disable sidebar and dashboard widgets with an easy to use interface.

v3.0.1requiredUpdated 2024-11-18Added Apr 23, 201510k+ installs96% rating
46
Score
19
Errors
19
Warnings
+0
Change

Category Scores

Security7
Repo94
Performance100
Maintainability90

Top Issues by Category

Issues Details

38 issues found in latest scan

ERROR8
WordPress.Security.EscapeOutput.OutputNotEscaped

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

ERROR8
WordPress.Security.EscapeOutput.UnsafePrintingFunction

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

WARNING6
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

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

WARNING3
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_POST[$this->dashboard_widgets_option]

WARNING3
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_POST[$this->dashboard_widgets_option] not unslashed before sanitization. Use wp_unslash() or similar

WARNING2
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

ERROR2
missing_direct_file_access_protection

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

WARNING1
PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound

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.

WARNING1
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING1
WordPress.DB.DirectDatabaseQuery.NoCaching

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

WARNING1
missing_composer_json_file

The "/vendor" directory using composer exists, but "composer.json" file is missing.

ERROR1
outdated_tested_upto_header

Tested up to: 6.7 < 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.

WARNING1
trademarked_term

The plugin slug includes a restricted term. Your plugin slug - "wp-widget-disable" - contains the restricted term "wp" which cannot be used at all in your plugin slug.

Latest Snapshot

Findings

38

Errors

19

Warnings

19

Score History

First score snapshot

First scan completed Jun 20, 2026

v3.0.1 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v3.0.1

46

Latest

Findings
38
Errors
19
Warnings
19
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins