Geo Controller

Enhance your WordPress site with Geo Controller – a comprehensive plugin offering advanced location-based features and personalized content delivery.

v8.9.6INFINITUM FORMUpdated Added 1k+ installs88% rating
23
Score
203
Errors
544
Warnings
+0
Change

Category Scores

Security0
Repo90
Performance92
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

747 findings

Maintainability

328

13 issue groups

Security

264

9 issue groups

I18n

74

2 issue groups

Performance

13

1 issue group

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

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.69
Category
I18n
Occurrences
69
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.53
Category
Maintainability
Occurrences
53
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().48
Category
Maintainability
Occurrences
48
Severity
warning

Sample message

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

WARNINGMaintainabilityMixed line endingsFile has mixed line endings; this may cause incorrect results40
Category
Maintainability
Occurrences
40
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET[$key]31
Category
Security
Occurrences
31
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET[$key]

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "cf_geoplugin_formatted_woocommerce_converted_price".30
Category
Maintainability
Occurrences
30
Severity
warning

Sample message

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

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.21
Category
Maintainability
Occurrences
21
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

Show 15 more
ERRORSecuritySQL query is not prepared16
Category
Security
Occurrences
16
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification13
Category
Security
Occurrences
13
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGPerformancePost Not In exclude13
Category
Performance
Occurrences
13
Severity
warning

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.

WARNINGSecurityInput is not validated12
Category
Security
Occurrences
12
Severity
warning

Sample message

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

ERRORMaintainabilityrand mt rand10
Category
Maintainability
Occurrences
10
Severity
error

Sample message

mt_rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORSecurityDatabase parameter is not escaped9
Category
Security
Occurrences
9
Severity
error

Sample message

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

ERRORMaintainabilityForbidden PHP function found8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

The use of function str_rot13() is forbidden

WARNINGSecurityInterpolated SQL is not prepared8
Category
Security
Occurrences
8
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable {$checkboxes_prepare} at "DELETE FROM `{$wpdb->cfgp_seo_redirection}` WHERE `{$wpdb->cfgp_seo_redirection}`.`ID` IN ({$checkboxes_prepare})"

ERRORSecurityOutput is not escaped7
Category
Security
Occurrences
7
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations fclose7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations touch6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations mkdir5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

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

ERRORMaintainabilityDeprecated parameter: add_option parameter 35
Category
Maintainability
Occurrences
5
Severity
error

Sample message

The parameter "false" at position #3 of add_option() has been deprecated since WordPress version 2.3.0. Instead do not pass the parameter.

ERRORI18nUnordered Placeholders Text5
Category
I18n
Occurrences
5
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in 'Copyright © %d-%d Geo Controller. All rights reserved.'.

WARNINGMaintainabilityDiscouraged PHP function4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

The use of function ini_set() is discouraged

External Connections

Potential connections found in static code analysis.

31 domains

Outbound calls

135

External assets

2

Incoming endpoints

28

Notable Domains

infinitumform.com43 · outbound
wpgeocontroller.com30 · outbound
php.net6 · outbound
somesite.com4 · outbound
api.ipify.org2 · outbound

Platform / Reference Domains

wordpress.org6 · platform/reference
w3.org3 · platform/reference
github.com2 · platform/reference
gnu.org2 · platform/reference

External Asset Domains

gmpg.org1 · asset

Incoming Endpoints

wp_ajax_nopriv_cf_geoplugin_authenticatepublic

wp_ajax

wp_ajax_nopriv_cf_geoplugin_lookuppublic

wp_ajax

wp_ajax_nopriv_cf_geoplugin_banner_cachepublic

wp_ajax

wp_ajax_nopriv_cf_geoplugin_shortcode_cachepublic

wp_ajax

wp_ajax_nopriv_cfgeo_full_currency_converterpublic

wp_ajax

wp_ajax_nopriv_cfgp_display_control_csspublic

wp_ajax

Admin AJAX endpoints16
wp_ajax_cf_geoplugin_authenticateauthenticated

wp_ajax

wp_ajax_cf_geoplugin_lookupauthenticated

wp_ajax

wp_ajax_cf_geoplugin_banner_cacheauthenticated

wp_ajax

wp_ajax_cf_geoplugin_shortcode_cacheauthenticated

wp_ajax

wp_ajax_cfgeo_full_currency_converterauthenticated

wp_ajax

wp_ajax_cfgp_dashboard_rss_feedauthenticated

wp_ajax

wp_ajax_cfgp_dimiss_notice_plugin_supportauthenticated

wp_ajax

wp_ajax_cfgp_display_control_cssauthenticated

wp_ajax

wp_ajax_cfgp_geolocate_menuauthenticated

wp_ajax

wp_ajax_cfgp_geolocate_remove_menuauthenticated

wp_ajax

wp_ajax_cfgp_gfield_autocomplete_locationauthenticated

wp_ajax

wp_ajax_cfgp_rest_delete_access_tokenauthenticated

wp_ajax

4 more hidden

Score History

First score snapshot

v8.9.6

23

Latest

Findings
747
Errors
203
Warnings
544
Check
2.0.0

Relationship Map

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

30 nodes