Button Block 1.2.1

Does Button Block work with WordPress 6.8.2 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: 128.32 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/button-block/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Button Block ‹ Test site — WordPress

Page screenshot: Button Block ‹ Test site — WordPress
URL /wp-admin/admin.php?page=button-block-opt-in
Requested URL /wp-admin/plugins.php?action=activate&plugin=button-block%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=eca83b6054
Aspect after-activation
HTTP status 200
Load time 0.518 s
Memory usage 3.6 MiB
JS errors None
Resource errors None

Button Block

Page screenshot: Button Block
URL /wp-admin/edit.php?post_type=button-block
Aspect menu-item
HTTP status 200
Load time 0.268 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Button Block → Add New Button

Page screenshot: Button Block → Add New Button
URL /wp-admin/post-new.php?post_type=button-block
Aspect menu-item
HTTP status 200
Load time 1.016 s
Memory usage 6.26 MiB
JS errors None
Resource errors None

Button Block → Help

Page screenshot: Button Block → Help
URL /wp-admin/edit.php?post_type=button-block&page=button-block-help
Aspect menu-item
HTTP status 200
Load time 0.232 s
Memory usage 3.6 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.246 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.386 s0.373 s-0.013 s3.51 MiB3.62 MiB+ 118.89 KiB
/wp-admin/edit.php0.237 s0.256 s+0.019 s3.57 MiB3.69 MiB+ 117.92 KiB
/wp-admin/post-new.php0.853 s1.046 s+0.193 s6.06 MiB6.28 MiB+ 225.6 KiB
/wp-admin/upload.php0.559 s0.463 s-0.096 s3.52 MiB3.63 MiB+ 104.63 KiB
/wp-admin/options-writing.php0.267 s0.207 s-0.060 s3.5 MiB3.6 MiB+ 103.12 KiB
/wp-admin/media-new.php0.294 s0.257 s-0.037 s3.49 MiB3.6 MiB+ 111.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.202 s0.235 s+0.033 s3.5 MiB3.62 MiB+ 121.98 KiB
/wp-admin/post-new.php?post_type=page0.686 s0.745 s+0.059 s6.05 MiB6.27 MiB+ 221.44 KiB
/wp-admin/options-discussion.php0.318 s0.324 s+0.006 s3.5 MiB3.6 MiB+ 100.24 KiB
/wp-admin/edit-comments.php0.233 s0.238 s+0.005 s3.52 MiB3.63 MiB+ 104.62 KiB
/0.355 s0.261 s-0.094 s3.43 MiB3.51 MiB+ 81.74 KiB
Average 0.399 s0.400 s+0.001 s3.97 MiB4.1 MiB+ 128.32 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
PO File
Language % Lines of code Comment lines Files
PHP50.5%332259
JSON33.0%21702
PO File10.3%68341
CSS5.5%3606
JavaScript0.8%525
Total 658 61 23

PHP Code Analysis | More results »

Lines of code 304
Total complexity 54
Median class complexity 10.0
Median method complexity 1.0
Most complex class BTN\Includes\BTNCustomPost
Most complex function BTN\Includes\BTNCustomPost::onAddShortcode()
Classes 3
Methods 21
Functions 2

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 3

Custom Post Types 1

ID Name
button-blockButton Block

PHP Error Log

The log file is empty.

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