Simple but yet effective plugin to hide selected posts and pages from anonymous users.
Prioritized issue groups from the latest Plugin Check scan
Security
35
8 issue groups
Maintainability
4
2 issue groups
I18n
4
4 issue groups
Performance
2
2 issue groups
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
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$restricted_count'.
Sample message
$_POST['password'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Detected usage of meta_query, possible slow query.
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: $_POST['password']
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['password']. Check that the array index exists before using it.
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
Sanitization missing for register_setting().
Sample message
Missing $domain parameter in function call to __().
Sample message
A function call to _n() 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
Mismatched text domain. Expected 'anonymous-restricted-content' but got 'arc_posts_restricted'.
Sample message
Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.
Sample message
Using exclusionary parameters, like post__not_in, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.
Sample message
Tested up to: 6.7 < 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.
Potential connections found in static code analysis.
Outbound calls
15
External assets
0
Incoming endpoints
1
No notable third-party domains detected.
No external asset domains detected.
wp_ajax
First score snapshot
v1.6.6
43
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 43 | 46 | 22 | 24 | v1.6.6 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.