WP Hotel Booking 2.0.0

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

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

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

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

Environment
WordPress version6.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 17

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=1c570994d6
Aspect after-activation
HTTP status 200
Load time 1.668 s
Memory usage 4.37 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.268 s
Memory usage 4.35 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.363 s
Memory usage 4.6 MiB
JS errors None
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.478 s
Memory usage 4.29 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.273 s
Memory usage 4.35 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.236 s
Memory usage 4.34 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.354 s
Memory usage 4.34 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.429 s
Memory usage 4.3 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.264 s
Memory usage 4.31 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.246 s
Memory usage 4.3 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.242 s
Memory usage 4.3 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.226 s
Memory usage 4.3 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.661 s
Memory usage 4.29 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.271 s
Memory usage 4.32 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.239 s
Memory usage 4.28 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.651 s
Memory usage 4.19 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.844 s
Memory usage 6.16 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.332 s0.380 s+0.048 s3.72 MiB4.36 MiB+ 651.1 KiB
/wp-admin/edit.php0.201 s0.593 s+0.392 s3.76 MiB4.43 MiB+ 691.76 KiB
/wp-admin/post-new.php0.902 s1.061 s+0.159 s5.55 MiB6.2 MiB+ 671.3 KiB
/wp-admin/upload.php0.389 s0.447 s+0.058 s3.69 MiB4.29 MiB+ 620.28 KiB
/wp-admin/options-writing.php0.149 s0.239 s+0.090 s3.62 MiB4.27 MiB+ 669.76 KiB
/wp-admin/media-new.php0.421 s0.258 s-0.163 s3.66 MiB4.28 MiB+ 625.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.224 s0.264 s+0.040 s3.69 MiB4.3 MiB+ 626.16 KiB
/wp-admin/post-new.php?post_type=page0.697 s0.824 s+0.127 s5.54 MiB6.19 MiB+ 666.89 KiB
/wp-admin/options-discussion.php0.213 s0.561 s+0.348 s3.6 MiB4.27 MiB+ 690.34 KiB
/wp-admin/edit-comments.php0.222 s0.303 s+0.081 s3.7 MiB4.31 MiB+ 623.37 KiB
/0.273 s0.475 s+0.202 s3.6 MiB4.13 MiB+ 538.51 KiB
Average 0.366 s0.491 s+0.126 s4.01 MiB4.64 MiB+ 643.17 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP67.9%19,3466,422214
CSS17.1%4,87519613
JavaScript12.7%3,60630616
SVG2.3%65202
HTML0.0%4102
Total 28,483 6,934 247

PHP Code Analysis | More results »

Lines of code 14,529
Total complexity 2,740
Median class complexity 11.0
Median method complexity 2.0
Most complex class WPHB_Ajax
Most complex function WPHB_Admin_Settings::render_fields()
Classes 94
Methods 580
Functions 220

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 47

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