Rest Routes – Custom Endpoints for WP REST API 3.0.0

Does "Rest Routes – Custom Endpoints for WP REST API" work with WordPress 5.5.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version5.5.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 100+
WordPress.org page https://wordpress.org/plugins/rest-routes/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 7

Rest Routes ‹ Test site — WordPress

Page screenshot: Rest Routes ‹ Test site — WordPress
URL /wp-admin/admin.php?page=rest-routes-main
Requested URL /wp-admin/plugins.php?action=activate&plugin=rest-routes%2Frest-routes.php&plugin_status=all&paged=1&s&_wpnonce=084f0089ca
Aspect after-activation
HTTP status 200
Load time 0.982 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Rest Routes

Page screenshot: Rest Routes
URL /wp-admin/admin.php?page=rest-routes-main
Aspect menu-item
HTTP status 200
Load time 1.551 s
Memory usage 3.04 MiB
JS errors None
Resource errors None

Rest Routes → Routes

Page screenshot: Rest Routes → Routes
URL /wp-admin/edit.php?post_type=rest-routes
Aspect menu-item
HTTP status 200
Load time 0.271 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Rest Routes → Contact Us

Page screenshot: Rest Routes → Contact Us
URL /wp-admin/admin.php?page=rest-routes-main-contact
Aspect menu-item
HTTP status 200
Load time 0.871 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Rest Routes → Support Forum

Page screenshot: Rest Routes → Support Forum
URL https://wordpress.org/support/plugin/rest-routes/
Requested URL /wp-admin/admin.php?page=rest-routes-main-wp-support-forum
Aspect menu-item
HTTP status 200
Load time 1.136 s
Memory usage N/A
JS errors None
Resource errors None

Rest Routes → Upgrade  ➤

Page screenshot: Rest Routes → Upgrade  ➤
URL /wp-admin/admin.php?page=rest-routes-main-pricing
Aspect menu-item
HTTP status 200
Load time 1.212 s
Memory usage 3.4 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.250 s
Memory usage 2.91 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.462 s0.455 s-0.007 s2.75 MiB3.28 MiB+ 536.84 KiB
/wp-admin/edit.php0.223 s0.228 s+0.005 s2.8 MiB3.33 MiB+ 542.02 KiB
/wp-admin/post-new.php1.504 s1.824 s+0.320 s4.54 MiB5.1 MiB+ 569.81 KiB
/wp-admin/upload.php0.668 s0.428 s-0.240 s2.63 MiB3.06 MiB+ 443.39 KiB
/wp-admin/options-writing.php0.182 s0.156 s-0.026 s2.64 MiB3.05 MiB+ 411.37 KiB
/wp-admin/media-new.php0.207 s0.271 s+0.064 s2.6 MiB3.04 MiB+ 444.19 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.226 s+0.048 s2.64 MiB3.08 MiB+ 444.47 KiB
/wp-admin/post-new.php?post_type=page1.329 s1.364 s+0.035 s4.53 MiB5.08 MiB+ 560.77 KiB
/wp-admin/options-discussion.php0.278 s0.673 s+0.395 s2.61 MiB3.04 MiB+ 444.5 KiB
/wp-admin/edit-comments.php0.206 s0.234 s+0.028 s2.65 MiB3.08 MiB+ 443.41 KiB
/0.325 s0.226 s-0.099 s2.56 MiB2.92 MiB+ 365.14 KiB
Average 0.506 s0.553 s+0.048 s3 MiB3.46 MiB+ 473.26 KiB

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 5

Custom Post Types 1

ID Name
rest-routesRoutes

Meta Boxes

{
    "rest-routes": {
        "wprr_query_builder": {
            "title": "Query Builder",
            "context": "advanced"
        },
        "wprr_content_output": {
            "title": "Content Output",
            "context": "advanced"
        },
        "wprr_route_info": {
            "title": "Route Details",
            "context": "advanced"
        },
        "wprr_pro": {
            "title": "Rest Routes Pro",
            "context": "side"
        }
    }
}

PHP Error Log 2 lines

[06-Sep-2020 12:10:57 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>rest-routes/v2/(?P<id>[a-zA-Z-_0-9]+)</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5225
[06-Sep-2020 12:11:00 UTC] PHP Notice:  register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>rest-routes/v2/(?P<id>[a-zA-Z-_0-9]+)</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.5.0.) in /wp-includes/functions.php on line 5225
See also: All tests for this plugin, How to Hide Rest Routes – Custom Endpoints for WP REST API Admin Menus