Basic Google Maps Placemarks

Embeds a Google Map into your site and lets you add map markers with custom icons and information windows.

v1.10.8Ian DunnUpdated Added 3k+ installs88% rating
35
Score
189
Errors
80
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability55

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

269 findings

Security

122

8 issue groups

I18n

77

4 issue groups

Maintainability

65

13 issue groups

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

Sample message

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

WARNINGMaintainabilityDynamic Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "BasicGoogleMapsPlacemarks::PREFIX . 'head-after'".34
Category
Maintainability
Occurrences
34
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "BasicGoogleMapsPlacemarks::PREFIX . 'head-after'".

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to esc_attr_e().21
Category
I18n
Occurrences
21
Severity
error

Sample message

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

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

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $p->ID20
Category
I18n
Occurrences
20
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $p->ID

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in '%d (farthest) to %d (closest)'.15
Category
I18n
Occurrences
15
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in '%d (farthest) to %d (closest)'.

ERRORSecurityregister setting MissingSanitization missing for register_setting().14
Category
Security
Occurrences
14
Severity
error

Sample message

Sanitization missing for register_setting().

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

Sample message

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

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

Sample message

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

WARNINGSecurityMissingProcessing form data without nonce verification.7
Category
Security
Occurrences
7
Severity
warning

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGSecurityMissing Unslash7
Category
Security
Occurrences
7
Severity
warning

Sample message

$_POST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityRecommended6
Category
Security
Occurrences
6
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not Sanitized6
Category
Security
Occurrences
6
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['_wpnonce']

WARNINGMaintainabilityNon Prefixed Hookname Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log print r3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityInput Not Validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query tax query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORMaintainabilitywp function not compatible with requires wp2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_kses_allowed_html()" requires WordPress 3.5.0, but your plugin minimum supported version is WordPress 3.1.0.

WARNINGMaintainabilityDirect Query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Class Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log trigger error1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log var dump1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

ERRORMaintainabilityrand mt rand1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilitystrip tags strip tags1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

Score History

First score snapshot

v1.10.8

35

Latest

Findings
269
Errors
189
Warnings
80
Check
2.0.0

Related Plugins

Extensions for Leaflet Map

3k+ active installs

99
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