Geo Blocker – Control Site Access by Region and IP

🔐 Block or allow visitors by country. Track access attempts. View analytics. Stay in control — effortlessly.

v1.0.0Mohamed ShiliUpdated Added 800 installs100% rating0% support resolved
42
Score
10
Errors
64
Warnings
+0
Change

Category Scores

Security3
Repo91
Performance100
Maintainability84

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

74 findings

Maintainability

44

5 issue groups

Security

28

8 issue groups

Repo Compliance

2

2 issue groups

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

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$current_blocked_action".16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $prepared_sql used in $wpdb->get_results()\n$prepared_sql assigned unsafely at line 179.13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

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

Sample message

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

ERRORSecuritySQL query is not preparedUse placeholders and $wpdb->prepare(); found $prepared_sql7
Category
Security
Occurrences
7
Severity
error

Sample message

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

WARNINGSecurityUnfinished PrepareReplacement variables found, but no valid placeholders found in the query.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

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

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable {$table_name} at "SELECT COUNT(id) FROM {$table_name}"1
Category
Security
Occurrences
1
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$table_name} at "SELECT COUNT(id) FROM {$table_name}"

ERRORSecurityUnsupported Identifier PlaceholderThe %i modifier is only supported in WP 6.2 or higher. Found: "%i".1
Category
Security
Occurrences
1
Severity
error

Sample message

The %i modifier is only supported in WP 6.2 or higher. Found: "%i".

Show 5 more
WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
Severity
warning

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.

WARNINGSecurityInput is not sanitized1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_SERVER['REQUEST_URI']

ERRORMaintainabilityMissing direct file access protection1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.8 < 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.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

External Connections

Potential connections found in static code analysis.

7 domains

Outbound calls

9

External assets

0

Incoming endpoints

4

Notable Domains

php-fig.org2 · outbound
chartjs.org1 · outbound
ipwho.is1 · outbound

Platform / Reference Domains

github.com2 · platform/reference
gnu.org1 · platform/reference
profiles.wordpress.org1 · platform/reference
wordpress.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints4
wp_ajax_medshi_geo_block_clear_logsauthenticated

wp_ajax

wp_ajax_medshi_geo_block_get_chart_dataauthenticated

wp_ajax

wp_ajax_medshi_geo_block_refresh_log_tableauthenticated

wp_ajax

wp_ajax_medshi_geo_block_toggle_enabled_statusauthenticated

wp_ajax

Score History

First score snapshot

v1.0.0

42

Latest

Findings
74
Errors
10
Warnings
64
Check
2.0.0

Relationship Map

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

32 nodes

Related Plugins