WP Restaurant Price List

Show your price list with the description and cost of the items, divided by categories.

v1.4.1marcodedoUpdated Added 500 installs94% rating
30
Score
295
Errors
95
Warnings
+0
Change

Category Scores

Security0
Repo91
Performance100
Maintainability32

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

390 findings

I18n

211

2 issue groups

Maintainability

124

17 issue groups

Security

49

6 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-restaurant-price-list' but got "wprpl".208
Category
I18n
Occurrences
208
Severity
error

Sample message

Mismatched text domain. Expected 'wp-restaurant-price-list' but got "wprpl".

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

Sample message

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

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

Sample message

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

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

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "mb_settings_page_init".12
Category
Maintainability
Occurrences
12
Severity
warning

Sample message

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

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "activate_wp_restaurant_price_list".11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

WARNINGMaintainabilityNo PHP code foundNo PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.

ERRORMaintainabilityOffloaded ContentFound call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

Found call to wp_enqueue_script() with external resource. Offloading scripts to your servers or any remote service is disallowed.

ERRORMaintainabilityShort PHP open tag foundShort PHP opening tag used with echo; expected "<?php echo esc_attr ..." but found "<?= esc_attr ..."3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Short PHP opening tag used with echo; expected "<?php echo esc_attr ..." but found "<?= esc_attr ..."

Show 15 more
WARNINGI18nDiscouraged text-domain loading3
Category
I18n
Occurrences
3
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

ERRORSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

Unescaped parameter $prepared used in $wpdb->get_col()\n$prepared assigned unsafely at line 159.

WARNINGMaintainabilityDirect Query2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

ERRORSecuritySQL query is not prepared2
Category
Security
Occurrences
2
Severity
error

Sample message

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

WARNINGMaintainabilityupdate modification detected2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Plugin Updater detected. Detected code which may be altering WordPress update routines. Detected: _site_transient_update_plugins

WARNINGMaintainabilityDynamic hook name1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$filter&quot;.

WARNINGMaintainabilityNon-prefixed constant1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;WP_RESTAURANT_PRICE_LIST_VERSION&quot;.

ERRORSecurityUnsafe printing function1
Category
Security
Occurrences
1
Severity
error

Sample message

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

WARNINGSecurityMissing nonce verification1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityNonce verification recommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityunlink unlink1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

ERRORMaintainabilityDeprecated parameter: get_terms parameter 21
Category
Maintainability
Occurrences
1
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

External Connections

Potential connections found in static code analysis.

36 domains

Outbound calls

235

External assets

4

Incoming endpoints

9

Notable Domains

metabox.io46 · outbound
themeinthebox.com31 · outbound
api.jqueryui.com7 · outbound
jqueryui.com5 · outbound
docs.jquery.com4 · outbound

Platform / Reference Domains

github.com74 · platform/reference
w3.org11 · platform/reference
wordpress.org2 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

unpkg.com4 · asset

Incoming Endpoints

wp_ajax_nopriv_rwmb_get_postspublic

wp_ajax

wp_ajax_nopriv_rwmb_get_termspublic

wp_ajax

wp_ajax_nopriv_rwmb_get_userspublic

wp_ajax

Admin AJAX endpoints6
wp_ajax_mb_dismiss_notificationauthenticated

wp_ajax

wp_ajax_rwmb_delete_fileauthenticated

wp_ajax

wp_ajax_rwmb_get_embedauthenticated

wp_ajax

wp_ajax_rwmb_get_postsauthenticated

wp_ajax

wp_ajax_rwmb_get_termsauthenticated

wp_ajax

wp_ajax_rwmb_get_usersauthenticated

wp_ajax

Score History

First score snapshot

v1.4.1

30

Latest

Findings
390
Errors
295
Warnings
95
Check
2.0.0

Relationship Map

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

37 nodes

Related Plugins