WP Hotelier is a powerful WordPress hotel booking plugin allows you to manage hotel, hostel, b&b reservations with ease.
Prioritized issue groups from the latest Plugin Check scan
Maintainability
1,338
14 issue groups
Security
694
8 issue groups
I18n
258
3 issue groups
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_reservation".
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"{$name} cookie cannot be set - headers already sent by {$file} on line {$line}"'.
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.
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "HTL".
Sample message
$_COOKIE[$this->_cookie] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "HTL_API".
Sample message
Processing form data without nonce verification.
Sample message
Detected usage of a non-sanitized input variable: $_COOKIE[$this->_cookie]
Sample message
Processing form data without nonce verification.
Sample message
Use of a direct database call is discouraged.
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
Sample message
Function "get_term_meta()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 4.0.0.
Sample message
Detected usage of a possibly undefined superglobal array index: $_GET['key']. Check that the array index exists before using it.
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$d", but got "%d, %d" in 'Please select a date range between %d and %d nights'.
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'htl_ajax_' . sanitize_text_field( $action )".
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DOING_AJAX".
Sample message
Detected usage of meta_query, possible slow query.
Sample message
Detected usage of tax_query, possible slow query.
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.
Sample message
Attempting a database schema change is discouraged.
Sample message
Use placeholders and $wpdb->prepare(); found $get_items_sql
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
Sample message
Missing $domain parameter in function call to esc_html__().
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.
Sample message
The use of function ini_set() is discouraged
Not analyzed yet.
First score snapshot
v2.19.0
23
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 23 | 2,328 | 693 | 1,635 | v2.19.0 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.