Login as User is a free WordPress plugin that helps admins switch user accounts instantly to check data.
Prioritized issue groups from the latest Plugin Check scan
Security
80
5 issue groups
Maintainability
45
11 issue groups
I18n
39
5 issue groups
Repo Compliance
1
1 issue group
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<style>{$css}</style>"'.
Sample message
The $text parameter must be a single text string literal. Found: $args['placeholder']
Sample message
Processing form data without nonce verification.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "auth_cookie_expiration".
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$auth_cookie_name]
Sample message
Missing $domain parameter in function call to __().
Sample message
Short PHP opening tag used with echo; expected "<?php echo $active_subtab ..." but found "<?= $active_subtab ..."
Sample message
Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
Sample message
$_GET['back_url'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
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.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_LoginAsUser".
Sample message
error_log() found. Debug code should not normally be used in production.
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
parse_url() is discouraged because of inconsistency in the output across PHP versions; use wp_parse_url() instead.
Sample message
Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
Sample message
Translatable string should not be wrapped in HTML. Found: '<p style="color:red">You have to navigate to the <a href="users.php"><strong>Users page</strong></a> and then you will see a button with the name "<strong>Login as: `username`</strong>", at the right side of each username. If you click on this button you will login at the front-end of the website as this User.</p>'
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
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
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "w357LoginAsUser".
Sample message
Resource version not set in call to wp_register_style(). This means new versions of the style may not always be loaded due to browser caching.
Sample message
Your plugin has a different license declared in the readme file and plugin header. Please update your readme with a valid GPL license identifier.
Not analyzed yet.
First score snapshot
v1.7.2
36
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 165 | 101 | 64 | v1.7.2 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.