WP Hotel Booking

WordPress Hotel Booking Plugin - A complete hotel booking reservation plugin for WordPress.

v2.3.2ThimPressUpdated Added 7k+ installs74% rating25% support resolved
24
Score
1,232
Errors
1,533
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance96
Maintainability0

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

2,765 findings

Maintainability

1,308

12 issue groups

Security

1,138

11 issue groups

I18n

254

2 issue groups

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

Sample message

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

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

Sample message

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

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.351
Category
Security
Occurrences
351
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 functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "aq_resize".192
Category
Maintainability
Occurrences
192
Severity
warning

Sample message

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

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

Sample message

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

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-hotel-booking' but got 'learnpress'.172
Category
I18n
Occurrences
172
Severity
error

Sample message

Mismatched text domain. Expected 'wp-hotel-booking' but got 'learnpress'.

WARNINGSecurityRequest data is not unslashed$_COOKIE[$this->prefix] not unslashed before sanitization. Use wp_unslash() or similar87
Category
Security
Occurrences
87
Severity
warning

Sample message

$_COOKIE[$this->prefix] 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.82
Category
I18n
Occurrences
82
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.

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

Sample message

Processing form data without nonce verification.

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

Sample message

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

Show 15 more
WARNINGSecurityInput is not sanitized57
Category
Security
Occurrences
57
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_COOKIE[$this->prefix]

WARNINGMaintainabilityDirect Query48
Category
Maintainability
Occurrences
48
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching46
Category
Maintainability
Occurrences
46
Severity
warning

Sample message

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

WARNINGSecurityMissing nonce verification43
Category
Security
Occurrences
43
Severity
warning

Sample message

Processing form data without nonce verification.

ERRORMaintainabilityMissing direct file access protection28
Category
Maintainability
Occurrences
28
Severity
error

Sample message

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

ERRORSecuritySQL query is not prepared23
Category
Security
Occurrences
23
Severity
error

Sample message

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

WARNINGMaintainabilityMissing Version23
Category
Maintainability
Occurrences
23
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.

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

WARNINGSecurityInterpolated SQL is not prepared21
Category
Security
Occurrences
21
Severity
warning

Sample message

Use placeholders and $wpdb->prepare(); found interpolated variable $comment_meta_tbl at $comment_meta_tbl.comment_id = $comment_tbl.comment_ID WHERE meta_key = 'rating' AND comment_post_ID = %s \n

WARNINGMaintainabilityNon-prefixed class18
Category
Maintainability
Occurrences
18
Severity
warning

Sample message

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

ERRORMaintainabilitystrip tags strip tags14
Category
Maintainability
Occurrences
14
Severity
error

Sample message

strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.

WARNINGSecurityInput is not validated13
Category
Security
Occurrences
13
Severity
warning

Sample message

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

ERRORSecurityException output is not escaped10
Category
Security
Occurrences
10
Severity
error

Sample message

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

WARNINGMaintainabilityerror log error log8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escaped5
Category
Security
Occurrences
5
Severity
warning

Sample message

Unescaped parameter $table used in $wpdb->get_var()\n$table assigned unsafely at line 281.

External Connections

Not analyzed yet.

Score History

2 score snapshots

+0
1007550250Jun 21, 2026, 12:07 AM UTC Score 24/100 Plugin v2.3.1 Plugin Check 2.0.0 1,250 errors, 1,555 warningsJun 23, 2026, 08:34 AM UTC Score 24/100 Plugin v2.3.2 Plugin Check 2.0.0 1,232 errors, 1,533 warningsJun 21, 2026Jun 23, 2026

v2.3.2

24

Latest

Findings
2,765
Errors
1,232
Warnings
1,533
Check
2.0.0

v2.3.1

24

Score

Findings
2,805
Errors
1,250
Warnings
1,555
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins

Zenchef widget integration

1k+ active installs

98
Booking.com Product Helper

1k+ active installs

97
Sirvoy Booking Engine

1k+ active installs

97
WP Tripadvisor Review Widgets

20k+ active installs

95
WPS Bookings for WooCommerce

4k+ active installs

88