Forces all users to login before being able to view your site. Features an options page for configuration.
Prioritized issue groups from the latest Plugin Check scan
Security
19
8 issue groups
Maintainability
5
5 issue groups
I18n
3
1 issue group
Repo Compliance
1
1 issue group
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Processing form data without nonce verification.
Sample message
Missing $domain parameter in function call to __().
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a possibly undefined superglobal array index: $_SERVER['PHP_SELF']. Check that the array index exists before using it.
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "RegisteredUsersOnly".
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "RegisteredUsersOnly".
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "registered-users-only_exclusions".
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$RegisteredUsersOnly".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
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
Detected usage of a non-sanitized input variable: $_SERVER['PHP_SELF']
Sample message
$_SERVER['PHP_SELF'] 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
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.3.0
49
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 49 | 28 | 14 | 14 | v1.3.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.