Booking.com Official Search Box 2.2.2

Does "Booking.com Official Search Box" work with WordPress 5.8.3 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: 58.12 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.3
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/bookingcom-official-searchbox/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=bookingcom-official-searchbox%2Fbooking-official-searchbox.php&plugin_status=all&paged=1&s&_wpnonce=c42016c959
Aspect after-activation
HTTP status 200
Load time 0.376 s
Memory usage 3.1 MiB
JS errors None
Resource errors None

Settings → Booking.com Search Box

Page screenshot: Settings → Booking.com Search Box
URL /wp-admin/options-general.php?page=bos_searchbox
Aspect menu-item
HTTP status 200
Load time 0.459 s
Memory usage 3.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.244 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.915 s
Memory usage 5.33 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 1.060 s
Memory usage 5.32 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.615 s
Memory usage 4.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.319 s0.248 s-0.071 s3.08 MiB3.14 MiB+ 61.01 KiB
/wp-admin/edit.php0.188 s0.195 s+0.007 s3.11 MiB3.23 MiB+ 125.01 KiB
/wp-admin/post-new.php0.945 s1.126 s+0.181 s5.27 MiB5.33 MiB+ 68.57 KiB
/wp-admin/upload.php0.431 s0.333 s-0.098 s3.03 MiB3.09 MiB+ 59.25 KiB
/wp-admin/options-writing.php0.152 s0.137 s-0.015 s3.02 MiB3.06 MiB+ 43.16 KiB
/wp-admin/media-new.php0.439 s0.198 s-0.241 s3.01 MiB3.06 MiB+ 60.05 KiB
/wp-admin/edit-tags.php?taxonomy=category0.184 s0.301 s+0.117 s3.04 MiB3.1 MiB+ 60.33 KiB
/wp-admin/post-new.php?post_type=page0.923 s0.938 s+0.015 s5.26 MiB5.32 MiB+ 63.53 KiB
/wp-admin/options-discussion.php0.241 s0.239 s-0.002 s3 MiB3.06 MiB+ 60.3 KiB
/wp-admin/edit-comments.php0.210 s0.208 s-0.002 s3.04 MiB3.1 MiB+ 59.23 KiB
/0.329 s0.267 s-0.062 s2.96 MiB2.93 MiB- 21.14 KiB
Average 0.396 s0.381 s-0.016 s3.44 MiB3.49 MiB+ 58.12 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.

PO File
PHP
JavaScript
Language % Lines of code Comment lines Files
PO File64.9%4,5382,13314
PHP21.1%1,47216910
JavaScript9.3%648373
CSS4.8%333122
Total 6,991 2,351 29

PHP Code Analysis | More results »

Lines of code 1,301
Total complexity 259
Median class complexity 3.0
Median method complexity 1.0
Most complex class bos_searchbox_widget
Most complex function bos_dateSelector()
Classes 2
Methods 6
Functions 26

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.

Options wp_options 2

Sidebar Widgets 1

ID Name
bos_searchbox_widget_classBooking.com Official Search Box

Meta Boxes

{
    "post": {
        "bos_dest": {
            "title": "Booking.com search box destination",
            "context": "normal"
        }
    },
    "page": {
        "bos_dest": {
            "title": "Booking.com search box destination",
            "context": "normal"
        }
    }
}

PHP Error Log 1 lines

[07-Jan-2022 17:48:15 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/bookingcom-official-searchbox/includes/bos_forms.php on line 510
See also: All tests for this plugin, How to Hide Booking.com Official Search Box Admin Menus and Meta Boxes