Sticky Content Block 2.0.0

Does Sticky Content Block work with WordPress 7.0 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: 114.93 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version7.0
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=1f935bf51a
Aspect after-activation
HTTP status 200
Load time 0.965 s
Memory usage 3.95 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.0:1:109009)",
        "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.601 s
Memory usage 4.01 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.0:1:109009)",
        "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.576 s
Memory usage 3.95 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.204 s
Memory usage 4.3 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.024 s0.908 s-0.116 s3.92 MiB4.03 MiB+ 110.38 KiB
/wp-admin/edit.php0.555 s0.673 s+0.118 s3.98 MiB4.11 MiB+ 129.91 KiB
/wp-admin/post-new.php2.250 s2.910 s+0.660 s6.56 MiB6.74 MiB+ 188.03 KiB
/wp-admin/upload.php0.761 s1.833 s+1.072 s3.89 MiB3.97 MiB+ 85.3 KiB
/wp-admin/options-writing.php0.561 s0.729 s+0.168 s3.86 MiB3.95 MiB+ 94.79 KiB
/wp-admin/media-new.php1.036 s0.610 s-0.426 s3.85 MiB3.95 MiB+ 102.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.565 s1.015 s+0.450 s3.86 MiB3.97 MiB+ 107.84 KiB
/wp-admin/post-new.php?post_type=page1.659 s1.827 s+0.168 s6.55 MiB6.73 MiB+ 185.08 KiB
/wp-admin/options-discussion.php0.687 s1.010 s+0.323 s3.86 MiB3.95 MiB+ 85.79 KiB
/wp-admin/edit-comments.php0.608 s0.666 s+0.058 s3.88 MiB3.98 MiB+ 100.65 KiB
/0.326 s0.243 s-0.083 s4.23 MiB4.3 MiB+ 73.48 KiB
Average 0.912 s1.129 s+0.217 s4.41 MiB4.52 MiB+ 114.93 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
Language % Lines of code Comment lines Files
PHP81.6%1,3047622
JSON11.6%18602
CSS3.5%5608
PO File2.9%47231
JavaScript0.4%616
Total 1,599 100 39

PHP Code Analysis | More results »

Lines of code 1,150
Total complexity 257
Median class complexity 15.5
Median method complexity 1.5
Most complex class FSActivate
Most complex function FSActivate::fs_init()
Classes 10
Methods 88
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
smbShortCodes

PHP Error Log

The log file is empty.

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