Block Patterns UI 0.4.2

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

Summary

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

Memory usage: 64.65 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.8.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/block-patterns-ui/
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=block-patterns-ui%2Fblock-patterns-ui.php&plugin_status=all&paged=1&s&_wpnonce=d602a4f314
Aspect after-activation
HTTP status 200
Load time 0.257 s
Memory usage 3.57 MiB
JS errors None
Resource errors None

Block Patterns

Page screenshot: Block Patterns
URL /wp-admin/edit.php?post_type=bpui_block_pattern
Aspect menu-item
HTTP status 200
Load time 0.158 s
Memory usage 3.59 MiB
JS errors None
Resource errors None

Block Patterns → Add New Pattern

Page screenshot: Block Patterns → Add New Pattern
URL /wp-admin/post-new.php?post_type=bpui_block_pattern
Aspect menu-item
HTTP status 200
Load time 0.677 s
Memory usage 6.22 MiB
JS errors None
Resource errors None

Block Patterns → Settings

Page screenshot: Block Patterns → Settings
URL /wp-admin/edit.php?post_type=bpui_block_pattern&page=block_patterns_ui
Aspect menu-item
HTTP status 200
Load time 0.203 s
Memory usage 3.54 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.171 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.331 s0.542 s+0.211 s3.51 MiB3.55 MiB+ 46.98 KiB
/wp-admin/edit.php0.185 s0.193 s+0.008 s3.57 MiB3.61 MiB+ 43.8 KiB
/wp-admin/post-new.php0.733 s0.610 s-0.123 s6.06 MiB6.24 MiB+ 180.33 KiB
/wp-admin/upload.php0.585 s0.530 s-0.055 s3.52 MiB3.56 MiB+ 33.34 KiB
/wp-admin/options-writing.php0.206 s0.171 s-0.035 s3.5 MiB3.54 MiB+ 36.7 KiB
/wp-admin/media-new.php0.279 s0.223 s-0.056 s3.49 MiB3.54 MiB+ 44.9 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.170 s-0.018 s3.5 MiB3.55 MiB+ 50.07 KiB
/wp-admin/post-new.php?post_type=page0.596 s0.742 s+0.146 s6.05 MiB6.22 MiB+ 175.85 KiB
/wp-admin/options-discussion.php0.425 s0.306 s-0.119 s3.5 MiB3.54 MiB+ 33.2 KiB
/wp-admin/edit-comments.php0.252 s0.195 s-0.057 s3.52 MiB3.56 MiB+ 32.7 KiB
/0.298 s0.180 s-0.118 s3.43 MiB3.47 MiB+ 33.26 KiB
Average 0.371 s0.351 s-0.020 s3.97 MiB4.03 MiB+ 64.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
Sass
Language % Lines of code Comment lines Files
PHP75.2%3515815
Sass23.8%11105
JavaScript1.1%501
Total 467 58 21

PHP Code Analysis | More results »

Lines of code 178
Total complexity 22
Median class complexity 5.0
Median method complexity 1.0
Most complex class BlockPatternsUI
Most complex function bpui_pattern_settings_render()
Classes 2
Methods 7
Functions 5

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.

Custom Post Types 1

ID Name
bpui_block_patternBlock Patterns

Meta Boxes

{
    "bpui_block_pattern": {
        "bpui_pattern_settings": {
            "title": "Pattern Settings",
            "context": "side"
        }
    }
}

PHP Error Log 23 lines

[09-May-2025 15:37:18 UTC] PHP Warning:  Undefined array key "bpui_pattern_settings_fields" in /wp-content/plugins/block-patterns-ui/lib/add-meta-boxes.php on line 101
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 22
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
[09-May-2025 15:37:21 UTC] PHP Warning:  Trying to access array offset on value of type bool in /wp-content/plugins/block-patterns-ui/templates/settings.php on line 34
See also: All tests for this plugin, How to Hide Block Patterns UI Admin Menus and Meta Boxes