WP Hotelier 2.6.0

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: 978.56 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

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 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=d4f660b8cf
Aspect after-activation
HTTP status 200
Load time 4.085 s
Memory usage 4.11 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.700 s
Memory usage 4.13 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.186 s
Memory usage 4.08 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.194 s
Memory usage 4.09 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.191 s
Memory usage 4.08 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.250 s
Memory usage 4.08 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.169 s
Memory usage 4.04 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.216 s
Memory usage 4.09 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.288 s
Memory usage 4.34 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.213 s
Memory usage 4.02 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.198 s
Memory usage 4.02 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.201 s
Memory usage 4.03 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.667 s
Memory usage 3.44 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.987 s
Memory usage 5.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.332 s+0.050 s3.08 MiB4.08 MiB+ 1023.23 KiB
/wp-admin/edit.php0.178 s0.193 s+0.015 s3.11 MiB4.12 MiB+ 1 MiB
/wp-admin/post-new.php0.948 s1.213 s+0.265 s5.27 MiB6.28 MiB+ 1.02 MiB
/wp-admin/upload.php0.534 s0.536 s+0.002 s3.03 MiB4.02 MiB+ 1018.82 KiB
/wp-admin/options-writing.php0.139 s0.275 s+0.136 s3.02 MiB4 MiB+ 1002.7 KiB
/wp-admin/media-new.php0.303 s0.241 s-0.062 s3.01 MiB4 MiB+ 1018.99 KiB
/wp-admin/edit-tags.php?taxonomy=category0.241 s0.224 s-0.017 s3.04 MiB4.03 MiB+ 1019.07 KiB
/wp-admin/post-new.php?post_type=page1.199 s1.186 s-0.013 s5.26 MiB6.27 MiB+ 1.01 MiB
/wp-admin/options-discussion.php0.304 s0.320 s+0.016 s3 MiB4 MiB+ 1019.21 KiB
/wp-admin/edit-comments.php0.217 s0.228 s+0.011 s3.04 MiB4.04 MiB+ 1019.06 KiB
/0.317 s0.276 s-0.041 s2.91 MiB3.43 MiB+ 537.76 KiB
Average 0.424 s0.457 s+0.033 s3.43 MiB4.39 MiB+ 978.56 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
PHP56.9%20,3178,593280
SVG24.6%8,7881214
CSS11.6%4,1483156
JavaScript3.5%1,2535211
XML3.3%1,181161
Total 35,687 8,988 312

PHP Code Analysis | More results »

Lines of code 14,272
Total complexity 3,111
Median class complexity 20.0
Median method complexity 2.0
Most complex class HTL_Reservation
Most complex function HTL_Meta_Box_Reservation_Save::change_reservation_totals()
Classes 77
Methods 794
Functions 201

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 3

ID Name
roomRooms
room_reservationReservations
extraExtras

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"
        }
    },
    "extra": {
        "hotelier-extra-settings": {
            "title": "Extra Settings",
            "context": "normal"
        }
    }
}

Roles 1

ID Name
hotel_managerHotel Manager

Capabilities 69

PHP Error Log 1 lines

[30-Jul-2021 16:06:05 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