WordPress Hotel Booking Plugin - A complete hotel booking reservation plugin for WordPress.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
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 moreShow less
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
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
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 24 | 2,765 | 1,232 | 1,533 | v2.3.2 | 2.0.0 |
| 24 | 2,805 | 1,250 | 1,555 | v2.3.1 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.