This plugin offers a simple way to restrict visits to select pages only to logged-in users and allows for page redirection to an existing login page.
Prioritized issue groups from the latest Plugin Check scan
Security
70
7 issue groups
Maintainability
31
6 issue groups
I18n
15
4 issue groups
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
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$edit_url".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$edit_url'.
Sample message
Processing form data without nonce verification.
Sample message
The $text parameter must be a single text string literal. Found: "Hi%s, Thank you for using <b>" . SIMPLE_PAGE_ACCESS_RESTRICTION_NAME . "</b>. Please don't forget to rate our plugin. We sincerely appreciate your feedback."
Sample message
$_POST['email'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Missing $domain parameter in function call to esc_attr_e().
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['reason']. Check that the array index exists before using it.
Sample message
Detected usage of a non-sanitized input variable: $_POST['ps_simple_par_mb_nonce']
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "plugin_locale".
Sample message
Too many parameters passed to function "_e()". Expected: 2 parameters, received: 3
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
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
A function call to esc_html__() 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
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.0.35
41
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 41 | 117 | 66 | 51 | v1.0.35 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.