WordPress REST API Authentication 1.6.5

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

Summary

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

Memory usage: 38.93 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.8.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=02cd2cf21d
Aspect after-activation
HTTP status 200
Load time 0.668 s
Memory usage 3.07 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.376 s
Memory usage 3.04 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.347 s
Memory usage 4.04 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.246 s
Memory usage 3.04 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.419 s
Memory usage 3.04 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.255 s
Memory usage 3.04 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.271 s
Memory usage 3.04 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.355 s
Memory usage 2.94 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.369 s0.424 s+0.055 s3.08 MiB3.12 MiB+ 40.51 KiB
/wp-admin/edit.php0.186 s0.254 s+0.068 s3.11 MiB3.22 MiB+ 105.3 KiB
/wp-admin/post-new.php1.087 s1.428 s+0.341 s5.27 MiB5.31 MiB+ 40.11 KiB
/wp-admin/upload.php0.606 s0.580 s-0.026 s3.03 MiB3.07 MiB+ 39.38 KiB
/wp-admin/options-writing.php0.301 s0.187 s-0.114 s3.02 MiB3.05 MiB+ 22.41 KiB
/wp-admin/media-new.php0.329 s0.382 s+0.053 s3.01 MiB3.05 MiB+ 39.23 KiB
/wp-admin/edit-tags.php?taxonomy=category0.223 s0.244 s+0.021 s3.04 MiB3.08 MiB+ 40.14 KiB
/wp-admin/post-new.php?post_type=page1.520 s0.809 s-0.711 s5.26 MiB5.3 MiB+ 40.03 KiB
/wp-admin/options-discussion.php0.291 s0.313 s+0.022 s3 MiB3.04 MiB+ 38.92 KiB
/wp-admin/edit-comments.php0.272 s0.300 s+0.028 s3.04 MiB3.08 MiB+ 39.09 KiB
/0.285 s0.229 s-0.056 s2.96 MiB2.94 MiB- 16.85 KiB
Average 0.497 s0.468 s-0.029 s3.44 MiB3.48 MiB+ 38.93 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
PHP83.6%4,75955833
CSS16.3%930183
JavaScript0.0%181
Total 5,690 584 37

PHP Code Analysis | More results »

Lines of code 4,476
Total complexity 309
Median class complexity 2.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 64
Functions 32

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 7

PHP Error Log 161 lines

[16-Nov-2021 19:24:49 UTC] PHP Notice:  Undefined variable: count in /wp-content/plugins/wp-rest-api-authentication/admin/partials/config/class-mo-api-authentication-config.php on line 170
[16-Nov-2021 19:24:50 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<parent>[\d]+)/revisions
    [25] => /wp/v2/blocks/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
    [26] => /wp/v2/blocks/(?P<id>[\d]+)/autosaves
    [27] => /wp/v2/blocks/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
    [28] => /wp/v2/templates
    [29] => /wp/v2/templates/(?P<id>[\/\w-]+)
    [30] => /wp/v2/templates/(?P<parent>[\d]+)/revisions
    [31] => /wp/v2/templates/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
    [32] => /wp/v2/templates/(?P<id>[\d]+)/autosaves
    [33] => /wp/v2/templates/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
    [34] => /wp/v2/types
    [35] => /wp/v2/types/(?P<type>[\w-]+)
    [36] => /wp/v2/statuses
    [37] => /wp/v2/statuses/(?P<status>[\w-]+)
    [38] => /wp/v2/taxonomies
    [39] => /wp/v2/taxonomies/(?P<taxonomy>[\w-]+)
    [40] => /wp/v2/categories
    [41] => /wp/v2/categories/(?P<id>[\d]+)
    [42] => /wp/v2/tags
    [43] => /wp/v2/tags/(?P<id>[\d]+)
    [44] => /wp/v2/users
    [45] => /wp/v2/users/(?P<id>[\d]+)
    [46] => /wp/v2/users/me
    [47] => /wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords
    [48] => /wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords/introspect
    [49] => /wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords/(?P<uuid>[\w\-]+)
    [50] => /wp/v2/comments
    [51] => /wp/v2/comments/(?P<id>[\d]+)
    [52] => /wp/v2/search
    [53] => /wp/v2/block-renderer/(?P<name>[a-z0-9-]+/[a-z0-9-]+)
    [54] => /wp/v2/block-types
    [55] => /wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)
    [56] => /wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)/(?P<name>[a-zA-Z0-9_-]+)
    [57] => /wp/v2/settings
    [58] => /wp/v2/themes
    [59] => /wp/v2/themes/(?P<stylesheet>[\w-]+)
    [60] => /wp/v2/plugins
    [61] => /wp/v2/plugins/(?P<plugin>[^.\/]+(?:\/[^.\/]+)?)
    [62] => /wp/v2/sidebars
    [63] => /wp/v2/sidebars/(?P<id>[\w-]+)
    [64] => /wp/v2/widget-types
    [65] => /wp/v2/widget-types/(?P<id>[a-zA-Z0-9_-]+)
    [66] => /wp/v2/widget-types/(?P<id>[a-zA-Z0-9_-]+)/encode
    [67] => /wp/v2/widgets
    [68] => /wp/v2/widgets/(?P<id>[\w\-]+)
    [69] => /wp/v2/block-directory/search
    [70] => /wp/v2/pattern-directory/patterns
    [71] => /wp-site-health/v1
    [72] => /wp-site-health/v1/tests/background-updates
    [73] => /wp-site-health/v1/tests/loopback-requests
    [74] => /wp-site-health/v1/tests/https-status
    [75] => /wp-site-health/v1/tests/dotorg-communication
    [76] => /wp-site-health/v1/tests/authorization-header
    [77] => /wp-site-health/v1/directory-sizes
)

[16-Nov-2021 19:24:50 UTC] checking for /
[16-Nov-2021 19:24:50 UTC] checking for /batch/v1
[16-Nov-2021 19:24:50 UTC] checking for /oembed/1.0
[16-Nov-2021 19:24:50 UTC] checking for /oembed/1.0/embed
[16-Nov-2021 19:24:50 UTC] checking for /oembed/1.0/proxy
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/posts
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/posts/(?P<id>[\d]+)
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/revisions
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/posts/(?P<id>[\d]+)/autosaves
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/posts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/pages
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/pages/(?P<id>[\d]+)
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/pages/(?P<parent>[\d]+)/revisions
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/pages/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
[16-Nov-2021 19:24:50 UTC] checking for /wp/v2/pages/(?P<id>[\d]+)/autosaves

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