WP Hotel Booking 2.2.7

Does WP Hotel Booking work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 721.53 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.176 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.9
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/wp-hotel-booking/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 18

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=wp-hotel-booking%2Fwp-hotel-booking.php&plugin_status=all&paged=1&s&_wpnonce=75cc5c59c5
Aspect after-activation
HTTP status 200
Load time 0.957 s
Memory usage 4.55 MiB
JS errors None
Resource errors None

Rooms

Page screenshot: Rooms
URL /wp-admin/edit.php?post_type=hb_room
Aspect menu-item
HTTP status 200
Load time 0.427 s
Memory usage 4.43 MiB
JS errors None
Resource errors None

Rooms → Add New Room

Page screenshot: Rooms → Add New Room
URL /wp-admin/post-new.php?post_type=hb_room&tab=null
Requested URL /wp-admin/post-new.php?post_type=hb_room
Aspect menu-item
HTTP status 200
Load time 1.411 s
Memory usage 4.69 MiB
JS errors
[
    {
        "message": "Sortable: `el` must be an HTMLElement, not [object Null]",
        "trace": null,
        "code": null
    }
]
Resource errors None

Rooms → Room Types

Page screenshot: Rooms → Room Types
URL /wp-admin/edit-tags.php?taxonomy=hb_room_type&post_type=hb_room
Aspect menu-item
HTTP status 200
Load time 0.599 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

WP Hotel Booking

Page screenshot: WP Hotel Booking
URL /wp-admin/edit.php?post_type=hb_booking
Aspect menu-item
HTTP status 200
Load time 0.468 s
Memory usage 4.43 MiB
JS errors None
Resource errors None

WP Hotel Booking → Extra Options

Page screenshot: WP Hotel Booking → Extra Options
URL /wp-admin/edit.php?post_type=hb_extra_room
Aspect menu-item
HTTP status 200
Load time 0.410 s
Memory usage 4.42 MiB
JS errors None
Resource errors None

WP Hotel Booking → Coupons

Page screenshot: WP Hotel Booking → Coupons
URL /wp-admin/edit.php?post_type=hb_coupon
Aspect menu-item
HTTP status 200
Load time 0.399 s
Memory usage 4.42 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings

Page screenshot: WP Hotel Booking → Settings
URL /wp-admin/admin.php?page=tp_hotel_booking_settings
Aspect menu-item
HTTP status 200
Load time 0.408 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Pages

Page screenshot: WP Hotel Booking → Settings → 
							Pages
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=pages
Aspect menu-item-tab
HTTP status 200
Load time 0.411 s
Memory usage 4.4 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Emails

Page screenshot: WP Hotel Booking → Settings → 
							Emails
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=emails
Aspect menu-item-tab
HTTP status 200
Load time 0.400 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Checkout

Page screenshot: WP Hotel Booking → Settings → 
							Checkout
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=payments
Aspect menu-item-tab
HTTP status 200
Load time 0.528 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Room

Page screenshot: WP Hotel Booking → Settings → 
							Room
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=room
Aspect menu-item-tab
HTTP status 200
Load time 0.584 s
Memory usage 4.45 MiB
JS errors None
Resource errors None

WP Hotel Booking → Settings → Advanced

Page screenshot: WP Hotel Booking → Settings → 
							Advanced
URL /wp-admin/admin.php?page=tp_hotel_booking_settings&tab=advanced
Aspect menu-item-tab
HTTP status 200
Load time 0.391 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

WP Hotel Booking → Calendar Manager

Page screenshot: WP Hotel Booking → Calendar Manager
URL /wp-admin/admin.php?page=tp_hotel_booking_calender_manager
Aspect menu-item
HTTP status 200
Load time 0.579 s
Memory usage 4.37 MiB
JS errors None
Resource errors None

WP Hotel Booking → Tools

Page screenshot: WP Hotel Booking → Tools
URL /wp-admin/admin.php?page=wphb-tools
Aspect menu-item
HTTP status 200
Load time 0.429 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

