JWT Authentication for WP-API 1.3.0

Does JWT Authentication for WP-API work with WordPress 6.0.2 and PHP 7.4.8? 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: 6.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.0.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 50,000+
WordPress.org page https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=jwt-authentication-for-wp-rest-api%2Fjwt-auth.php&plugin_status=all&paged=1&s&_wpnonce=673b25f392
Aspect after-activation
HTTP status 200
Load time 0.268 s
Memory usage 3.7 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.200 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.330 s0.647 s+0.317 s3.72 MiB3.73 MiB+ 8.22 KiB
/wp-admin/edit.php0.210 s0.224 s+0.014 s3.76 MiB3.76 MiB+ 7.14 KiB
/wp-admin/post-new.php0.800 s1.019 s+0.219 s5.55 MiB5.57 MiB+ 21.74 KiB
/wp-admin/upload.php0.413 s0.355 s-0.058 s3.69 MiB3.69 MiB+ 7.14 KiB
/wp-admin/options-writing.php0.298 s0.164 s-0.134 s3.62 MiB3.63 MiB+ 14.72 KiB
/wp-admin/media-new.php0.314 s0.207 s-0.107 s3.66 MiB3.67 MiB+ 7.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.189 s-0.018 s3.69 MiB3.7 MiB+ 8.22 KiB
/wp-admin/post-new.php?post_type=page0.725 s0.655 s-0.070 s5.54 MiB5.56 MiB+ 21.74 KiB
/wp-admin/options-discussion.php0.241 s0.332 s+0.091 s3.6 MiB3.61 MiB+ 7.57 KiB
/wp-admin/edit-comments.php0.222 s0.230 s+0.008 s3.7 MiB3.7 MiB+ 7.07 KiB
/0.295 s0.244 s-0.051 s3.6 MiB3.57 MiB- 39.38 KiB
Average 0.369 s0.388 s+0.019 s4.01 MiB4.02 MiB+ 6.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
Markdown
Language % Lines of code Comment lines Files
PHP61.5%4304257
Markdown34.5%24101
JSON4.0%2801
Total 699 425 9

PHP Code Analysis | More results »

Lines of code 429
Total complexity 54
Median class complexity 7.0
Median method complexity 1.0
Most complex class Jwt_Auth_Public
Most complex function Jwt_Auth_Public::validate_token()
Classes 5
Methods 29
Functions 1

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 "JWT Authentication" Admin Menu