WPGraphQL 2.2.0

Does WPGraphQL work with WordPress 6.8.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

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

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

Environment
WordPress version6.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,000+
WordPress.org page https://wordpress.org/plugins/wp-graphql/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

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-graphql%2Fwp-graphql.php&plugin_status=all&paged=1&s&_wpnonce=b848e3d354
Aspect after-activation
HTTP status 200
Load time 0.327 s
Memory usage 3.77 MiB
JS errors None
Resource errors None

GraphQL

Page screenshot: GraphQL
URL /wp-admin/admin.php?page=graphiql-ide
Aspect menu-item
HTTP status 200
Load time 1.051 s
Memory usage 3.71 MiB
JS errors None
Resource errors None

GraphQL → Settings

Page screenshot: GraphQL → Settings
URL /wp-admin/admin.php?page=graphql-settings
Aspect menu-item
HTTP status 200
Load time 0.384 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

GraphQL → Extensions

Page screenshot: GraphQL → Extensions
URL /wp-admin/admin.php?page=wpgraphql-extensions
Aspect menu-item
HTTP status 200
Load time 0.284 s
Memory usage 3.72 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.232 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.358 s0.328 s-0.030 s3.51 MiB3.72 MiB+ 222.66 KiB
/wp-admin/edit.php0.215 s0.343 s+0.128 s3.57 MiB3.81 MiB+ 248.96 KiB
/wp-admin/post-new.php0.837 s1.107 s+0.270 s6.06 MiB6.35 MiB+ 292.26 KiB
/wp-admin/upload.php0.767 s0.733 s-0.034 s3.52 MiB3.72 MiB+ 205.37 KiB
/wp-admin/options-writing.php0.210 s0.206 s-0.004 s3.5 MiB3.71 MiB+ 208.73 KiB
/wp-admin/media-new.php0.282 s0.217 s-0.065 s3.49 MiB3.7 MiB+ 216.93 KiB
/wp-admin/edit-tags.php?taxonomy=category0.185 s0.222 s+0.037 s3.5 MiB3.72 MiB+ 222.84 KiB
/wp-admin/post-new.php?post_type=page0.769 s0.821 s+0.052 s6.05 MiB6.27 MiB+ 223.05 KiB
/wp-admin/options-discussion.php0.295 s0.343 s+0.048 s3.5 MiB3.7 MiB+ 205.23 KiB
/wp-admin/edit-comments.php0.223 s0.225 s+0.002 s3.52 MiB3.72 MiB+ 204.73 KiB
/0.317 s0.210 s-0.107 s3.43 MiB3.57 MiB+ 143.4 KiB
Average 0.405 s0.432 s+0.027 s3.97 MiB4.18 MiB+ 217.65 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
JavaScript
Language % Lines of code Comment lines Files
PHP87.9%22,06513,864232
JavaScript11.7%2,93254752
Markdown0.3%8508
CSS0.0%12010
SVG0.0%801
XML0.0%721
Total 25,109 14,413 304

PHP Code Analysis | More results »

Lines of code 22,106
Total complexity 4,080
Median class complexity 8.0
Median method complexity 2.0
Most complex class WPGraphQL\Model\Post
Most complex function WPGraphQL\Model\Post::init()
Classes 219
Methods 928
Functions 56

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 2

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide WPGraphQL Admin Menus