DragBlock 23.10.07

Does DragBlock work with WordPress 6.3.1 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: 258.55 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.1
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=d6e17044bf
Aspect after-activation
HTTP status 200
Load time 0.271 s
Memory usage 2.89 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.130 s
Memory usage 2.85 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.188 s
Memory usage 2.92 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.169 s
Memory usage 3.34 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.360 s0.267 s-0.093 s2.82 MiB2.95 MiB+ 133.37 KiB
/wp-admin/edit.php0.200 s0.191 s-0.009 s2.85 MiB2.98 MiB+ 133.37 KiB
/wp-admin/post-new.php0.661 s0.977 s+0.316 s5.21 MiB6.02 MiB+ 825.19 KiB
/wp-admin/upload.php0.728 s0.465 s-0.263 s2.77 MiB2.88 MiB+ 116.71 KiB
/wp-admin/options-writing.php0.318 s0.195 s-0.123 s2.76 MiB2.87 MiB+ 107.95 KiB
/wp-admin/media-new.php0.268 s0.203 s-0.065 s2.74 MiB2.86 MiB+ 128.17 KiB
/wp-admin/edit-tags.php?taxonomy=category0.165 s0.171 s+0.006 s2.76 MiB2.89 MiB+ 133.34 KiB
/wp-admin/post-new.php?post_type=page0.537 s0.704 s+0.167 s5.21 MiB6 MiB+ 816.77 KiB
/wp-admin/options-discussion.php0.187 s0.211 s+0.024 s2.75 MiB2.86 MiB+ 116.48 KiB
/wp-admin/edit-comments.php0.208 s0.193 s-0.015 s2.78 MiB2.89 MiB+ 115.99 KiB
/0.272 s0.196 s-0.076 s3.13 MiB3.34 MiB+ 216.7 KiB
Average 0.355 s0.343 s-0.012 s3.25 MiB3.5 MiB+ 258.55 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
JSON93.0%37,125018
PHP6.7%2,69095270
JavaScript0.2%68365
Markdown0.1%3101
CSS0.1%22018
Total 39,936 955 172

PHP Code Analysis | More results »

Lines of code 2,560
Total complexity 511
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 78

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

[07-Oct-2023 15:47:50 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 133
[07-Oct-2023 15:47:50 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 134
[07-Oct-2023 15:47:50 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
[07-Oct-2023 15:47:50 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 139
[07-Oct-2023 15:47:50 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 140
[07-Oct-2023 15:47:50 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
[07-Oct-2023 15:47:57 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 133
[07-Oct-2023 15:47:57 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 134
[07-Oct-2023 15:47:57 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
[07-Oct-2023 15:47:57 UTC] PHP Warning:  Undefined array key "slug" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 139
[07-Oct-2023 15:47:57 UTC] PHP Warning:  Undefined array key "color" in /wp-content/plugins/dragblock/build/applications/editor-panel-appearance/server/appearance-enqueue.php on line 140
[07-Oct-2023 15:47:57 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