Shortcode in Menus 3.5.1

Does Shortcode in Menus work with WordPress 6.9.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 14.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.9.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 50,000+
WordPress.org page https://wordpress.org/plugins/shortcode-in-menus/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 2

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=shortcode-in-menus%2Fshortcode-in-menus.php&plugin_status=all&paged=1&s&_wpnonce=92ab17c346
Aspect after-activation
HTTP status 200
Load time 0.368 s
Memory usage 3.75 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.201 s
Memory usage 4.12 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.536 s0.407 s-0.129 s3.78 MiB3.8 MiB+ 20.74 KiB
/wp-admin/edit.php0.414 s0.311 s-0.103 s3.78 MiB3.8 MiB+ 21.08 KiB
/wp-admin/post-new.php0.879 s0.890 s+0.011 s6.31 MiB6.33 MiB+ 25.48 KiB
/wp-admin/upload.php0.508 s0.474 s-0.034 s3.74 MiB3.74 MiB+ 3.67 KiB
/wp-admin/options-writing.php0.380 s0.332 s-0.048 s3.71 MiB3.72 MiB+ 7.66 KiB
/wp-admin/media-new.php0.605 s0.369 s-0.236 s3.7 MiB3.72 MiB+ 15.86 KiB
/wp-admin/edit-tags.php?taxonomy=category0.431 s0.327 s-0.104 s3.72 MiB3.74 MiB+ 26.53 KiB
/wp-admin/post-new.php?post_type=page0.751 s0.677 s-0.074 s6.3 MiB6.32 MiB+ 20.7 KiB
/wp-admin/options-discussion.php0.451 s0.430 s-0.021 s3.71 MiB3.72 MiB+ 4.16 KiB
/wp-admin/edit-comments.php0.368 s0.379 s+0.011 s3.73 MiB3.74 MiB+ 3.66 KiB
/0.319 s0.219 s-0.100 s4.11 MiB4.12 MiB+ 10.55 KiB
Average 0.513 s0.438 s-0.075 s4.23 MiB4.25 MiB+ 14.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.

PHP
JavaScript
Language % Lines of code Comment lines Files
PHP86.9%2392734
JavaScript13.1%36211
Total 275 294 5

PHP Code Analysis | More results »

Lines of code 221
Total complexity 52
Median class complexity 26.0
Median method complexity 2.0
Most complex class Shortcode_In_Menus_Admin
Most complex function Shortcode_In_Menus_Admin::ajax_add_menu_item()
Classes 2
Methods 17
Functions 0

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.

Meta Boxes

{
    "nav-menus": {
        "add-shortcode-section": {
            "title": "Shortcode",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "Shortcode" Meta Box