Easily assign different menus to pages, posts, user roles, devices, and custom URLs using advanced conditional menu visibility rules.
Prioritized issue groups from the latest Plugin Check scan
I18n
120
4 issue groups
Maintainability
83
9 issue groups
Security
75
9 issue groups
Repo Compliance
2
2 issue groups
Sample message
Mismatched text domain. Expected 'different-menus-in-different-pages' but got 'different-menu'.
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$assigned_menu".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$current_user'.
Sample message
$_GET['page'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['assigned_menu']. Check that the array index exists before using it.
Sample message
Missing $domain parameter in function call to esc_attr_e().
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_POST['diffrent-menu-user-roles'][$menu_item_db_id]
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_different_menus_for_different_page".
Sample message
Detected usage of a non-sanitized, non-validated input variable _SERVER: "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"
Sample message
Processing form data without nonce verification.
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
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.
Sample message
Found call to wp_enqueue_style() with external resource. Offloading styles to your servers or any remote service is disallowed.
Sample message
Sanitization missing for register_setting().
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "TabOrganizer".
Sample message
print_r() found. Debug code should not normally be used in production.
Sample message
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.
Sample message
Stylesheets must be registered/enqueued via wp_enqueue_style()
Sample message
Plugin name "Different Menu in Different Pages – Conditional Menu" is different from the name declared in plugin header "Different Menus in Different Pages".
Sample message
Tested up to: 6.8 < 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.
Sample message
One or more tags were ignored. Please limit your plugin to 5 tags.
Sample message
The "Text Domain" header in the plugin file does not match the slug. Found "different-menu", expected "different-menus-in-different-pages".
Not analyzed yet.
First score snapshot
v2.4.5
36
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 280 | 167 | 113 | v2.4.5 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.