Protect WP-Admin 4.0

Does Protect WP-Admin work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 35.74 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/protect-wp-admin/
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=protect-wp-admin%2Fprotect-wp-admin.php&plugin_status=all&paged=1&s&_wpnonce=1f95c9ed42
Aspect after-activation
HTTP status 200
Load time 0.469 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Settings → Protect WP-Admin

Page screenshot: Settings → Protect WP-Admin
URL /wp-admin/options-general.php?page=pwa-settings
Aspect menu-item
HTTP status 200
Load time 1.513 s
Memory usage 3.56 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.408 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.308 s0.231 s-0.077 s3.51 MiB3.55 MiB+ 43.84 KiB
/wp-admin/edit.php0.170 s0.175 s+0.005 s3.57 MiB3.61 MiB+ 40.65 KiB
/wp-admin/post-new.php0.726 s0.597 s-0.129 s6.06 MiB6.1 MiB+ 38.85 KiB
/wp-admin/upload.php0.819 s0.284 s-0.535 s3.52 MiB3.55 MiB+ 28.74 KiB
/wp-admin/options-writing.php0.173 s0.183 s+0.010 s3.5 MiB3.53 MiB+ 32.73 KiB
/wp-admin/media-new.php0.230 s0.333 s+0.103 s3.49 MiB3.53 MiB+ 40.93 KiB
/wp-admin/edit-tags.php?taxonomy=category0.149 s0.159 s+0.010 s3.5 MiB3.55 MiB+ 46.1 KiB
/wp-admin/post-new.php?post_type=page0.570 s0.541 s-0.029 s6.05 MiB6.09 MiB+ 38.72 KiB
/wp-admin/options-discussion.php0.275 s0.258 s-0.017 s3.5 MiB3.53 MiB+ 29.23 KiB
/wp-admin/edit-comments.php0.165 s0.172 s+0.007 s3.52 MiB3.55 MiB+ 28.73 KiB
/0.267 s0.183 s-0.084 s3.43 MiB3.46 MiB+ 24.55 KiB
Average 0.350 s0.283 s-0.067 s3.97 MiB4 MiB+ 35.74 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
JavaScript
Language % Lines of code Comment lines Files
PHP85.2%497923
JavaScript14.8%8662
Total 583 98 5

PHP Code Analysis | More results »

Lines of code 506
Total complexity 105
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function pwa_admin_url_redirect_conditions()
Classes 0
Methods 0
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.

No new entries found.

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Protect WP Admin" Admin Menu