Remove admin menus by role

Select easily which admin menus to remove for which roles.

v1.38manu225Updated 2026-05-19Added Feb 16, 20168k+ installs88% rating
57
Score
5
Errors
54
Warnings
+0
Change

Category Scores

Security29
Repo89
Performance100
Maintainability87

Top Issues by Category

Issues Details

59 issues found in latest scan

WARNING17
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

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

WARNING13
WordPress.Security.ValidatedSanitizedInput.MissingUnslash

$_POST['active'] not unslashed before sanitization. Use wp_unslash() or similar

WARNING10
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_POST['active']

WARNING5
WordPress.DB.DirectDatabaseQuery.DirectQuery

Use of a direct database call is discouraged.

WARNING5
WordPress.DB.DirectDatabaseQuery.NoCaching

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

ERROR2
WordPress.WP.AlternativeFunctions.strip_tags_strip_tags

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

WARNING1
WordPress.DB.DirectDatabaseQuery.SchemaChange

Attempting a database schema change is discouraged.

WARNING1
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

WARNING1
WordPress.WP.EnqueuedResourceParameters.MissingVersion

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

WARNING1
mismatched_plugin_name

Plugin name "Remove admin menus by role" is different from the name declared in plugin header "Remove admin menus by roles".

ERROR1
missing_direct_file_access_protection

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

ERROR1
plugin_header_invalid_network

The "Network" header in the plugin file is not valid. Can only be set to true, and should be left out when not needed.

ERROR1
plugin_header_no_license

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

Latest Snapshot

Findings

59

Errors

5

Warnings

54

Score History

First score snapshot

First scan completed Jun 20, 2026

v1.38 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v1.38

57

Latest

Findings
59
Errors
5
Warnings
54
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins