Button Block 1.1.3

Does Button Block work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP warnings
1PHP deprecation warnings
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.073 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.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 6

‹ Test site — WordPress

Page screenshot: ‹ Test site — WordPress
URL /wp-admin/admin.php?page=button-block
Requested URL /wp-admin/plugins.php?action=activate&plugin=button-block%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=6d7a5ac1d1
Aspect after-activation
HTTP status 200
Load time 0.665 s
Memory usage 3.58 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.301 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Button Block → Add New

Page screenshot: Button Block → Add New
URL /wp-admin/post-new.php?post_type=button-block
Aspect menu-item
HTTP status 200
Load time 0.814 s
Memory usage 6.01 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.239 s
Memory usage 3.58 MiB
JS errors None
Resource errors None

Button Block → Upgrade

Page screenshot: Button Block → Upgrade
URL /wp-admin/edit.php?post_type=button-block&page=btn-upgrade
Aspect menu-item
HTTP status 200
Load time 0.807 s
Memory usage 3.58 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'substring')\n    at https://wp.freemius.com/pricing/?plugin_id=13491&plugin_public_key=pk_8fb5be7805414bb29e5b06c24566a:608:40\n    at https://wp.freemius.com/pricing/?plugin_id=13491&plugin_public_key=pk_8fb5be7805414bb29e5b06c24566a:679:15",
        "trace": null,
        "code": null
    }
]
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.181 s
Memory usage 3.48 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.300 s0.319 s+0.019 s3.47 MiB3.6 MiB+ 127.12 KiB
/wp-admin/edit.php0.182 s0.380 s+0.198 s3.54 MiB3.66 MiB+ 126.57 KiB
/wp-admin/post-new.php0.671 s0.708 s+0.037 s5.75 MiB6.03 MiB+ 286.57 KiB
/wp-admin/upload.php0.485 s0.576 s+0.091 s3.49 MiB3.6 MiB+ 113.81 KiB
/wp-admin/options-writing.php0.190 s0.295 s+0.105 s3.41 MiB3.58 MiB+ 171.13 KiB
/wp-admin/media-new.php0.220 s0.283 s+0.063 s3.4 MiB3.58 MiB+ 184.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.181 s0.218 s+0.037 s3.47 MiB3.6 MiB+ 131.48 KiB
/wp-admin/post-new.php?post_type=page0.567 s0.808 s+0.241 s5.75 MiB6.02 MiB+ 282.63 KiB
/wp-admin/options-discussion.php0.196 s0.268 s+0.072 s3.41 MiB3.58 MiB+ 173.44 KiB
/wp-admin/edit-comments.php0.203 s0.233 s+0.030 s3.49 MiB3.6 MiB+ 113.81 KiB
/0.278 s0.193 s-0.085 s3.45 MiB3.48 MiB+ 29.73 KiB
Average 0.316 s0.389 s+0.073 s3.88 MiB4.03 MiB+ 158.25 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
CSS
JSON
Language % Lines of code Comment lines Files
PHP55.5%1,1073113
CSS33.0%658134
JSON10.6%21102
PO File0.7%1301
JavaScript0.4%713
Total 1,996 45 23

PHP Code Analysis | More results »

Lines of code 1,074
Total complexity 228
Median class complexity 10.5
Median method complexity 2.0
Most complex class FSActivate
Most complex function Freemius_Lite::permission_update()
Classes 10
Methods 82
Functions 3

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

[12-Sep-2024 07:12:16 UTC] PHP Deprecated:  strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-admin/admin-header.php on line 36
[12-Sep-2024 07:12:20 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/button-block/index.php on line 119
[12-Sep-2024 07:12:20 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/button-block/index.php on line 119
See also: All tests for this plugin, How to Hide Button Block Admin Menus