Does "Booking.com Official Search Box" work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .
| 1 | PHP notices |
| No JavaScript exceptions | |
| All test pages loaded successfully | |
| No resource errors |
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.
| WordPress version | 5.8.1 |
|---|---|
| PHP version | 7.4.8 |
| MySQL version | 8.0.21 |
| PHP memory limit | 256M |
| Last updated | |
|---|---|
| Active installs | 2,000+ |
| WordPress.org page | https://wordpress.org/plugins/bookingcom-official-searchbox/ |
| Badges |
|
| 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=779dc921b3 |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.251 s |
| Memory usage | 3.1 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=bos_searchbox |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.420 s |
| Memory usage | 3.37 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 200 |
| Load time | 0.238 s |
| Memory usage | 2.93 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/post-new.php |
|---|---|
| Aspect | new-meta-boxes |
| HTTP status | 200 |
| Load time | 1.088 s |
| Memory usage | 5.33 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/post-new.php?post_type=page |
|---|---|
| Aspect | new-meta-boxes |
| HTTP status | 200 |
| Load time | 1.078 s |
| Memory usage | 5.32 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/widgets.php |
|---|---|
| Aspect | new-sidebar-widgets |
| HTTP status | 200 |
| Load time | 1.867 s |
| Memory usage | 4.52 MiB |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.598 s | 0.262 s | -0.336 s | 3.08 MiB | 3.14 MiB | + 61.01 KiB |
| /wp-admin/edit.php | 0.214 s | 0.198 s | -0.016 s | 3.11 MiB | 3.23 MiB | + 125.01 KiB |
| /wp-admin/post-new.php | 1.140 s | 0.987 s | -0.153 s | 5.27 MiB | 5.33 MiB | + 68.57 KiB |
| /wp-admin/upload.php | 0.635 s | 0.318 s | -0.317 s | 3.03 MiB | 3.09 MiB | + 59.25 KiB |
| /wp-admin/options-writing.php | 0.166 s | 0.219 s | +0.053 s | 3.02 MiB | 3.06 MiB | + 43.16 KiB |
| /wp-admin/media-new.php | 0.262 s | 0.188 s | -0.074 s | 3.01 MiB | 3.06 MiB | + 60.05 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.216 s | 0.190 s | -0.026 s | 3.04 MiB | 3.1 MiB | + 60.33 KiB |
| /wp-admin/post-new.php?post_type=page | 1.204 s | 1.046 s | -0.158 s | 5.26 MiB | 5.32 MiB | + 63.53 KiB |
| /wp-admin/options-discussion.php | 0.239 s | 0.302 s | +0.063 s | 3 MiB | 3.06 MiB | + 60.3 KiB |
| /wp-admin/edit-comments.php | 0.215 s | 0.216 s | +0.001 s | 3.04 MiB | 3.1 MiB | + 59.23 KiB |
| / | 0.427 s | 0.247 s | -0.180 s | 2.96 MiB | 2.93 MiB | - 21.14 KiB |
| Average | 0.483 s | 0.379 s | -0.104 s | 3.44 MiB | 3.49 MiB | + 58.12 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PO File | 64.9% | 4,538 | 2,133 | 14 | |
| PHP | 21.1% | 1,472 | 169 | 10 | |
| JavaScript | 9.3% | 648 | 37 | 3 | |
| CSS | 4.8% | 333 | 12 | 2 | |
| Total | 6,991 | 2,351 | 29 | ||
| 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 |
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.
wp_options 2| ID | Name |
|---|---|
| bos_searchbox_widget_class | Booking.com Official Search Box |
{
"post": {
"bos_dest": {
"title": "Booking.com search box destination",
"context": "normal"
}
},
"page": {
"bos_dest": {
"title": "Booking.com search box destination",
"context": "normal"
}
}
}[10-Sep-2021 01:23:38 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