WP Hotel Booking → Tools → Updates

Page screenshot: WP Hotel Booking → Tools → 
								Updates
URL /wp-admin/admin.php?page=wphb-tools&tab=wphb_update
Aspect menu-item-tab
HTTP status 200
Load time 0.380 s
Memory usage 4.37 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.361 s
Memory usage 4.72 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 1.194 s
Memory usage 6.87 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.416 s0.632 s+0.216 s3.77 MiB4.47 MiB+ 710.41 KiB
/wp-admin/edit.php0.349 s0.468 s+0.119 s3.78 MiB4.53 MiB+ 767.56 KiB
/wp-admin/post-new.php0.818 s0.967 s+0.149 s6.3 MiB7.13 MiB+ 841.92 KiB
/wp-admin/upload.php0.609 s0.752 s+0.143 s3.74 MiB4.41 MiB+ 690.69 KiB
/wp-admin/options-writing.php0.309 s0.411 s+0.102 s3.71 MiB4.38 MiB+ 691.11 KiB
/wp-admin/media-new.php0.462 s0.589 s+0.127 s3.7 MiB4.37 MiB+ 684.72 KiB
/wp-admin/edit-tags.php?taxonomy=category0.303 s0.433 s+0.130 s3.71 MiB4.4 MiB+ 707.29 KiB
/wp-admin/post-new.php?post_type=page0.793 s0.851 s+0.058 s6.29 MiB7.11 MiB+ 839.88 KiB
/wp-admin/options-discussion.php0.306 s0.747 s+0.441 s3.71 MiB4.37 MiB+ 673.23 KiB
/wp-admin/edit-comments.php0.300 s0.662 s+0.362 s3.73 MiB4.41 MiB+ 694.21 KiB
/0.272 s0.365 s+0.093 s4.1 MiB4.72 MiB+ 635.76 KiB
Average 0.449 s0.625 s+0.176 s4.23 MiB4.94 MiB+ 721.53 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP65.8%30,2297,244285
JavaScript13.8%6,32861326
CSS13.3%6,11520818
Sass5.7%2,600328
SVG1.5%69303
TypeScript0.0%601
HTML0.0%4102
Total 45,975 8,107 343

PHP Code Analysis | More results »

Lines of code 23,680
Total complexity 3,714
Median class complexity 11.5
Median method complexity 1.0
Most complex class WPHB_Ajax
Most complex function WPHB_Admin_Settings::render_fields()
Classes 134
Methods 920
Functions 230

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 3

Options wp_options 57

Custom Post Types 4

ID Name
hb_roomRooms
hb_bookingBookings Order
hb_extra_roomExtra Room
hb_couponCoupons

Sidebar Widgets 5

ID Name
hb_widget_searchHB Search Rooms
hb_widget_carouselHB Rooms Carousel
hb_widget_best_reviewsHB Rooms Best Reviews
hb_widget_lastest_reviewsHB Rooms Lastest Reviews
hb_widget_cartHB Widget Mini Cart

Meta Boxes

{
    "hb_room": {
        "room_settings": {
            "title": "Room Settings",
            "context": "normal"
        }
    },
    "hb_extra_room": {
        "extra_settings": {
            "title": "Extra Settings",
            "context": "normal"
        }
    },
    "hb_coupon": {
        "coupon_settings": {
            "title": "Coupon Settings",
            "context": "normal"
        }
    },
    "hb_booking": {
        "hb-booking-details": {
            "title": "Booking Details",
            "context": "advanced"
        },
        "hb-booking-items": {
            "title": "Booking Items",
            "context": "advanced"
        },
        "hb-booking-actions": {
            "title": "Booking Actions",
            "context": "side"
        }
    }
}

Roles 2

ID Name
wphb_hotel_managerHotel Manager
wphb_booking_editorBooking Editor

Capabilities 19

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WP Hotel Booking Admin Menus and Meta Boxes