WP REST API 2.0-beta15

Does WP REST API work with WordPress 6.9 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 325.1 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.9
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 40,000+
WordPress.org page https://wordpress.org/plugins/rest-api/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=rest-api%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=588f3af6d8
Aspect after-activation
HTTP status 200
Load time 0.367 s
Memory usage 3.73 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.228 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.465 s0.378 s-0.087 s3.77 MiB3.78 MiB+ 7.38 KiB
/wp-admin/edit.php0.405 s0.334 s-0.071 s3.78 MiB3.79 MiB+ 7.38 KiB
/wp-admin/post-new.php0.868 s0.838 s-0.030 s6.3 MiB8.05 MiB+ 1.75 MiB
/wp-admin/upload.php0.499 s0.511 s+0.012 s3.73 MiB3.73 MiB- 10.03 KiB
/wp-admin/options-writing.php0.358 s0.328 s-0.030 s3.71 MiB3.7 MiB- 6.04 KiB
/wp-admin/media-new.php0.614 s0.356 s-0.258 s3.7 MiB3.7 MiB+ 2.16 KiB
/wp-admin/edit-tags.php?taxonomy=category0.336 s0.308 s-0.028 s3.71 MiB3.72 MiB+ 12.83 KiB
/wp-admin/post-new.php?post_type=page0.755 s0.709 s-0.046 s6.29 MiB8.03 MiB+ 1.74 MiB
/wp-admin/options-discussion.php0.362 s0.408 s+0.046 s3.71 MiB3.7 MiB- 9.54 KiB
/wp-admin/edit-comments.php0.356 s0.354 s-0.002 s3.73 MiB3.72 MiB- 10.05 KiB
/0.308 s0.253 s-0.055 s4.1 MiB4.11 MiB+ 7.41 KiB
Average 0.484 s0.434 s-0.050 s4.23 MiB4.55 MiB+ 325.1 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
Markdown
JavaScript
Language % Lines of code Comment lines Files
PHP63.5%5,6452,00519
Markdown28.4%2,52503
JavaScript8.1%7193831
Total 8,889 2,388 23

PHP Code Analysis | More results »

Lines of code 5,645
Total complexity 1,219
Median class complexity 38.0
Median method complexity 3.0
Most complex class WP_REST_Posts_Controller
Most complex function WP_REST_Posts_Controller::prepare_item_for_database()
Classes 16
Methods 203
Functions 22

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.

No new entries found.

PHP Error Log 4 lines

[03-Dec-2025 05:01:31 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 05:01:31 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 05:01:41 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
[03-Dec-2025 05:01:41 UTC] PHP Deprecated:  Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /wp-includes/functions.php on line 6131
See also: All tests for this plugin