Useful Blocks 1.8.2

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

Summary

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

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

Page speed impact: 0.034 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 20,000+
WordPress.org page https://wordpress.org/plugins/useful-blocks/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 6

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=useful-blocks%2Fuseful-blocks.php&plugin_status=all&paged=1&s&_wpnonce=1620f1696f
Aspect after-activation
HTTP status 200
Load time 0.313 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Useful Blocks

Page screenshot: Useful Blocks
URL /wp-admin/admin.php?page=useful_blocks
Aspect menu-item
HTTP status 200
Load time 1.165 s
Memory usage 3.63 MiB
JS errors None
Resource errors None

Useful Blocks → Color set (DEMO)

Page screenshot: Useful Blocks → Color set (DEMO)
URL /wp-admin/admin.php?page=useful_blocks
Aspect menu-item-tab
HTTP status 200
Load time 0.438 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Useful Blocks → Icon image (DEMO)

Page screenshot: Useful Blocks → Icon image (DEMO)
URL /wp-admin/admin.php?page=useful_blocks
Aspect menu-item-tab
HTTP status 200
Load time 0.755 s
Memory usage 3.62 MiB
JS errors None
Resource errors None

Useful Blocks → Reset (DEMO)

Page screenshot: Useful Blocks → Reset (DEMO)
URL /wp-admin/admin.php?page=useful_blocks
Aspect menu-item-tab
HTTP status 200
Load time 0.693 s
Memory usage 3.62 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.367 s
Memory usage 3.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.348 s0.400 s+0.052 s3.51 MiB3.62 MiB+ 114.67 KiB
/wp-admin/edit.php0.242 s0.258 s+0.016 s3.57 MiB3.69 MiB+ 117.5 KiB
/wp-admin/post-new.php0.906 s1.301 s+0.395 s6.06 MiB6.16 MiB+ 104.05 KiB
/wp-admin/upload.php0.854 s0.314 s-0.540 s3.52 MiB3.62 MiB+ 100.41 KiB
/wp-admin/options-writing.php0.256 s0.237 s-0.019 s3.5 MiB3.6 MiB+ 104.4 KiB
/wp-admin/media-new.php0.311 s0.302 s-0.009 s3.49 MiB3.6 MiB+ 112.59 KiB
/wp-admin/edit-tags.php?taxonomy=category0.217 s0.467 s+0.250 s3.5 MiB3.62 MiB+ 123.27 KiB
/wp-admin/post-new.php?post_type=page0.780 s1.399 s+0.619 s6.05 MiB6.15 MiB+ 99.9 KiB
/wp-admin/options-discussion.php0.519 s0.312 s-0.207 s3.5 MiB3.6 MiB+ 100.9 KiB
/wp-admin/edit-comments.php0.285 s0.223 s-0.062 s3.52 MiB3.62 MiB+ 100.4 KiB
/0.352 s0.230 s-0.122 s3.5 MiB3.52 MiB+ 23.47 KiB
Average 0.461 s0.495 s+0.034 s3.98 MiB4.07 MiB+ 100.14 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.

JavaScript
Sass
PHP
Language % Lines of code Comment lines Files
JavaScript66.2%8,62464247
Sass19.1%2,48920729
PHP8.5%1,10222713
JSON3.3%424013
PO File2.8%3682041
SVG0.2%2101
Total 13,028 1,280 104

PHP Code Analysis | More results »

Lines of code 1,002
Total complexity 89
Median class complexity 6.0
Median method complexity 2.0
Most complex class Ponhiro_Blocks\Style
Most complex function Ponhiro_Blocks\Menu\Tab_Colors::callback_for_bar_graph()
Classes 6
Methods 27
Functions 9

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 16 lines

[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 174
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "HTTP_HOST" in /wp-config.php on line 175
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[05-Jun-2025 19:00:44 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 718
[05-Jun-2025 19:00:44 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 718
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 728
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 731
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 752
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 717
[05-Jun-2025 19:00:44 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 717
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 718
[05-Jun-2025 19:00:44 UTC] PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-includes/canonical.php on line 718
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 728
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "host" in /wp-includes/canonical.php on line 731
[05-Jun-2025 19:00:44 UTC] PHP Warning:  Undefined array key "scheme" in /wp-includes/canonical.php on line 752
See also: All tests for this plugin, How to Hide the "Useful Blocks" Admin Menu