Five Star Restaurant Menu and Food Ordering

Restaurant menu and food ordering system that is easy to set up and integrates with any theme. Includes restaurant menu blocks and patterns.

v2.5.3RustauriusUpdated Added 5k+ installs92% rating
22
Score
752
Errors
609
Warnings
+0
Change

Category Scores

Security0
Repo81
Performance97
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,361 findings

Security

799

8 issue groups

Maintainability

402

12 issue groups

I18n

112

5 issue groups

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

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.161
Category
Security
Occurrences
161
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 hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'fdm-setting-' . $setting".118
Category
Maintainability
Occurrences
118
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'fdm-setting-' . $setting".

WARNINGSecurityRequest data is not unslashed$_COOKIE['fdm_cart'] not unslashed before sanitization. Use wp_unslash() or similar95
Category
Security
Occurrences
95
Severity
warning

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

ERRORSecurityException output is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"Cannot save property `{$key}` containing an API resource of type "'.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 '"Cannot save property `{$key}` containing an API resource of type "'.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

Show 15 more
ERRORI18nText Domain Mismatch45
Category
I18n
Occurrences
45
Severity
error

Sample message

Mismatched text domain. Expected 'food-and-drink-menu' but got 'EWD_ABCO'.

WARNINGSecurityInput is not validated38
Category
Security
Occurrences
38
Severity
warning

Sample message

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

ERRORMaintainabilitydate date28
Category
Maintainability
Occurrences
28
Severity
error

Sample message

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

ERRORI18nMissing Translators Comment27
Category
I18n
Occurrences
27
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.

WARNINGSecurityInput is not sanitized26
Category
Security
Occurrences
26
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE['fdm_cart']

WARNINGMaintainabilityNon-prefixed function22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain22
Category
I18n
Occurrences
22
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed constant14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "FDM_DEBUG".

ERRORI18nNon Singular String Literal Text11
Category
I18n
Occurrences
11
Severity
error

Sample message

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

WARNINGMaintainabilityerror log error log7
Category
Maintainability
Occurrences
7
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In Footer7
Category
Maintainability
Occurrences
7
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.

ERRORI18nUnordered Placeholders Text7
Category
I18n
Occurrences
7
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'As a thank you to our customers, for a limited time you can get a <strong>free pro license</strong>! Try the <a target=\'_blank\' href=\'%s\'>free version</a> today or use code <code>early_adopter_pro</code> to <a target=\'_blank\' href=\'%s\'>get your pro version license</a>!'.

WARNINGMaintainabilityerror log debug backtrace6
Category
Maintainability
Occurrences
6
Severity
warning

Sample message

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

ERRORMaintainabilityDeprecated parameter: get_terms parameter 25
Category
Maintainability
Occurrences
5
Severity
error

Sample message

The parameter "array( 'fields' => 'ids' )" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.

ERRORMaintainabilityForbidden PHP function found4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

The use of function move_uploaded_file() is forbidden

External Connections

Not analyzed yet.

Score History

First score snapshot

v2.5.3

22

Latest

Findings
1,361
Errors
752
Warnings
609
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins