The #1 Hotel Booking and Vacation Rental Plugin for WordPress. Online payments, seasons, rates, free or paid extras, coupons, taxes & fees.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
2,777
4 issue groups
Security
667
10 issue groups
Maintainability
557
11 issue groups
ERRORI18nText Domain MismatchMismatched text domain. Expected 'motopress-hotel-booking-lite' but got 'easy-digital-downloads'.2,481
- Category
- I18n
- Occurrences
- 2,481
- Severity
- error
Sample message
Mismatched text domain. Expected 'motopress-hotel-booking-lite' but got 'easy-digital-downloads'.
WARNINGSecurityRecommendedProcessing form data without nonce verification.264
- Category
- Security
- Occurrences
- 264
- Severity
- warning
Sample message
Processing form data without nonce verification.
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.253
- Category
- I18n
- Occurrences
- 253
- 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.
WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$adults".167
- Category
- Maintainability
- Occurrences
- 167
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$adults".
WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.111
- Category
- Maintainability
- Occurrences
- 111
- Severity
- warning
Sample message
Use of a direct database call is discouraged.
WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().107
- Category
- Maintainability
- Occurrences
- 107
- Severity
- warning
Sample message
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
ERRORSecurityException Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$accommodationId'.73
- Category
- Security
- Occurrences
- 73
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$accommodationId'.
WARNINGSecurityInterpolated Not PreparedUse placeholders and $wpdb->prepare(); found interpolated variable $alias at " ON ($this->primary_table.$this->primary_id_column = $alias.$this->meta_id_column AND $alias.meta_key = %s )"69
- Category
- Security
- Occurrences
- 69
- Severity
- warning
Sample message
Use placeholders and $wpdb->prepare(); found interpolated variable $alias at " ON ($this->primary_table.$this->primary_id_column = $alias.$this->meta_id_column AND $alias.meta_key = %s )"
WARNINGSecurityMissingProcessing form data without nonce verification.66
- Category
- Security
- Occurrences
- 66
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "_mphb_admin_after_field_render".54
- Category
- Maintainability
- Occurrences
- 54
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "_mphb_admin_after_field_render".
Show 15 moreShow less
ERRORSecurityOutput Not Escaped52
- Category
- Security
- Occurrences
- 52
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$authorName'.
ERRORSecurityNot Prepared44
- Category
- Security
- Occurrences
- 44
- Severity
- error
Sample message
Use placeholders and $wpdb->prepare(); found $apiKeys
WARNINGSecurityUnescaped DBParameter37
- Category
- Security
- Occurrences
- 37
- Severity
- warning
Sample message
Unescaped parameter $insertBatchSql used in $wpdb->query()\n$insertBatchSql assigned unsafely at line 389.
ERRORSecurityUnescaped DBParameter35
- Category
- Security
- Occurrences
- 35
- Severity
- error
Sample message
Unescaped parameter $apiKeys used in $wpdb->query()\n$apiKeys assigned unsafely at line 1457.
WARNINGMaintainabilityDynamic Hookname Found26
- Category
- Maintainability
- Occurrences
- 26
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "$this->bgBookingUpgrader2_0_0->getIdentifier() . '_cron'".
ERRORI18nMissing Arg Domain26
- Category
- I18n
- Occurrences
- 26
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityslow db query meta key24
- Category
- Maintainability
- Occurrences
- 24
- Severity
- warning
Sample message
Detected usage of meta_key, possible slow query.
WARNINGMaintainabilityslow db query meta query19
- Category
- Maintainability
- Occurrences
- 19
- Severity
- warning
Sample message
Detected usage of meta_query, possible slow query.
WARNINGSecuritywp redirect wp redirect19
- Category
- Security
- Occurrences
- 19
- 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.
ERRORMaintainabilitydate date18
- Category
- Maintainability
- Occurrences
- 18
- Severity
- error
Sample message
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
ERRORI18nUnordered Placeholders Text17
- Category
- I18n
- Occurrences
- 17
- Severity
- error
Sample message
Multiple placeholders in translatable strings should be ordered. Expected "%1$d, %2$s", but got "%d, %s" in '#%d %s'.
ERRORMaintainabilitywp function not compatible with requires wp15
- Category
- Maintainability
- Occurrences
- 15
- Severity
- error
Sample message
Function "get_block_wrapper_attributes()" requires WordPress 5.6.0, but your plugin minimum supported version is WordPress 5.2.0.
WARNINGSecurityInput Not Sanitized8
- Category
- Security
- Occurrences
- 8
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_GET['booking_key']
ERRORMaintainabilityrand mt rand8
- Category
- Maintainability
- Occurrences
- 8
- Severity
- error
Sample message
mt_rand() is discouraged. Use the far less predictable wp_rand() instead.
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.
Score History
First score snapshot
v6.1.0
21
Latest
- Findings
- 4,098
- Errors
- 3,061
- Warnings
- 1,037
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 21 | 4,098 | 3,061 | 1,037 | v6.1.0 | 2.0.0 |