Five Star Restaurant Reviews

Restaurant reviews made easy. Add and display reviews on your restaurant site using SEO friendly schema markup.

v2.3.12RustauriusUpdated Added 400 installs98% rating
33
Score
242
Errors
142
Warnings
+0
Change

Category Scores

Security0
Repo100
Performance100
Maintainability39

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

384 findings

Security

263

7 issue groups

Maintainability

92

14 issue groups

I18n

19

4 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$Dashboard_Location'.155
Category
Security
Occurrences
155
Severity
error

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "mcfrtbAdminPageSettingMcApiKey_2_6_19".33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['type'] not unslashed before sanitization. Use wp_unslash() or similar20
Category
Security
Occurrences
20
Severity
warning

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

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.9
Category
Maintainability
Occurrences
9
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.

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

Sample message

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

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

Sample message

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

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

Show 15 more
WARNINGMaintainabilityNot In Footer6
Category
Maintainability
Occurrences
6
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.

WARNINGMaintainabilityNon-prefixed global variable5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log debug backtrace5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain5
Category
I18n
Occurrences
5
Severity
error

Sample message

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

ERRORI18nText Domain Mismatch5
Category
I18n
Occurrences
5
Severity
error

Sample message

Mismatched text domain. Expected 'good-reviews-wp' but got 'simple-admin-pages'.

ERRORMaintainabilitywp function not compatible with requires wp5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Function "register_block_type()" requires WordPress 5.0.0, but your plugin minimum supported version is WordPress 3.9.0.

WARNINGSecurityInput is not sanitized4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilityNo Explicit Version4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.

WARNINGMaintainabilityslow db query meta value3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGMaintainabilityNon-prefixed function3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "fsp_add_frontend_ajax_url".

WARNINGMaintainabilityNon-prefixed hook name3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORMaintainabilitystrip tags strip tags3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilityDeprecated parameter: get_terms parameter 23
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The parameter "$this->args" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

WARNINGMaintainabilityslow db query meta key2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORI18nUnordered Placeholders Text2
Category
I18n
Occurrences
2
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'You have been logged out. Please %slogin again%s.'.

External Connections

Potential connections found in static code analysis.

26 domains

Outbound calls

108

External assets

2

Incoming endpoints

8

Notable Domains

fivestarplugins.com20 · outbound
amsul.github.io5 · outbound
amsul.ca3 · outbound
ansciath.tumblr.com2 · outbound
bgrins.github.io2 · outbound

Platform / Reference Domains

github.com18 · platform/reference
w3.org12 · platform/reference
wordpress.org9 · platform/reference
codex.wordpress.org8 · platform/reference
schema.org5 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

youtube.com5 · asset + outbound
gmpg.org1 · asset

Incoming Endpoints

wp_ajax_nopriv_fdm_grfwp_handle_submitted_reviewpublic

wp_ajax

wp_ajax_nopriv_grfwp_ajax_load_reviewspublic

wp_ajax

Admin AJAX endpoints6
wp_ajax_fdm_grfwp_handle_submitted_reviewauthenticated

wp_ajax

wp_ajax_grfwp_ajax_load_reviewsauthenticated

wp_ajax

wp_ajax_grfwp_hide_helper_noticeauthenticated

wp_ajax

wp_ajax_grfwp_hide_review_askauthenticated

wp_ajax

wp_ajax_grfwp_send_feature_suggestionauthenticated

wp_ajax

wp_ajax_grfwp_send_feedbackauthenticated

wp_ajax

Score History

First score snapshot

v2.3.12

33

Latest

Findings
384
Errors
242
Warnings
142
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins