IP Location Block

Easily block visitors by country, state or ISP provider. Also, protects your site from spam, login attempts, malicious access & more.

v1.3.8Darko G.Updated Added 10k+ installs92% rating0% support resolved
25
Score
521
Errors
624
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,145 findings

Security

618

11 issue groups

Maintainability

346

10 issue groups

I18n

116

4 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$action'.132
Category
Security
Occurrences
132
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "Net_DNS2".84
Category
Maintainability
Occurrences
84
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "Net_DNS2".

WARNINGSecurityMissing Unslash$_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar70
Category
Security
Occurrences
70
Severity
warning

Sample message

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

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.69
Category
Security
Occurrences
69
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_COOKIE[$cookie_name]60
Category
Security
Occurrences
60
Severity
warning

Sample message

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

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.53
Category
I18n
Occurrences
53
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.

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$RandomCompatCOMtest".52
Category
Maintainability
Occurrences
52
Severity
warning

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.46
Category
Maintainability
Occurrences
46
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().46
Category
Maintainability
Occurrences
46
Severity
warning

Sample message

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

Show 15 more
WARNINGSecurityRecommended42
Category
Security
Occurrences
42
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInterpolated Not Prepared39
Category
Security
Occurrences
39
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $table at "ALTER TABLE $table ADD `city` VARCHAR(100) DEFAULT NULL AFTER `code`"

WARNINGMaintainabilityNon Prefixed Hookname Found39
Category
Maintainability
Occurrences
39
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "google-charts".

WARNINGI18nNo Html Wrapped Strings36
Category
I18n
Occurrences
36
Severity
warning

Sample message

Translatable string should not be wrapped in HTML. Found: '<dfn title="IP address cache and local databases are scanned at the top priority.">API selection and key settings</dfn>'

WARNINGSecurityMissing33
Category
Security
Occurrences
33
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not Validated33
Category
Security
Occurrences
33
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_POST['length']. Check that the array index exists before using it.

ERRORSecurityNot Prepared27
Category
Security
Occurrences
27
Severity
error

Sample message

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

ERRORMaintainabilitymissing direct file access protection26
Category
Maintainability
Occurrences
26
Severity
error

Sample message

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

ERRORSecurityUnescaped DBParameter21
Category
Security
Occurrences
21
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant Found21
Category
Maintainability
Occurrences
21
Severity
warning

Sample message

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

ERRORMaintainabilitymysql PDO20
Category
Maintainability
Occurrences
20
Severity
error

Sample message

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

ERRORI18nUnordered Placeholders Text16
Category
I18n
Occurrences
16
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 Domain11
Category
I18n
Occurrences
11
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fclose6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fread6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

Score History

First score snapshot

v1.3.8

25

Latest

Findings
1,145
Errors
521
Warnings
624
Check
2.0.0

Related Plugins