Rest Routes – Custom Endpoints for WP REST API 5.5.4

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

Summary

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

Memory usage: 140.83 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 version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=1e0bfd44e8
Aspect after-activation
HTTP status 200
Load time 0.369 s
Memory usage 3.36 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 0.911 s
Memory usage 3.11 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.155 s
Memory usage 3.17 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.359 s
Memory usage 3.11 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.139 s
Memory usage 3.16 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.746 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.064 s
Memory usage 3.18 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.242 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.243 s0.358 s+0.115 s3.07 MiB3.26 MiB+ 197.72 KiB
/wp-admin/edit.php0.160 s0.207 s+0.047 s3.1 MiB3.29 MiB+ 197.72 KiB
/wp-admin/post-new.php0.653 s0.867 s+0.214 s5.02 MiB5.16 MiB+ 147.91 KiB
/wp-admin/upload.php0.633 s0.316 s-0.317 s3.02 MiB3.13 MiB+ 116.32 KiB
/wp-admin/options-writing.php0.163 s0.135 s-0.028 s3.01 MiB3.11 MiB+ 103.08 KiB
/wp-admin/media-new.php0.245 s0.223 s-0.022 s2.99 MiB3.12 MiB+ 128.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.160 s0.172 s+0.012 s3.01 MiB3.14 MiB+ 133.68 KiB
/wp-admin/post-new.php?post_type=page0.533 s0.679 s+0.146 s5.01 MiB5.15 MiB+ 143.49 KiB
/wp-admin/options-discussion.php0.195 s0.224 s+0.029 s3 MiB3.11 MiB+ 116.81 KiB
/wp-admin/edit-comments.php0.194 s0.185 s-0.009 s3.03 MiB3.14 MiB+ 116.34 KiB
/0.266 s0.192 s-0.074 s2.97 MiB3.11 MiB+ 147.55 KiB
Average 0.313 s0.323 s+0.010 s3.38 MiB3.52 MiB+ 140.83 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
PHP71.0%38,80417,389200
PO File22.9%12,5027,01710
Sass5.2%2,8628034
Markdown0.5%26807
JavaScript0.4%194503
JSON0.0%2701
CSS0.0%15114
Total 54,672 24,537 269

PHP Code Analysis | More results »

Lines of code 28,610
Total complexity 6,680
Median class complexity 8.0
Median method complexity 2.0
Most complex class Freemius
Most complex function FS_Plugin_Info_Dialog::install_plugin_information()
Classes 108
Methods 1,470
Functions 171

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 4

Custom Post Types 1

ID Name
rest-routeRoutes

PHP Error Log 46 lines

[10-Jul-2023 19:55:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:09 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:09 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:10 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:13 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:13 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:16 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:16 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:19 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:19 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:19 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:20 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:20 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:22 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:22 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:23 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:23 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:23 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:23 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:23 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:23 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:26 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:26 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
[10-Jul-2023 19:55:26 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7053
[10-Jul-2023 19:55:26 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2165
See also: All tests for this plugin, How to Hide Rest Routes – Custom Endpoints for WP REST API Admin Menus