WordPress REST API Authentication 1.6.0

Does "WordPress REST API Authentication" work with WordPress 5.7.2 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
51Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 27.96 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.024 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version5.7.2
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/wp-rest-api-authentication/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 8

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=wp-rest-api-authentication%2Fminiorange-api-authentication.php&plugin_status=all&paged=1&s&_wpnonce=7555d99ba1
Aspect after-activation
HTTP status 200
Load time 0.525 s
Memory usage 2.74 MiB
JS errors None
Resource errors None

miniOrange API Authentication

Page screenshot: miniOrange API Authentication
URL /wp-admin/admin.php?page=mo_api_authentication_settings
Aspect menu-item
HTTP status 200
Load time 0.353 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

miniOrange API Authentication → Protected REST APIs

Page screenshot: miniOrange API Authentication → Protected REST APIs
URL /wp-admin/admin.php?page=mo_api_authentication_settings&tab=protectedrestapis
Aspect menu-item-tab
HTTP status 200
Load time 0.297 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

miniOrange API Authentication → Advanced Settings

Page screenshot: miniOrange API Authentication → Advanced Settings
URL /wp-admin/admin.php?page=mo_api_authentication_settings&tab=advancedsettings
Aspect menu-item-tab
HTTP status 200
Load time 0.231 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

miniOrange API Authentication → Custom API Authentication

Page screenshot: miniOrange API Authentication → Custom API Authentication
URL /wp-admin/admin.php?page=mo_api_authentication_settings&tab=custom-integration
Aspect menu-item-tab
HTTP status 200
Load time 0.374 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

miniOrange API Authentication → Request For Demo/Trial

Page screenshot: miniOrange API Authentication → Request For Demo/Trial
URL /wp-admin/admin.php?page=mo_api_authentication_settings&tab=requestfordemo
Aspect menu-item-tab
HTTP status 200
Load time 0.244 s
Memory usage 2.7 MiB
JS errors None
Resource errors None

miniOrange API Authentication → Account Setup

Page screenshot: miniOrange API Authentication → Account Setup
URL /wp-admin/admin.php?page=mo_api_authentication_settings&tab=account
Aspect menu-item-tab
HTTP status 200
Load time 0.247 s
Memory usage 2.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.249 s
Memory usage 2.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.578 s0.297 s-0.281 s2.82 MiB2.85 MiB+ 30.2 KiB
/wp-admin/edit.php0.294 s0.262 s-0.032 s2.86 MiB2.89 MiB+ 29.89 KiB
/wp-admin/post-new.php0.939 s1.118 s+0.179 s5.02 MiB5.07 MiB+ 42.88 KiB
/wp-admin/upload.php0.542 s0.433 s-0.109 s2.7 MiB2.72 MiB+ 28.8 KiB
/wp-admin/options-writing.php0.240 s0.283 s+0.043 s2.71 MiB2.71 MiB- 3.23 KiB
/wp-admin/media-new.php0.238 s0.206 s-0.032 s2.67 MiB2.7 MiB+ 28.97 KiB
/wp-admin/edit-tags.php?taxonomy=category0.228 s0.206 s-0.022 s2.77 MiB2.8 MiB+ 31.13 KiB
/wp-admin/post-new.php?post_type=page0.641 s1.055 s+0.414 s5.01 MiB5.05 MiB+ 38.46 KiB
/wp-admin/options-discussion.php0.227 s0.357 s+0.130 s2.67 MiB2.7 MiB+ 29.28 KiB
/wp-admin/edit-comments.php0.232 s0.300 s+0.068 s2.78 MiB2.8 MiB+ 28.82 KiB
/0.361 s0.265 s-0.096 s2.65 MiB2.67 MiB+ 22.32 KiB
Average 0.411 s0.435 s+0.024 s3.15 MiB3.18 MiB+ 27.96 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
CSS
Language % Lines of code Comment lines Files
PHP84.9%4,66655633
CSS15.1%827183
JavaScript0.0%181
Total 5,494 582 37

PHP Code Analysis | More results »

Lines of code 4,402
Total complexity 301
Median class complexity 3.0
Median method complexity 1.0
Most complex class Miniorange_API_Authentication_Customer
Most complex function Mo_API_Authentication_Admin_License::mo_api_authentication_licensing_page()
Classes 25
Methods 63
Functions 30

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 6

PHP Error Log 116 lines

