Widget Options 4.2.1

Does Widget Options work with WordPress 6.9.4 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 352.03 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.9.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 100,000+
WordPress.org page https://wordpress.org/plugins/widget-options/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Widget Options ‹ Test site — WordPress

Page screenshot: Widget Options ‹ Test site — WordPress
URL /wp-admin/options-general.php?page=widgetopts_plugin_settings
Requested URL /wp-admin/plugins.php?action=activate&plugin=widget-options%2Fplugin.php&plugin_status=all&paged=1&s&_wpnonce=465f4761ce
Aspect after-activation
HTTP status 200
Load time 0.498 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Settings → Widget Options

Page screenshot: Settings → Widget Options
URL /wp-admin/options-general.php?page=widgetopts_plugin_settings
Aspect menu-item
HTTP status 200
Load time 0.311 s
Memory usage 4.08 MiB
JS errors None
Resource errors None

Settings → Widget Options Snippets

Page screenshot: Settings → Widget Options Snippets
URL /wp-admin/edit.php?post_type=widgetopts_snippet
Aspect menu-item
HTTP status 200
Load time 0.330 s
Memory usage 4.1 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.265 s
Memory usage 4.35 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.393 s0.443 s+0.050 s3.78 MiB4.11 MiB+ 337.66 KiB
/wp-admin/edit.php0.391 s0.414 s+0.023 s3.79 MiB4.12 MiB+ 337.12 KiB
/wp-admin/post-new.php0.887 s0.937 s+0.050 s6.31 MiB6.79 MiB+ 496.48 KiB
/wp-admin/upload.php0.463 s0.500 s+0.037 s3.74 MiB4.05 MiB+ 319.7 KiB
/wp-admin/options-writing.php0.346 s0.293 s-0.053 s3.72 MiB4.03 MiB+ 324.02 KiB
/wp-admin/media-new.php0.533 s0.342 s-0.191 s3.71 MiB4.03 MiB+ 332.21 KiB
/wp-admin/edit-tags.php?taxonomy=category0.331 s0.477 s+0.146 s3.72 MiB4.05 MiB+ 342.57 KiB
/wp-admin/post-new.php?post_type=page0.715 s0.697 s-0.018 s6.3 MiB6.79 MiB+ 497.85 KiB
/wp-admin/options-discussion.php0.337 s0.383 s+0.046 s3.72 MiB4.04 MiB+ 330.19 KiB
/wp-admin/edit-comments.php0.338 s0.323 s-0.015 s3.74 MiB4.05 MiB+ 320.02 KiB
/0.342 s0.200 s-0.142 s4.12 MiB4.35 MiB+ 234.48 KiB
Average 0.461 s0.455 s-0.006 s4.24 MiB4.58 MiB+ 352.03 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
JavaScript
Language % Lines of code Comment lines Files
PHP74.2%11,2062,51373
CSS16.2%2,444945
JavaScript8.8%1,32415710
Sass0.7%10612
Markdown0.1%1701
Total 15,097 2,765 91

PHP Code Analysis | More results »

Lines of code 11,348
Total complexity 2,811
Median class complexity 59.0
Median method complexity 4.0
Most complex class WP_Widget_Options_Beaver
Most complex function blockopts_filter_before_display()
Classes 9
Methods 117
Functions 143

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 19

Custom Post Types 1

ID Name
widgetopts_snippetLogic Snippets

Meta Boxes

{
    "widgetopts_snippet": {
        "widgetopts_snippet_code": {
            "title": "Snippet Code",
            "context": "normal"
        },
        "widgetopts_snippet_description": {
            "title": "Description",
            "context": "normal"
        },
        "widgetopts_snippet_help": {
            "title": "Help & Examples",
            "context": "side"
        }
    }
}

PHP Error Log 36 lines

[19-Mar-2026 10:15:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:15:57 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:15:57 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:15:57 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:15:58 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:15:58 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:15:59 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:15:59 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:00 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:00 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:02 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:02 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:03 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:03 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:03 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:03 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:06 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:06 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:06 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:06 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:07 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:07 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:08 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:08 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:10 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:10 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:11 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
[19-Mar-2026 10:16:12 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7374
[19-Mar-2026 10:16:12 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2196
See also: All tests for this plugin, How to Hide Widget Options Admin Menus and Meta Boxes