Track Geolocation Of Users Using Contact Form 7

Track Geolocation Of Users Using Contact Form 7 allows you to get geolocation information with their form submission.

v3.0.2ZealousWebUpdated Added 900 installs100% rating
40
Score
17
Errors
173
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability74

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

190 findings

Security

145

7 issue groups

Maintainability

37

11 issue groups

I18n

8

5 issue groups

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_GET['city-filter'] not unslashed before sanitization. Use wp_unslash() or similar45
Category
Security
Occurrences
45
Severity
warning

Sample message

$_GET['city-filter'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_POST['nonce']. Check that the array index exists before using it.15
Category
Security
Occurrences
15
Severity
warning

Sample message

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

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

Sample message

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

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().5
Category
Security
Occurrences
5
Severity
error

Sample message

Sanitization missing for register_setting().

WARNINGMaintainabilityerror log print rprint_r() found. Debug code should not normally be used in production.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.4
Category
Security
Occurrences
4
Severity
warning

Sample message

Processing form data without nonce verification.

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.4
Category
I18n
Occurrences
4
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.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

Show 13 more
WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORMaintainabilitydate date2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORMaintainabilityMissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityNo PHP code found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

WARNINGI18nDiscouraged text-domain loading1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

ERRORMaintainabilityOffloaded Content1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Found call to wp_register_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.

WARNINGMaintainabilityslow db query meta key1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

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.

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: self::$cfgeo_activation_menuname

ERRORI18nText Domain Mismatch1
Category
I18n
Occurrences
1
Severity
error

Sample message

Mismatched text domain. Expected 'track-geolocation-of-users-using-contact-form-7' but got 'text-domain'.

ERRORI18nUnordered Placeholders Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in 'Test completed successfully! %d out of %d webhooks responded successfully.'.

External Connections

Potential connections found in static code analysis.

18 domains

Outbound calls

23

External assets

1

Incoming endpoints

5

Notable Domains

maps.google.com2 · outbound
zealousweb.com2 · outbound
api.ipstack.com1 · outbound

Platform / Reference Domains

wordpress.org2 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

Incoming Endpoints

wp_ajax_nopriv_cfgeo_filter_submissionspublic

wp_ajax

Admin AJAX endpoints4
wp_ajax_cfgeo_clear_webhook_logsauthenticated

wp_ajax

wp_ajax_cfgeo_filter_submissionsauthenticated

wp_ajax

wp_ajax_cfgeo_get_webhook_logsauthenticated

wp_ajax

wp_ajax_cfgeo_test_webhookauthenticated

wp_ajax

Score History

First score snapshot

v3.0.2

40

Latest

Findings
190
Errors
17
Warnings
173
Check
2.0.0

Relationship Map

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

35 nodes

Related Plugins

Maps Widget for Google Maps

30k+ active installs

99
WP Go Maps Block

3k+ active installs

98
API KEY for Google Maps

40k+ active installs

94
User IP and Location

3k+ active installs

88