REST API Key Authentication 1.0

Does REST API Key Authentication work with WordPress 6.8.2 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: 1.2 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/rest-api-key-authentication/
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=rest-api-key-authentication%2Frest-api-key-authentication.php&plugin_status=all&paged=1&s&_wpnonce=3161eca5fd
Aspect after-activation
HTTP status 200
Load time 0.284 s
Memory usage 3.53 MiB
JS errors None
Resource errors None

API Keys

Page screenshot: API Keys
URL /wp-admin/admin.php?page=wp-api-key-auth
Aspect menu-item
HTTP status 200
Load time 0.155 s
Memory usage 3.49 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.213 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.357 s0.292 s-0.065 s3.51 MiB3.51 MiB+ 7.07 KiB
/wp-admin/edit.php0.205 s0.192 s-0.013 s3.57 MiB3.58 MiB+ 7.07 KiB
/wp-admin/post-new.php0.766 s0.637 s-0.129 s6.06 MiB6.07 MiB+ 11.5 KiB
/wp-admin/upload.php0.561 s0.311 s-0.250 s3.52 MiB3.51 MiB- 10.34 KiB
/wp-admin/options-writing.php0.228 s0.331 s+0.103 s3.5 MiB3.49 MiB- 6.34 KiB
/wp-admin/media-new.php0.281 s0.294 s+0.013 s3.49 MiB3.49 MiB+ 1.85 KiB
/wp-admin/edit-tags.php?taxonomy=category0.244 s0.186 s-0.058 s3.5 MiB3.52 MiB+ 12.52 KiB
/wp-admin/post-new.php?post_type=page0.620 s0.632 s+0.012 s6.05 MiB6.06 MiB+ 7.02 KiB
/wp-admin/options-discussion.php0.258 s0.235 s-0.023 s3.5 MiB3.49 MiB- 9.84 KiB
/wp-admin/edit-comments.php0.220 s0.204 s-0.016 s3.52 MiB3.51 MiB- 10.34 KiB
/0.302 s0.193 s-0.109 s3.43 MiB3.44 MiB+ 2.98 KiB
Average 0.367 s0.319 s-0.049 s3.97 MiB3.97 MiB+ 1.2 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
CSS
Language % Lines of code Comment lines Files
PHP68.2%150412
JavaScript18.2%4051
CSS13.6%3011
Total 220 47 4

PHP Code Analysis | More results »

Lines of code 78
Total complexity 13
Median class complexity 13.0
Median method complexity 2.0
Most complex class Rest_API_Key_Auth
Most complex function Rest_API_Key_Auth::authenticate_api_key()
Classes 1
Methods 5
Functions 0

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 "API Keys" Admin Menu