Business Hours Indicator 2.4.4

Does Business Hours Indicator work with WordPress 6.8.3 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 164.5 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.8.3
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 8,000+
WordPress.org page https://wordpress.org/plugins/business-hours-indicator/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=business-hours-indicator%2Fmabel-business-hours-indicator.php&plugin_status=all&paged=1&s&_wpnonce=67e70776a3
Aspect after-activation
HTTP status 200
Load time 0.359 s
Memory usage 3.7 MiB
JS errors None
Resource errors None

Settings → Business Hours Indicator

Page screenshot: Settings → Business Hours Indicator
URL /wp-admin/options-general.php?page=business-hours-indicator
Aspect menu-item
HTTP status 200
Load time 0.330 s
Memory usage 3.69 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.184 s
Memory usage 3.53 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.531 s
Memory usage 5.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.345 s0.286 s-0.059 s3.51 MiB3.67 MiB+ 169.73 KiB
/wp-admin/edit.php0.201 s0.185 s-0.016 s3.57 MiB3.74 MiB+ 172.55 KiB
/wp-admin/post-new.php0.767 s0.717 s-0.050 s6.06 MiB6.29 MiB+ 234.73 KiB
/wp-admin/upload.php0.574 s0.491 s-0.083 s3.52 MiB3.68 MiB+ 155.46 KiB
/wp-admin/options-writing.php0.226 s0.181 s-0.045 s3.5 MiB3.66 MiB+ 159.45 KiB
/wp-admin/media-new.php0.323 s0.203 s-0.120 s3.49 MiB3.66 MiB+ 167.65 KiB
/wp-admin/edit-tags.php?taxonomy=category0.220 s0.176 s-0.044 s3.5 MiB3.68 MiB+ 178.32 KiB
/wp-admin/post-new.php?post_type=page0.618 s0.674 s+0.056 s6.05 MiB6.21 MiB+ 166.57 KiB
/wp-admin/options-discussion.php0.437 s0.237 s-0.200 s3.5 MiB3.66 MiB+ 155.95 KiB
/wp-admin/edit-comments.php0.253 s0.177 s-0.076 s3.52 MiB3.68 MiB+ 155.45 KiB
/0.307 s0.162 s-0.145 s3.43 MiB3.53 MiB+ 93.62 KiB
Average 0.388 s0.317 s-0.071 s3.97 MiB4.13 MiB+ 164.5 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
Language % Lines of code Comment lines Files
PHP93.9%3,0298757
JavaScript6.1%19804
Total 3,227 87 61

PHP Code Analysis | More results »

Lines of code 2,427
Total complexity 462
Median class complexity 4.0
Median method complexity 2.0
Most complex class MABEL_BHI_LITE\Services\Opening_Hours_Service
Most complex function MABEL_BHI_LITE\Services\Opening_Hours_Service::get_next_closing_time()
Classes 37
Methods 150
Functions 10

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 4

Sidebar Widgets 4

ID Name
bhi_widget_displayopeninghours[BHI] opening hours overview
bhi_widget_displaybusinesshoursindicator[BHI] opening hours indicator
bhi_widget_isclosed[BHI] Show only when closed
bhi_widget_isopen[BHI] Show only when open

PHP Error Log 1 lines

[01-Oct-2025 20:53:13 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6121
See also: All tests for this plugin, How to Hide the "Business Hours Indicator" Admin Menu