WP User Switch is a very simple plugin which will help you to switch instantly between the user's account in a WordPress site.
Prioritized issue groups from the latest Plugin Check scan
Security
32
5 issue groups
Maintainability
18
4 issue groups
I18n
3
2 issue groups
Repo Compliance
1
1 issue group
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[WP_USERSWITCH_LOGGED_IN_COOKIE]
Sample message
$_POST['wpus_allow_users'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$allow_users".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "WP_USERSWITCH_ASSETS".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'sanitize_user'.
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_HOST']. Check that the array index exists before using it.
Sample message
The plugin name includes a restricted term. Your chosen plugin name - "WP User Switch" - contains the restricted term "wp" which cannot be used at all in your plugin name.
Sample message
Mismatched text domain. Expected 'wp-user-switch' but got 'user-switch'.
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
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
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
Tested up to: 6.9 < 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.
Not analyzed yet.
First score snapshot
v1.1.3
53
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 53 | 54 | 8 | 46 | v1.1.3 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.