WP Hotelier 2.5.1

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

Summary

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

Memory usage: 939.87 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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 13

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=bf3377408a
Aspect after-activation
HTTP status 200
Load time 1.819 s
Memory usage 4.08 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.645 s
Memory usage 4.1 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.172 s
Memory usage 3.98 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.191 s
Memory usage 4.06 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.220 s
Memory usage 3.99 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.156 s
Memory usage 3.95 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.219 s
Memory usage 4.05 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.112 s
Memory usage 4.31 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.246 s
Memory usage 3.99 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.179 s
Memory usage 3.99 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.167 s
Memory usage 4 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.324 s
Memory usage 3.41 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.158 s
Memory usage 5.42 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.520 s0.495 s-0.025 s3.08 MiB4.05 MiB+ 990.64 KiB
/wp-admin/edit.php0.266 s0.199 s-0.067 s3.11 MiB4.08 MiB+ 993.79 KiB
/wp-admin/post-new.php0.846 s0.909 s+0.063 s5.27 MiB6.25 MiB+ 1003.32 KiB
/wp-admin/upload.php0.561 s0.312 s-0.249 s3.03 MiB3.99 MiB+ 986.23 KiB
/wp-admin/options-writing.php0.159 s0.148 s-0.011 s3.02 MiB3.97 MiB+ 970.11 KiB
/wp-admin/media-new.php0.243 s0.206 s-0.037 s3.01 MiB3.97 MiB+ 986.4 KiB
/wp-admin/edit-tags.php?taxonomy=category0.229 s0.180 s-0.049 s3.04 MiB4 MiB+ 986.48 KiB
/wp-admin/post-new.php?post_type=page0.881 s0.712 s-0.169 s5.26 MiB6.24 MiB+ 1002.91 KiB
/wp-admin/options-discussion.php0.346 s0.325 s-0.021 s3 MiB3.9 MiB+ 922.62 KiB
/wp-admin/edit-comments.php0.295 s0.214 s-0.081 s3.04 MiB4.01 MiB+ 986.47 KiB
/0.469 s0.225 s-0.244 s2.91 MiB3.41 MiB+ 509.59 KiB
Average 0.438 s0.357 s-0.081 s3.43 MiB4.35 MiB+ 939.87 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
PHP55.7%19,2358,328274
SVG25.4%8,7881214
CSS11.8%4,0943156
JavaScript3.6%1,2535211
XML3.4%1,181161
Total 34,551 8,723 306

PHP Code Analysis | More results »

Lines of code 13,601
Total complexity 2,913
Median class complexity 21.0
Median method complexity 2.0
Most complex class HTL_Reservation
Most complex function HTL_Admin_Settings_Default::settings()
Classes 75
Methods 768
Functions 194

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 6

Custom Post Types 2

ID Name
roomRooms
room_reservationReservations

Sidebar Widgets 4

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

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"
        }
    }
}

Roles 1

ID Name
hotel_managerHotel Manager

Capabilities 52

PHP Error Log 1 lines

[22-Jul-2021 07:38:42 UTC] PHP Notice:  Trying to get property 'id' of non-object in /wp-content/plugins/wp-hotelier/includes/class-htl-comments.php on line 54
See also: All tests for this plugin, How to Hide WP Hotelier Admin Menus and Meta Boxes