Hotel Booking

Hotel booking, perfect solution for manage Hotel reservations. For Hotel and Travel activities.

v3.8nicdarkUpdated Added 4k+ installs70% rating
26
Score
690
Errors
940
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance98
Maintainability9

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,630 findings

Security

1,324

11 issue groups

Maintainability

273

11 issue groups

I18n

22

3 issue groups

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_GET['nd_booking_add_order_date_from'] not unslashed before sanitization. Use wp_unslash() or similar275
Category
Security
Occurrences
275
Severity
warning

Sample message

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

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

Sample message

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

WARNINGSecurityMissing nonce verificationProcessing form data without nonce verification.253
Category
Security
Occurrences
253
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;90
Category
Maintainability
Occurrences
90
Severity
error

Sample message

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

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

Sample message

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

ERRORSecuritySetting is missing a sanitization callbackSanitization missing for register_setting().50
Category
Security
Occurrences
50
Severity
error

Sample message

Sanitization missing for register_setting().

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

Sample message

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.17
Category
Maintainability
Occurrences
17
Severity
warning

Sample message

Use of a direct database call is discouraged.

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

Sample message

Processing form data without nonce verification.

Show 15 more
WARNINGMaintainabilityNo Caching16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

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

ERRORI18nMissing Arg Domain16
Category
I18n
Occurrences
16
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version15
Category
Maintainability
Occurrences
15
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.

ERRORSecurityDatabase parameter is not escaped14
Category
Security
Occurrences
14
Severity
error

Sample message

Unescaped parameter $nd_booking_all_orders_completed_query used in $wpdb->get_results()\n$nd_booking_all_orders_completed_query assigned unsafely at line 133.

WARNINGSecurityInterpolated SQL is not prepared14
Category
Security
Occurrences
14
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $nd_booking_table_name at "SELECT * FROM $nd_booking_table_name ORDER BY id DESC LIMIT %d, %d"

ERRORSecuritySQL query is not prepared14
Category
Security
Occurrences
14
Severity
error

Sample message

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

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

WARNINGMaintainabilityslow db query meta query8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORSecurityOutput is not escaped6
Category
Security
Occurrences
6
Severity
error

Sample message

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

WARNINGMaintainabilityNon-prefixed hook name5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitized4
Category
Security
Occurrences
4
Severity
warning

Sample message

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

ERRORMaintainabilityrand rand4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

rand() is discouraged. Use the far less predictable wp_rand() instead.

ERRORI18nMissing Translators Comment3
Category
I18n
Occurrences
3
Severity
error

Sample message

A function call to esc_html__() 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.

ERRORI18nNo Empty Strings3
Category
I18n
Occurrences
3
Severity
error

Sample message

The $text text string should have translatable content. Found: ''

ERRORMaintainabilitywp function not compatible with requires wp3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

Function "sanitize_textarea_field()" requires WordPress 4.7.0, but your plugin minimum supported version is WordPress 4.5.0.

Score History

First score snapshot

v3.8

26

Latest

Findings
1,630
Errors
690
Warnings
940
Check
2.0.0

Related Plugins