WP Hotelier 2.14.1

Does WP Hotelier work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
12PHP warnings
5PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

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

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 14

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-hotelier%2Fhotelier.php&plugin_status=all&paged=1&s&_wpnonce=27e46902f8
Aspect after-activation
HTTP status 200
Load time 0.855 s
Memory usage 4.44 MiB
JS errors None
Resource errors None

Hotelier

Page screenshot: Hotelier
URL /wp-admin/admin.php?page=hotelier-settings
Aspect menu-item
HTTP status 200
Load time 0.682 s
Memory usage 4.39 MiB
JS errors None
Resource errors None

Hotelier → Add Reservation

Page screenshot: Hotelier → Add Reservation
URL /wp-admin/admin.php?page=hotelier-add-reservation
Aspect menu-item
HTTP status 200
Load time 0.187 s
Memory usage 4.31 MiB
JS errors None
Resource errors None

Hotelier → Reservations

Page screenshot: Hotelier → Reservations
URL /wp-admin/edit.php?post_type=room_reservation
Aspect menu-item
HTTP status 200
Load time 0.189 s
Memory usage 4.37 MiB
JS errors None
Resource errors None

Hotelier → Extras

Page screenshot: Hotelier → Extras
URL /wp-admin/edit.php?post_type=extra
Aspect menu-item
HTTP status 200
Load time 0.193 s
Memory usage 4.37 MiB
JS errors None
Resource errors None

Hotelier → Calendar

Page screenshot: Hotelier → Calendar
URL /wp-admin/admin.php?page=hotelier-calendar
Aspect menu-item
HTTP status 200
Load time 0.194 s
Memory usage 4.32 MiB
JS errors None
Resource errors None

Hotelier → Logs

Page screenshot: Hotelier → Logs
URL /wp-admin/admin.php?page=hotelier-logs
Aspect menu-item
HTTP status 200
Load time 0.171 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Rooms

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

Rooms → Add New

Page screenshot: Rooms → Add New
URL /wp-admin/post-new.php?post_type=room
Aspect menu-item
HTTP status 200
Load time 1.029 s
Memory usage 4.59 MiB
JS errors None
Resource errors None

Rooms → Categories

Page screenshot: Rooms → Categories
URL /wp-admin/edit-tags.php?taxonomy=room_cat&post_type=room
Aspect menu-item
HTTP status 200
Load time 0.224 s
Memory usage 4.31 MiB
JS errors None
Resource errors None

Rooms → Rates

Page screenshot: Rooms → Rates
URL /wp-admin/edit-tags.php?taxonomy=room_rate&post_type=room
Aspect menu-item
HTTP status 200
Load time 0.175 s
Memory usage 4.31 MiB
JS errors None
Resource errors None

Rooms → Facilities

Page screenshot: Rooms → Facilities
URL /wp-admin/edit-tags.php?taxonomy=room_facilities&post_type=room
Aspect menu-item
HTTP status 200
Load time 0.199 s
Memory usage 4.31 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.252 s
Memory usage 3.88 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 2.063 s
Memory usage 6.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.344 s0.630 s+0.286 s3.47 MiB4.36 MiB+ 904.15 KiB
/wp-admin/edit.php0.223 s0.210 s-0.013 s3.54 MiB4.41 MiB+ 890.18 KiB
/wp-admin/post-new.php0.815 s0.612 s-0.203 s5.75 MiB6.8 MiB+ 1.04 MiB
/wp-admin/upload.php0.698 s0.408 s-0.290 s3.49 MiB4.34 MiB+ 875.04 KiB
/wp-admin/options-writing.php0.200 s0.195 s-0.005 s3.41 MiB4.31 MiB+ 917.84 KiB
/wp-admin/media-new.php0.238 s0.250 s+0.012 s3.4 MiB4.31 MiB+ 931.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.179 s-0.012 s3.47 MiB4.32 MiB+ 873.02 KiB
/wp-admin/post-new.php?post_type=page0.629 s0.750 s+0.121 s5.75 MiB6.78 MiB+ 1.04 MiB
/wp-admin/options-discussion.php0.235 s0.268 s+0.033 s3.41 MiB4.31 MiB+ 919.53 KiB
/wp-admin/edit-comments.php0.266 s0.231 s-0.035 s3.49 MiB4.33 MiB+ 858.62 KiB
/0.334 s0.220 s-0.114 s3.45 MiB3.88 MiB+ 432.68 KiB
Average 0.379 s0.359 s-0.020 s3.88 MiB4.74 MiB+ 884.81 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
SVG
CSS
Language % Lines of code Comment lines Files
PHP57.1%22,2489,268318
SVG22.6%8,7881214
CSS13.5%5,2433677
JavaScript3.9%1,5005612
XML3.0%1,181161
Total 38,960 9,719 352

PHP Code Analysis | More results »

Lines of code 15,108
Total complexity 3,323
Median class complexity 19.0
Median method complexity 2.0
Most complex class HTL_Reservation
Most complex function HTL_Meta_Box_Reservation_Save::change_reservation_totals()
Classes 79
Methods 824
Functions 227

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 5

Options wp_options 7

Custom Post Types 3

ID Name
roomRooms
room_reservationReservations
extraExtras

Sidebar Widgets 5

ID Name
hotelier-widget-bookingHotelier Booking
hotelier-widget-rooms-filterHotelier Rooms Filter
hotelier-widget-room-searchHotelier Room Search
hotelier-widget-roomsHotelier Rooms
hotelier-widget-ajax-room-bookingHotelier AJAX Room Booking

Meta Boxes

{
    "room": {
        "hotelier-room-images": {
            "title": "Room Gallery",
            "context": "side"
        },
        "hotelier-room-settings": {
            "title": "Room Settings",
            "context": "normal"
        },
        "postexcerpt": {
            "title": "Room Short Description",
            "context": "normal"
        }
    },
    "room_reservation": {
        "hotelier-reservation-save": {
            "title": "Save Reservation",
            "context": "side"
        },
        "hotelier-reservation-notes": {
            "title": "Reservation Notes",
            "context": "side"
        },
        "hotelier-reservation-data": {
            "title": "Reservation Details",
            "context": "normal"
        },
        "hotelier-reservation-items": {
            "title": "Rooms",
            "context": "normal"
        }
    },
    "coupon": {
        "hotelier-coupon-settings": {
            "title": "Coupon Settings",
            "context": "normal"
        }
    },
    "extra": {
        "hotelier-extra-settings": {
            "title": "Extra Settings",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
hotel_managerHotel Manager

Capabilities 69

PHP Error Log 17 lines

[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[26-Aug-2024 09:01:42 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[26-Aug-2024 09:01:42 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 716
[26-Aug-2024 09:01:42 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 716
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[26-Aug-2024 09:01:42 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 727
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 730
[26-Aug-2024 09:01:42 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 751
[26-Aug-2024 09:01:42 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/link-template.php on line 4803
See also: All tests for this plugin, How to Hide WP Hotelier Admin Menus and Meta Boxes