Rest Routes – Custom Endpoints for WP REST API 4.13.0

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

Summary

Errors
24PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version5.7
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 8

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=3b649e21a9
Aspect after-activation
HTTP status 200
Load time 1.454 s
Memory usage 3.52 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 2.134 s
Memory usage 3.12 MiB
JS errors None
Resource errors None

Rest Routes → Routes

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

Rest Routes → Add New Route

Page screenshot: Rest Routes → Add New Route
URL /wp-admin/admin.php?page=rest-routes-add-new
Aspect menu-item
HTTP status 200
Load time 0.407 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.196 s
Memory usage 3.2 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.369 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.149 s
Memory usage 3.49 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.289 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.476 s0.478 s+0.002 s2.82 MiB3.36 MiB+ 558.16 KiB
/wp-admin/edit.php0.233 s0.253 s+0.020 s2.86 MiB3.41 MiB+ 564.09 KiB
/wp-admin/post-new.php0.943 s1.203 s+0.260 s5.02 MiB5.63 MiB+ 625.14 KiB
/wp-admin/upload.php0.590 s0.287 s-0.303 s2.7 MiB3.14 MiB+ 459.98 KiB
/wp-admin/options-writing.php0.197 s0.166 s-0.031 s2.71 MiB3.13 MiB+ 427.96 KiB
/wp-admin/media-new.php0.231 s0.510 s+0.279 s2.67 MiB3.12 MiB+ 460.78 KiB
/wp-admin/edit-tags.php?taxonomy=category0.231 s0.305 s+0.074 s2.77 MiB3.31 MiB+ 557.06 KiB
/wp-admin/post-new.php?post_type=page0.738 s1.195 s+0.457 s5.01 MiB5.62 MiB+ 624.1 KiB
/wp-admin/options-discussion.php0.239 s0.325 s+0.086 s2.67 MiB3.12 MiB+ 461.09 KiB
/wp-admin/edit-comments.php0.263 s0.258 s-0.005 s2.78 MiB3.32 MiB+ 556.74 KiB
/0.361 s0.264 s-0.097 s2.65 MiB3.15 MiB+ 514.31 KiB
Average 0.409 s0.477 s+0.067 s3.15 MiB3.67 MiB+ 528.13 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
PO File
Language % Lines of code Comment lines Files
PHP72.2%33,57516,162154
PO File26.9%12,5027,01710
JavaScript0.4%199813
Markdown0.4%19402
JSON0.1%2701
CSS0.0%14111
Total 46,511 23,261 181

PHP Code Analysis | More results »

Lines of code 24,878
Total complexity 5,901
Median class complexity 10.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 77
Methods 1,291
Functions 161

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-routeRoutes

PHP Error Log 24 lines

[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 77
[03-Apr-2021 12:19:45 UTC] PHP Warning:  Illegal string offset 'table_name' in /wp-content/plugins/rest-routes/includes/Repository/CustomTable.php on line 78
See also: All tests for this plugin, How to Hide Rest Routes – Custom Endpoints for WP REST API Admin Menus