WordPress REST API Authentication 1.4.1

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

Summary

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

Memory usage: 34.25 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 version5.6.1
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 10

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=a6dcc171ec
Aspect after-activation
HTTP status 200
Load time 0.356 s
Memory usage 2.71 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.296 s
Memory usage 2.67 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.299 s
Memory usage 3.47 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.68 MiB
JS errors None
Resource errors None

miniOrange API Authentication → Custom API Intergration

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

miniOrange API Authentication → Request For Demo

Page screenshot: miniOrange API Authentication → Request For Demo
URL /wp-admin/admin.php?page=mo_api_authentication_settings&tab=requestfordemo
Aspect menu-item-tab
HTTP status 200
Load time 0.205 s
Memory usage 2.68 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.355 s
Memory usage 2.68 MiB
JS errors None
Resource errors None

miniOrange API Authentication → Licensing Plans

Page screenshot: miniOrange API Authentication → Licensing Plans
URL /wp-admin/admin.php?page=mo_api_authentication_settings&tab=licensing
Aspect menu-item-tab
HTTP status 200
Load time 0.346 s
Memory usage 2.71 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.230 s
Memory usage 2.64 MiB
JS errors None
Resource errors None

Dashboard ‹ Test site — WordPress

Page screenshot: Dashboard ‹ Test site — WordPress
URL /wp-admin/index.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.597 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.276 s0.503 s+0.227 s2.79 MiB2.82 MiB+ 32.85 KiB
/wp-admin/edit.php0.183 s0.197 s+0.014 s2.84 MiB2.87 MiB+ 31.38 KiB
/wp-admin/post-new.php0.939 s1.222 s+0.283 s4.94 MiB4.98 MiB+ 44.16 KiB
/wp-admin/upload.php0.534 s0.357 s-0.177 s2.67 MiB2.7 MiB+ 30.81 KiB
/wp-admin/options-writing.php0.154 s0.198 s+0.044 s2.68 MiB2.68 MiB- 2.52 KiB
/wp-admin/media-new.php0.219 s0.197 s-0.022 s2.65 MiB2.68 MiB+ 30.62 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.198 s+0.012 s2.68 MiB2.75 MiB+ 73.34 KiB
/wp-admin/post-new.php?post_type=page1.116 s0.709 s-0.407 s4.92 MiB4.97 MiB+ 47.84 KiB
/wp-admin/options-discussion.php0.320 s0.205 s-0.115 s2.65 MiB2.68 MiB+ 29.99 KiB
/wp-admin/edit-comments.php0.215 s0.203 s-0.012 s2.75 MiB2.78 MiB+ 30.16 KiB
/0.249 s0.209 s-0.040 s2.61 MiB2.64 MiB+ 28.08 KiB
Average 0.399 s0.382 s-0.018 s3.11 MiB3.14 MiB+ 34.25 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
PHP82.7%4,85768138
CSS15.2%892246
JavaScript2.2%127715
Total 5,876 776 49

PHP Code Analysis | More results »

Lines of code 5,022
Total complexity 455
Median class complexity 3.0
Median method complexity 1.0
Most complex class Miniorange_API_Authentication_Admin
Most complex function Miniorange_API_Authentication_Admin::miniorange_api_authentication_save_settings()
Classes 28
Methods 92
Functions 35

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 9

Meta Boxes

{
    "dashboard": {
        "miniorange_wp_dashboard_widget": {
            "title": "miniOrange REST API Authentications Usage",
            "context": "normal"
        }
    }
}

PHP Error Log 122 lines

[05-Feb-2021 02:19:31 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/(?P<uuid>[\w\-]+)
    [41] => /wp/v2/comments
    [42] => /wp/v2/comments/(?P<id>[\d]+)
    [43] => /wp/v2/search
    [44] => /wp/v2/block-renderer/(?P<name>[a-z0-9-]+/[a-z0-9-]+)
    [45] => /wp/v2/block-types
    [46] => /wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)
    [47] => /wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)/(?P<name>[a-zA-Z0-9_-]+)
    [48] => /wp/v2/settings
    [49] => /wp/v2/themes
    [50] => /wp/v2/plugins
    [51] => /wp/v2/plugins/(?P<plugin>[^.\/]+(?:\/[^.\/]+)?)
    [52] => /wp/v2/block-directory/search
    [53] => /wp-site-health/v1
    [54] => /wp-site-health/v1/tests/background-updates
    [55] => /wp-site-health/v1/tests/loopback-requests
    [56] => /wp-site-health/v1/tests/dotorg-communication
    [57] => /wp-site-health/v1/tests/authorization-header
    [58] => /wp-site-health/v1/directory-sizes
)

[05-Feb-2021 02:19:31 UTC] checking for /
[05-Feb-2021 02:19:31 UTC] checking for /batch/v1
[05-Feb-2021 02:19:31 UTC] checking for /oembed/1.0
[05-Feb-2021 02:19:31 UTC] checking for /oembed/1.0/embed
[05-Feb-2021 02:19:31 UTC] checking for /oembed/1.0/proxy
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/posts
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/posts/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/revisions
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/posts/(?P<id>[\d]+)/autosaves
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/pages
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/pages/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/pages/(?P<parent>[\d]+)/revisions
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/pages/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/pages/(?P<id>[\d]+)/autosaves
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/pages/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/media
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/media/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/media/(?P<id>[\d]+)/post-process
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/media/(?P<id>[\d]+)/edit
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/blocks
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/blocks/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/blocks/(?P<id>[\d]+)/autosaves
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/blocks/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/types
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/types/(?P<type>[\w-]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/statuses
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/statuses/(?P<status>[\w-]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/taxonomies
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/taxonomies/(?P<taxonomy>[\w-]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/categories
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/categories/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/tags
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/tags/(?P<id>[\d]+)
[05-Feb-2021 02:19:31 UTC] checking for /wp/v2/users

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