IP Geo Block

It blocks spam posts, login attempts and malicious access to the back-end requested from the specific countries, and also prevents zero-day exploit.

v3.0.17.4tokkonopapaUpdated Added 9k+ installs82% rating
23
Score
399
Errors
589
Warnings
+0
Change

Category Scores

Security0
Repo88
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

988 findings

Security

539

10 issue groups

Maintainability

279

11 issue groups

I18n

110

4 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"\n<select id=\"${id}${sub_id}\" name=\"${name}${sub_name}\" "'.120
Category
Security
Occurrences
120
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"\n<select id=\"${id}${sub_id}\" name=\"${name}${sub_name}\" "'.

WARNINGSecurityRequest data is not unslashed$_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar76
Category
Security
Occurrences
76
Severity
warning

Sample message

$_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$cookie_name]75
Category
Security
Occurrences
75
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[$cookie_name]

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_error'.56
Category
Security
Occurrences
56
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$_error'.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST[&#039;ip&#039;]. Check that the array index exists before using it.55
Category
Security
Occurrences
55
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST[&#039;ip&#039;]. Check that the array index exists before using it.

ERRORI18nMissing Translators CommentA 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.51
Category
I18n
Occurrences
51
Severity
error

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.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.43
Category
Maintainability
Occurrences
43
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().43
Category
Maintainability
Occurrences
43
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.43
Category
Security
Occurrences
43
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;RandomCompat_intval&quot;.36
Category
Maintainability
Occurrences
36
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;RandomCompat_intval&quot;.

Show 15 more
WARNINGI18nNo Html Wrapped Strings36
Category
I18n
Occurrences
36
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: &#039;&lt;dfn title=&quot;IP address cache and local databases are scanned at the top priority.&quot;&gt;API selection and key settings&lt;/dfn&gt;&#039;

WARNINGSecurityInterpolated SQL is not prepared35
Category
Security
Occurrences
35
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $table at &quot;DELETE FROM `$table` ORDER BY `No` ASC LIMIT %d&quot;

WARNINGMaintainabilityNon-prefixed global variable31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$RandomCompatCOMtest&quot;.

ERRORMaintainabilityMissing direct file access protection30
Category
Maintainability
Occurrences
30
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

ERRORSecuritySQL query is not prepared28
Category
Security
Occurrences
28
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $key

WARNINGSecurityMissing nonce verification28
Category
Security
Occurrences
28
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORSecurityDatabase parameter is not escaped23
Category
Security
Occurrences
23
Severity
error

Sample message

Unescaped parameter $sql used in $wpdb->get_results()\n$sql assigned unsafely at line 1036.

WARNINGMaintainabilityNon-prefixed class23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: &quot;IP2Location&quot;.

WARNINGMaintainabilityNon-prefixed constant22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;DONOTCACHEPAGE&quot;.

ERRORMaintainabilitymysql PDO18
Category
Maintainability
Occurrences
18
Severity
error

Sample message

Accessing the database directly should be avoided. Please use the $wpdb object and associated functions instead. Found: \PDO.

WARNINGMaintainabilityDynamic hook name15
Category
Maintainability
Occurrences
15
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$plugin_slug . &#039;-logs-preset&#039;&quot;.

ERRORI18nUnordered Placeholders Text13
Category
I18n
Occurrences
13
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$d", but got "%s, %d" in 'The user %s (user ID: %d) is in use.'.

ERRORI18nMissing Arg Domain10
Category
I18n
Occurrences
10
Severity
error

Sample message

Missing $domain parameter in function call to __().

WARNINGMaintainabilityNon-prefixed hook name9
Category
Maintainability
Occurrences
9
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;allowed_redirect_hosts&quot;.

ERRORMaintainabilityfile system operations fread9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fread().

External Connections

Not analyzed yet.

Score History

First score snapshot

v3.0.17.4

23

Latest

Findings
988
Errors
399
Warnings
589
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins

Dam Spam

1k+ active installs

100
Login Security Captcha

10k+ active installs

100
Remove XML-RPC Methods

1k+ active installs

100
Shibboleth

3k+ active installs

100
Simple Login Log

5k+ active installs

100
Stop XML-RPC Attacks

6k+ active installs

100