DragBlock 23.10.22

Does DragBlock work with WordPress 6.3.2 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 232.8 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.3.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60+
WordPress.org page https://wordpress.org/plugins/dragblock/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=dragblock%2Fdragblock.php&plugin_status=all&paged=1&s&_wpnonce=c0929e8844
Aspect after-activation
HTTP status 200
Load time 0.297 s
Memory usage 2.87 MiB
JS errors None
Resource errors None

DragBlock

Page screenshot: DragBlock
URL /wp-admin/admin.php?page=dragblockAdminMenu
Aspect menu-item
HTTP status 200
Load time 0.145 s
Memory usage 2.83 MiB
JS errors None
Resource errors None

DragBlock → Form Entries

Page screenshot: DragBlock → Form Entries
URL /wp-admin/edit.php?post_type=dragblockformmsg
Aspect menu-item
HTTP status 200
Load time 0.175 s
Memory usage 2.9 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.183 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.378 s0.304 s-0.074 s2.83 MiB2.93 MiB+ 107.82 KiB
/wp-admin/edit.php0.202 s0.201 s-0.001 s2.85 MiB2.96 MiB+ 107.82 KiB
/wp-admin/post-new.php0.742 s1.034 s+0.292 s5.22 MiB6 MiB+ 799.83 KiB
/wp-admin/upload.php0.572 s0.449 s-0.123 s2.77 MiB2.86 MiB+ 91.16 KiB
/wp-admin/options-writing.php0.227 s0.182 s-0.045 s2.76 MiB2.84 MiB+ 82.4 KiB
/wp-admin/media-new.php0.396 s0.197 s-0.199 s2.74 MiB2.84 MiB+ 102.63 KiB
/wp-admin/edit-tags.php?taxonomy=category0.183 s0.186 s+0.003 s2.76 MiB2.86 MiB+ 107.8 KiB
/wp-admin/post-new.php?post_type=page0.589 s0.850 s+0.261 s5.21 MiB5.98 MiB+ 791.41 KiB
/wp-admin/options-discussion.php0.205 s0.241 s+0.036 s2.75 MiB2.84 MiB+ 90.93 KiB
/wp-admin/edit-comments.php0.442 s0.211 s-0.231 s2.78 MiB2.87 MiB+ 90.45 KiB
/0.279 s0.177 s-0.102 s3.13 MiB3.32 MiB+ 188.56 KiB
Average 0.383 s0.367 s-0.017 s3.25 MiB3.48 MiB+ 232.8 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.

JSON
Language % Lines of code Comment lines Files
JSON92.2%37,125018
PHP7.5%3,0241,00472
JavaScript0.2%68365
Markdown0.1%3101
CSS0.1%22018
Total 40,270 1,007 174

PHP Code Analysis | More results »

Lines of code 2,892
Total complexity 565
Median class complexity 2.0
Median method complexity 2.0
Most complex class DragBlock_Manage_Fonts_Admin
Most complex function dragblock_attributes_parsing()
Classes 6
Methods 28
Functions 82

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.

Custom Post Types 1

ID Name
dragblockformmsgDragBlock Form Entries

PHP Error Log 12 lines

[22-Oct-2023 16:11:53 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 133
[22-Oct-2023 16:11:53 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 134
[22-Oct-2023 16:11:53 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 135
[22-Oct-2023 16:11:53 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 139
[22-Oct-2023 16:11:53 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 140
[22-Oct-2023 16:11:53 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 140
[22-Oct-2023 16:12:02 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 133
[22-Oct-2023 16:12:02 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 134
[22-Oct-2023 16:12:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 135
[22-Oct-2023 16:12:02 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 139
[22-Oct-2023 16:12:02 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 140
[22-Oct-2023 16:12:02 UTC] PHP Deprecated:  substr(): Passing null to parameter #1 ($string) of type string is deprecated in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 140
See also: All tests for this plugin, How to Hide DragBlock Admin Menus