Custom Query Blocks 5.4.0

Does Custom Query Blocks work with WordPress 6.9.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 197.42 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.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 800+
WordPress.org page https://wordpress.org/plugins/post-type-archive-mapping/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=post-type-archive-mapping%2Fpost-type-archive-mapping.php&plugin_status=all&paged=1&s&_wpnonce=554ec42453
Aspect after-activation
HTTP status 200
Load time 0.365 s
Memory usage 3.93 MiB
JS errors None
Resource errors None

Settings → Custom Query Blocks

Page screenshot: Settings → Custom Query Blocks
URL /wp-admin/options-general.php?page=custom-query-blocks
Aspect menu-item
HTTP status 200
Load time 0.296 s
Memory usage 3.91 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/post-type-archive-mapping/includes/admin/js/app-dismiss.js?ver=1.0.0:36:17)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Settings → Custom Query Blocks → Support

Page screenshot: Settings → Custom Query Blocks → Support
URL /wp-admin/options-general.php?page=custom-query-blocks&tab=support
Aspect menu-item-tab
HTTP status 200
Load time 0.268 s
Memory usage 3.88 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.216 s
Memory usage 4.28 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.451 s0.375 s-0.076 s3.78 MiB3.96 MiB+ 185.86 KiB
/wp-admin/edit.php0.372 s0.404 s+0.032 s3.78 MiB3.97 MiB+ 190.55 KiB
/wp-admin/post-new.php0.874 s0.979 s+0.105 s6.31 MiB6.58 MiB+ 278 KiB
/wp-admin/upload.php0.455 s0.402 s-0.053 s3.74 MiB3.91 MiB+ 171.68 KiB
/wp-admin/options-writing.php0.332 s0.310 s-0.022 s3.71 MiB3.88 MiB+ 175.67 KiB
/wp-admin/media-new.php0.497 s0.289 s-0.208 s3.7 MiB3.88 MiB+ 183.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.323 s0.455 s+0.132 s3.72 MiB3.91 MiB+ 194.54 KiB
/wp-admin/post-new.php?post_type=page0.705 s0.757 s+0.052 s6.3 MiB6.57 MiB+ 275.43 KiB
/wp-admin/options-discussion.php0.337 s0.336 s-0.001 s3.71 MiB3.88 MiB+ 172.17 KiB
/wp-admin/edit-comments.php0.324 s0.335 s+0.011 s3.74 MiB3.9 MiB+ 171.67 KiB
/0.282 s0.221 s-0.061 s4.11 MiB4.28 MiB+ 172.2 KiB
Average 0.450 s0.442 s-0.008 s4.24 MiB4.43 MiB+ 197.42 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
JSON
Language % Lines of code Comment lines Files
PHP79.9%3,1031,18218
JSON18.8%73003
JavaScript0.8%32112
SVG0.5%1901
Total 3,884 1,193 24

PHP Code Analysis | More results »

Lines of code 3,097
Total complexity 621
Median class complexity 29.0
Median method complexity 2.0
Most complex class PTAM\Includes\Blocks\Custom_Post_Types\Custom_Post_Types
Most complex function PTAM\Includes\Blocks\Custom_Post_Types\Custom_Post_Types::custom_posts()
Classes 15
Methods 104
Functions 0

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

The log file is empty.

See also: All tests for this plugin, How to Hide the "Custom Query Blocks" Admin Menu