WP Open Street Map

Create easily maps with OpenStreetMap

v1.41manu225Updated Added 3k+ installs78% rating
35
Score
59
Errors
111
Warnings
+0
Change

Category Scores

Security0
Repo79
Performance100
Maintainability74

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

170 findings

Security

109

6 issue groups

Maintainability

57

8 issue groups

Repo Compliance

2

2 issue groups

I18n

1

1 issue group

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

Sample message

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

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

Sample message

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

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

Sample message

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

ERRORSecurityDatabase parameter is not escapedUnescaped parameter $maps_table used in $wpdb->get_results()\n$maps_table assigned unsafely at line 220.18
Category
Security
Occurrences
18
Severity
error

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['id'] not unslashed before sanitization. Use wp_unslash() or similar17
Category
Security
Occurrences
17
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityMissing VersionResource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_script(). This means new versions of the script may not always be loaded due to browser caching.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP Open Street Map" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP Open Street Map" - contains the restricted term "wp" which cannot be used at all in your plugin name.

Show 8 more
WARNINGMaintainabilityNot In Footer2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORMaintainabilityNon Enqueued Script2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

ERRORMaintainabilityNon Enqueued Stylesheet2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

WARNINGSecurityNonce verification recommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORI18nDeprecated parameter: load_plugin_textdomain parameter 21
Category
I18n
Occurrences
1
Severity
error

Sample message

The parameter "FALSE" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Use "" instead.

ERRORSupply ChainHidden files included1
Category
Supply Chain
Occurrences
1
Severity
error

Sample message

Hidden files are not permitted.

ERRORRepo Complianceplugin header invalid network1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

The "Network" header in the plugin file is not valid. Can only be set to true, and should be left out when not needed.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.41

35

Latest

Findings
170
Errors
59
Warnings
111
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Gmap Block

10k+ active installs

99
Maps Widget for Google Maps

30k+ active installs

99
Map Block

6k+ active installs

98
Responsive Image Maps

4k+ active installs

98
WP Go Maps Block

3k+ active installs

98