Sticky Content Block 2.0.1

Does Sticky Content Block work with WordPress 7.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
2JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 115.28 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 version7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 400+
WordPress.org page https://wordpress.org/plugins/sticky-menu-block/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Sticky Content Block ‹ Test site — WordPress

Page screenshot: Sticky Content Block ‹ Test site — WordPress
URL /wp-admin/admin.php?page=sticky-menu-block-opt-in
Requested URL /wp-admin/plugins.php?action=activate&plugin=sticky-menu-block%2Findex.php&plugin_status=all&paged=1&s&_wpnonce=e2beef04f6
Aspect after-activation
HTTP status 200
Load time 0.960 s
Memory usage 4.32 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'dataset')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/sticky-menu-block/build/admin-dashboard.js?ver=2.0.1:1:112158)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Sticky Content

Page screenshot: Sticky Content
URL /wp-admin/edit.php?post_type=smb
Aspect menu-item
HTTP status 200
Load time 0.585 s
Memory usage 4.38 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'dataset')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/sticky-menu-block/build/admin-dashboard.js?ver=2.0.1:1:112158)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Sticky Content → Help And Demo

Page screenshot: Sticky Content → Help And Demo
URL /wp-admin/admin.php?page=sticky-content-dashboard
Aspect menu-item
HTTP status 200
Load time 0.702 s
Memory usage 4.32 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.284 s
Memory usage 4.68 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.419 s0.800 s-0.619 s4.23 MiB4.34 MiB+ 116.64 KiB
/wp-admin/edit.php0.571 s0.617 s+0.046 s4.28 MiB4.4 MiB+ 122.63 KiB
/wp-admin/post-new.php2.630 s2.558 s-0.072 s6.78 MiB6.92 MiB+ 146.52 KiB
/wp-admin/upload.php1.514 s1.034 s-0.480 s4.25 MiB4.35 MiB+ 102.98 KiB
/wp-admin/options-writing.php0.580 s0.702 s+0.122 s4.22 MiB4.33 MiB+ 108.72 KiB
/wp-admin/media-new.php0.774 s1.046 s+0.272 s4.21 MiB4.33 MiB+ 116.92 KiB
/wp-admin/edit-tags.php?taxonomy=category0.613 s0.742 s+0.129 s4.22 MiB4.34 MiB+ 121.78 KiB
/wp-admin/post-new.php?post_type=page2.030 s2.024 s-0.006 s6.76 MiB6.91 MiB+ 152.82 KiB
/wp-admin/options-discussion.php0.835 s1.003 s+0.168 s4.23 MiB4.32 MiB+ 95.73 KiB
/wp-admin/edit-comments.php0.564 s0.614 s+0.050 s4.24 MiB4.35 MiB+ 104.73 KiB
/0.335 s0.208 s-0.127 s4.6 MiB4.68 MiB+ 78.66 KiB
Average 1.079 s1.032 s-0.047 s4.73 MiB4.84 MiB+ 115.28 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
CSS
PO File
Language % Lines of code Comment lines Files
PHP69.9%4022111
JSON11.8%6802
CSS9.4%5404
PO File8.2%47231
JavaScript0.7%414
Total 575 45 22

PHP Code Analysis | More results »

Lines of code 276
Total complexity 47
Median class complexity 9.0
Median method complexity 1.0
Most complex class SMB_Shortcode
Most complex function SMB_Shortcode::onAddShortcode()
Classes 5
Methods 23
Functions 1

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
smbShortCodes

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Sticky Content Block Admin Menus