WP Booking System – Booking Calendar

The booking calendar plugin for WordPress. Get easy online booking with this lightweight and powerful booking calendar.

v2.0.19.13Roland MurgUpdated Added 20k+ installs98% rating100% support resolved
27
Score
502
Errors
550
Warnings
+0
Change

Category Scores

Security0
Repo87
Performance100
Maintainability20

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,052 findings

Security

775

11 issue groups

Maintainability

200

11 issue groups

I18n

60

3 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" data-wp-lists='list:$singular'"'.375
Category
Security
Occurrences
375
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '" data-wp-lists='list:$singular'"'.

WARNINGSecurityRecommendedProcessing form data without nonce verification.111
Category
Security
Occurrences
111
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecurityMissing Unslash$_GET['booking_id'] not unslashed before sanitization. Use wp_unslash() or similar98
Category
Security
Occurrences
98
Severity
warning

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_FILES['import_file']['name']80
Category
Security
Occurrences
80
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES['import_file']['name']

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$active_class".73
Category
Maintainability
Occurrences
73
Severity
warning

Sample message

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

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.38
Category
Maintainability
Occurrences
38
Severity
error

Sample message

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

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

Sample message

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

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

Sample message

Processing form data without nonce verification.

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_FILES['import_file']['name']. Check that the array index exists before using it.25
Category
Security
Occurrences
25
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.

WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.24
Category
Security
Occurrences
24
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

Show 15 more
WARNINGSecurityInterpolated Not Prepared21
Category
Security
Occurrences
21
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $extra_checks at \t\t\t$extra_checks\r\n

ERRORI18nMissing Translators Comment20
Category
I18n
Occurrences
20
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.

WARNINGMaintainabilityDirect Query19
Category
Maintainability
Occurrences
19
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

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

ERRORMaintainabilitymissing direct file access protection13
Category
Maintainability
Occurrences
13
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname Found11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Function Found8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGMaintainabilityNot In Footer8
Category
Maintainability
Occurrences
8
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 Text8
Category
I18n
Occurrences
8
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'Please visit the %sPlugins page%s to check if a new update is available for WP Booking System.'.

ERRORSecurityUnescaped DBParameter6
Category
Security
Occurrences
6
Severity
error

Sample message

Unescaped parameter $booking_id used in $wpdb->get_row()\n$booking_id assigned unsafely at line 479.

WARNINGSecurityUnescaped DBParameter5
Category
Security
Occurrences
5
Severity
warning

Sample message

Unescaped parameter $table->table_name used in $wpdb->query()

WARNINGMaintainabilityslow db query meta key5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

WARNINGMaintainabilityslow db query meta value5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

ERRORSecurityUnsafe Printing Function3
Category
Security
Occurrences
3
Severity
error

Sample message

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

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

Score History

First score snapshot

v2.0.19.13

27

Latest

Findings
1,052
Errors
502
Warnings
550
Check
2.0.0

Related Plugins