Shortcode in Menus 3.5.1

Does Shortcode in Menus work with WordPress 6.8.2 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.3 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.8.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 60,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=d8e0cb5d5d
Aspect after-activation
HTTP status 200
Load time 0.362 s
Memory usage 3.54 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.180 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.309 s0.251 s-0.058 s3.51 MiB3.53 MiB+ 20.43 KiB
/wp-admin/edit.php0.206 s0.183 s-0.023 s3.57 MiB3.59 MiB+ 20.77 KiB
/wp-admin/post-new.php0.762 s0.668 s-0.094 s6.06 MiB6.09 MiB+ 25.16 KiB
/wp-admin/upload.php0.584 s0.559 s-0.025 s3.52 MiB3.53 MiB+ 3.36 KiB
/wp-admin/options-writing.php0.229 s0.210 s-0.019 s3.5 MiB3.51 MiB+ 7.35 KiB
/wp-admin/media-new.php0.334 s0.201 s-0.133 s3.49 MiB3.51 MiB+ 15.55 KiB
/wp-admin/edit-tags.php?taxonomy=category0.215 s0.208 s-0.007 s3.5 MiB3.53 MiB+ 26.22 KiB
/wp-admin/post-new.php?post_type=page0.606 s0.614 s+0.008 s6.05 MiB6.07 MiB+ 20.69 KiB
/wp-admin/options-discussion.php0.456 s0.411 s-0.045 s3.5 MiB3.51 MiB+ 3.85 KiB
/wp-admin/edit-comments.php0.261 s0.201 s-0.060 s3.52 MiB3.53 MiB+ 3.35 KiB
/0.338 s0.404 s+0.066 s3.43 MiB3.44 MiB+ 10.55 KiB
Average 0.391 s0.355 s-0.035 s3.97 MiB3.98 MiB+ 14.3 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