Hide Admin Bar From Front End 1.0.0

Does Hide Admin Bar From Front End work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: -10.43 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.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 4,000+
WordPress.org page https://wordpress.org/plugins/hide-admin-bar-from-front-end/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=hide-admin-bar-from-front-end%2Fhide-admin-bar-from-front-end.php&plugin_status=all&paged=1&s&_wpnonce=22f790182a
Aspect after-activation
HTTP status 200
Load time 0.236 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Settings → Hide/Show Admin Bar

Page screenshot: Settings → Hide/Show Admin Bar
URL /wp-admin/options-general.php?page=hide_admin_bar_from_front_end
Aspect menu-item
HTTP status 200
Load time 0.288 s
Memory usage 3.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.255 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.312 s0.262 s-0.050 s3.07 MiB3.07 MiB+ 2.91 KiB
/wp-admin/edit.php0.212 s0.194 s-0.018 s3.1 MiB3.1 MiB+ 2.91 KiB
/wp-admin/post-new.php0.867 s1.019 s+0.152 s5.02 MiB5.03 MiB+ 7.28 KiB
/wp-admin/upload.php0.713 s0.334 s-0.379 s3.02 MiB3 MiB- 14.5 KiB
/wp-admin/options-writing.php0.199 s0.159 s-0.040 s3.01 MiB2.99 MiB- 27.73 KiB
/wp-admin/media-new.php0.296 s0.254 s-0.042 s2.99 MiB2.99 MiB- 2.3 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.204 s-0.013 s3.01 MiB3.01 MiB+ 2.87 KiB
/wp-admin/post-new.php?post_type=page0.673 s0.747 s+0.074 s5.01 MiB5.02 MiB+ 2.87 KiB
/wp-admin/options-discussion.php0.278 s0.294 s+0.016 s3 MiB2.99 MiB- 14 KiB
/wp-admin/edit-comments.php0.247 s0.227 s-0.020 s3.03 MiB3.01 MiB- 14.5 KiB
/0.390 s0.222 s-0.168 s3.03 MiB2.97 MiB- 60.53 KiB
Average 0.400 s0.356 s-0.044 s3.39 MiB3.38 MiB- 10.43 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
PHP100.0%64152
Total 64 15 2

PHP Code Analysis | More results »

Lines of code 15
Total complexity 2
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function hsabffe_options_menu()
Classes 0
Methods 0
Functions 2

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.

No new entries found.

PHP Error Log 2 lines

[22-May-2023 05:41:23 UTC] PHP Warning:  Undefined array key "add_opt_submit" in /wp-content/plugins/hide-admin-bar-from-front-end/includes/hide_admin_bar_from_front_end.php on line 8
[22-May-2023 05:41:23 UTC] PHP Warning:  Undefined variable $message in /wp-content/plugins/hide-admin-bar-from-front-end/includes/hide_admin_bar_from_front_end.php on line 27
See also: All tests for this plugin, How to Hide the "Hide/Show Admin Bar" Admin Menu