RestroPress – Online Food Ordering System

Commission free online food ordering for WordPress. Take pickup, delivery, and dine-in orders on your own site, with no per order fees.

v3.3MagnigenieUpdated Added 1k+ installs88% rating0% support resolved
18
Score
521
Errors
3,083
Warnings
+0
Change

Category Scores

Security0
Repo62
Performance83
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

3,604 findings

Maintainability

1,787

13 issue groups

Security

1,363

9 issue groups

I18n

277

3 issue groups

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityRequest data is not unslashed$_COOKIE['delivery_date'] not unslashed before sanitization. Use wp_unslash() or similar229
Category
Security
Occurrences
229
Severity
warning

Sample message

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

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

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

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'get_template_part_' . $slug".86
Category
Maintainability
Occurrences
86
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'get_template_part_' . $slug".

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb->prepare(); found interpolated variable $column at "$column LIKE %s"81
Category
Security
Occurrences
81
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $column at "$column LIKE %s"

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_COOKIE['payment_mode']66
Category
Security
Occurrences
66
Severity
warning

Sample message

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

WARNINGMaintainabilityMixed line endingsFile has mixed line endings; this may cause incorrect results65
Category
Maintainability
Occurrences
65
Severity
warning

Sample message

File has mixed line endings; this may cause incorrect results

Show 15 more
WARNINGMaintainabilityslow db query meta query64
Category
Maintainability
Occurrences
64
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon-prefixed function64
Category
Maintainability
Occurrences
64
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain62
Category
I18n
Occurrences
62
Severity
error

Sample message

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

WARNINGSecurityInput is not validated60
Category
Security
Occurrences
60
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed class33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta key31
Category
Maintainability
Occurrences
31
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityDiscouraged PHP function25
Category
Maintainability
Occurrences
25
Severity
warning

Sample message

The use of function set_time_limit() is discouraged

WARNINGMaintainabilityslow db query meta value19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGMaintainabilityerror log print r18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log debug backtrace16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

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

ERRORSecurityQuoted Simple Placeholder14
Category
Security
Occurrences
14
Severity
error

Sample message

Simple placeholders should not be quoted in the query string in $wpdb->prepare(). Found: '%s'.

WARNINGMaintainabilityslow db query tax query14
Category
Maintainability
Occurrences
14
Severity
warning

Sample message

Detected usage of tax_query, possible slow query.

ERRORI18nNon Singular String Literal Text13
Category
I18n
Occurrences
13
Severity
error

Sample message

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

WARNINGSecurityUnfinished Prepare12
Category
Security
Occurrences
12
Severity
warning

Sample message

Replacement variables found, but no valid placeholders found in the query.

ERRORMaintainabilitydate date11
Category
Maintainability
Occurrences
11
Severity
error

Sample message

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

External Connections

Potential connections found in static code analysis.

36 domains

Outbound calls

267

External assets

8

Incoming endpoints

25

Notable Domains

jqueryui.com28 · outbound
docs.jquery.com26 · outbound
jquery.org26 · outbound
restropress.com11 · outbound
getharvest.com4 · outbound

Platform / Reference Domains

opensource.org88 · platform/reference
w3.org33 · platform/reference
github.com17 · platform/reference
gnu.org3 · platform/reference
codex.wordpress.org1 · platform/reference

External Asset Domains

Incoming Endpoints

wp_ajax_nopriv_rpress_public

wp_ajax

Admin AJAX endpoints23
wp_ajax_rpress_do_ajax_exportauthenticated

wp_ajax

wp_ajax_customers_data_filterauthenticated

wp_ajax

wp_ajax_order_graph_filterauthenticated

wp_ajax

wp_ajax_revenue_graph_filterauthenticated

wp_ajax

wp_ajax_rp_get_addon_category_orderauthenticated

wp_ajax

wp_ajax_rp_update_addon_category_orderauthenticated

wp_ajax

wp_ajax_rpress_authenticated

wp_ajax

wp_ajax_rpress_command_center_refreshauthenticated

wp_ajax

wp_ajax_rpress_delete_payment_noteauthenticated

wp_ajax

wp_ajax_rpress_do_ajax_importauthenticated

wp_ajax

wp_ajax_rpress_insert_payment_noteauthenticated

wp_ajax

wp_ajax_rpress_live_orders_refreshauthenticated

wp_ajax

11 more hidden

Score History

First score snapshot

v3.3

18

Latest

Findings
3,604
Errors
521
Warnings
3,083
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins