Button Block 1.1.4

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: 167.84 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.029 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=9fe0fb4338
Aspect after-activation
HTTP status 200
Load time 1.128 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.335 s
Memory usage 3.65 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.911 s
Memory usage 6.02 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.288 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.992 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.257 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.354 s0.582 s+0.228 s3.47 MiB3.6 MiB+ 132.35 KiB
/wp-admin/edit.php0.219 s0.326 s+0.107 s3.54 MiB3.67 MiB+ 131.8 KiB
/wp-admin/post-new.php0.831 s0.731 s-0.100 s5.75 MiB6.04 MiB+ 291.44 KiB
/wp-admin/upload.php0.753 s0.516 s-0.237 s3.49 MiB3.61 MiB+ 119.05 KiB
/wp-admin/options-writing.php0.236 s0.346 s+0.110 s3.41 MiB3.58 MiB+ 176.36 KiB
/wp-admin/media-new.php0.254 s0.288 s+0.034 s3.4 MiB3.58 MiB+ 189.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.258 s+0.053 s3.47 MiB3.6 MiB+ 136.72 KiB
/wp-admin/post-new.php?post_type=page0.619 s0.879 s+0.260 s5.75 MiB6.03 MiB+ 287.49 KiB
/wp-admin/options-discussion.php0.327 s0.321 s-0.006 s3.41 MiB3.58 MiB+ 178.67 KiB
/wp-admin/edit-comments.php0.305 s0.261 s-0.044 s3.49 MiB3.61 MiB+ 119.05 KiB
/0.315 s0.225 s-0.090 s3.4 MiB3.48 MiB+ 83.62 KiB
Average 0.402 s0.430 s+0.029 s3.87 MiB4.03 MiB+ 167.84 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
PHP56.9%1,1743313
CSS31.9%658134
JSON10.2%21102
PO File0.6%1301
JavaScript0.3%713
Total 2,063 47 23

PHP Code Analysis | More results »

Lines of code 1,148
Total complexity 231
Median class complexity 10.5
Median method complexity 2.0
Most complex class FSActivate
Most complex function Freemius_Lite::permission_update()
Classes 10
Methods 84
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

[30-Sep-2024 06:34:50 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
[30-Sep-2024 06:34:55 UTC] PHP Warning:  Undefined array key "_wpnonce" in /wp-content/plugins/button-block/index.php on line 119
[30-Sep-2024 06:34:55 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