[12-Jul-2021 18:22:56 UTC] whitelisted: Array
(
    [0] => /
    [1] => /batch/v1
    [2] => /oembed/1.0
    [3] => /oembed/1.0/embed
    [4] => /oembed/1.0/proxy
    [5] => /wp/v2
    [6] => /wp/v2/posts
    [7] => /wp/v2/posts/(?P<id>[\d]+)
    [8] => /wp/v2/posts/(?P<parent>[\d]+)/revisions
    [9] => /wp/v2/posts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
    [10] => /wp/v2/posts/(?P<id>[\d]+)/autosaves
    [11] => /wp/v2/posts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
    [12] => /wp/v2/pages
    [13] => /wp/v2/pages/(?P<id>[\d]+)
    [14] => /wp/v2/pages/(?P<parent>[\d]+)/revisions
    [15] => /wp/v2/pages/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
    [16] => /wp/v2/pages/(?P<id>[\d]+)/autosaves
    [17] => /wp/v2/pages/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
    [18] => /wp/v2/media
    [19] => /wp/v2/media/(?P<id>[\d]+)
    [20] => /wp/v2/media/(?P<id>[\d]+)/post-process
    [21] => /wp/v2/media/(?P<id>[\d]+)/edit
    [22] => /wp/v2/blocks
    [23] => /wp/v2/blocks/(?P<id>[\d]+)
    [24] => /wp/v2/blocks/(?P<id>[\d]+)/autosaves
    [25] => /wp/v2/blocks/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
    [26] => /wp/v2/types
    [27] => /wp/v2/types/(?P<type>[\w-]+)
    [28] => /wp/v2/statuses
    [29] => /wp/v2/statuses/(?P<status>[\w-]+)
    [30] => /wp/v2/taxonomies
    [31] => /wp/v2/taxonomies/(?P<taxonomy>[\w-]+)
    [32] => /wp/v2/categories
    [33] => /wp/v2/categories/(?P<id>[\d]+)
    [34] => /wp/v2/tags
    [35] => /wp/v2/tags/(?P<id>[\d]+)
    [36] => /wp/v2/users
    [37] => /wp/v2/users/(?P<id>[\d]+)
    [38] => /wp/v2/users/me
    [39] => /wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords
    [40] => /wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords/introspect
    [41] => /wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords/(?P<uuid>[\w\-]+)
    [42] => /wp/v2/comments
    [43] => /wp/v2/comments/(?P<id>[\d]+)
    [44] => /wp/v2/search
    [45] => /wp/v2/block-renderer/(?P<name>[a-z0-9-]+/[a-z0-9-]+)
    [46] => /wp/v2/block-types
    [47] => /wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)
    [48] => /wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)/(?P<name>[a-zA-Z0-9_-]+)
    [49] => /wp/v2/settings
    [50] => /wp/v2/themes
    [51] => /wp/v2/themes/(?P<stylesheet>[\w-]+)
    [52] => /wp/v2/plugins
    [53] => /wp/v2/plugins/(?P<plugin>[^.\/]+(?:\/[^.\/]+)?)
    [54] => /wp/v2/block-directory/search
    [55] => /wp-site-health/v1
    [56] => /wp-site-health/v1/tests/background-updates
    [57] => /wp-site-health/v1/tests/loopback-requests
    [58] => /wp-site-health/v1/tests/https-status
    [59] => /wp-site-health/v1/tests/dotorg-communication
    [60] => /wp-site-health/v1/tests/authorization-header
    [61] => /wp-site-health/v1/directory-sizes
)

[12-Jul-2021 18:22:56 UTC] checking for /wp/v2
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/posts
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/posts/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/revisions
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/posts/(?P<id>[\d]+)/autosaves
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/pages
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/pages/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/pages/(?P<parent>[\d]+)/revisions
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/pages/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/pages/(?P<id>[\d]+)/autosaves
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/pages/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/media
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/media/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/media/(?P<id>[\d]+)/post-process
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/media/(?P<id>[\d]+)/edit
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/blocks
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/blocks/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/blocks/(?P<id>[\d]+)/autosaves
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/blocks/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/types
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/types/(?P<type>[\w-]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/statuses
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/statuses/(?P<status>[\w-]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/taxonomies
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/taxonomies/(?P<taxonomy>[\w-]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/categories
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/categories/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/tags
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/tags/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/users
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/users/(?P<id>[\d]+)
[12-Jul-2021 18:22:56 UTC] checking for /wp/v2/users/me

(+16 more lines)
See also: All tests for this plugin, How to Hide the "miniOrange API Authentication" Admin Menu