Button Block 1.2.2

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=0c2206fee3
Aspect after-activation
HTTP status 200
Load time 0.544 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.194 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 0.952 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.222 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.259 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.322 s0.322 s+0.000 s3.51 MiB3.62 MiB+ 118.89 KiB
/wp-admin/edit.php0.196 s0.209 s+0.013 s3.57 MiB3.69 MiB+ 117.92 KiB
/wp-admin/post-new.php0.757 s0.836 s+0.079 s6.06 MiB6.28 MiB+ 225.6 KiB
/wp-admin/upload.php0.571 s0.467 s-0.104 s3.52 MiB3.63 MiB+ 104.63 KiB
/wp-admin/options-writing.php0.194 s0.193 s-0.001 s3.5 MiB3.6 MiB+ 103.12 KiB
/wp-admin/media-new.php0.246 s0.210 s-0.036 s3.49 MiB3.6 MiB+ 111.31 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.185 s-0.002 s3.5 MiB3.62 MiB+ 121.98 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.644 s+0.039 s6.05 MiB6.27 MiB+ 221.44 KiB
/wp-admin/options-discussion.php0.278 s0.309 s+0.031 s3.5 MiB3.6 MiB+ 100.24 KiB
/wp-admin/edit-comments.php0.202 s0.196 s-0.006 s3.52 MiB3.63 MiB+ 104.62 KiB
/0.295 s0.198 s-0.097 s3.43 MiB3.51 MiB+ 81.74 KiB
Average 0.350 s0.343 s-0.008 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