Simple IP Ban is a lightweight ip / user agent ban plugin.
Prioritized issue groups from the latest Plugin Check scan
Security
47
6 issue groups
I18n
12
1 issue group
Maintainability
6
4 issue groups
Repo Compliance
3
3 issue groups
Sample message
Detected usage of a possibly undefined superglobal array index: $_POST['ip_list']. Check that the array index exists before using it.
Sample message
$_POST['_wpprotect'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Missing $domain parameter in function call to __().
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Detected usage of a non-sanitized input variable: $_POST['_wpprotect']
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "register_simple_ip_ban_submenu_page".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$ip_list'.
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
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
Plugin name "IP Ban" is different from the name declared in plugin header "Simple IP Ban".
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.
Sample message
Tested up to: 4.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.
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Not analyzed yet.
First score snapshot
v1.3.0
41
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 41 | 68 | 29 | 39 | v1.3.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.