Five Star Restaurant Menu and Food Ordering 2.3.6

Does "Five Star Restaurant Menu - WordPress Food Ordering Plugin" work with WordPress 6.0 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
3PHP warnings
13PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 458.65 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version6.0
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 6,000+
WordPress.org page https://wordpress.org/plugins/food-and-drink-menu/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 15

Five-Star Restaurant Menu - Welcome! ‹ Test site — WordPress

Page screenshot: Five-Star Restaurant Menu - Welcome! ‹ Test site — WordPress
URL /wp-admin/index.php?page=fdm-getting-started
Requested URL /wp-admin/plugins.php?action=activate&plugin=food-and-drink-menu%2Ffood-and-drink-menu.php&plugin_status=all&paged=1&s&_wpnonce=54c0f834a3
Aspect after-activation
HTTP status 200
Load time 0.677 s
Memory usage 4.08 MiB
JS errors None
Resource errors None

Menus

Page screenshot: Menus
URL /wp-admin/edit.php?post_type=fdm-menu&page=fdm-dashboard
Aspect menu-item
HTTP status 200
Load time 0.651 s
Memory usage 4.09 MiB
JS errors None
Resource errors None

Menus → Menus

Page screenshot: Menus → Menus
URL /wp-admin/edit.php?post_type=fdm-menu
Aspect menu-item
HTTP status 200
Load time 0.346 s
Memory usage 4.17 MiB
JS errors None
Resource errors None

Menus → Menu Items

Page screenshot: Menus → Menu Items
URL /wp-admin/edit.php?post_type=fdm-menu-item
Aspect menu-item
HTTP status 200
Load time 0.346 s
Memory usage 4.17 MiB
JS errors None
Resource errors None

Menus → Menu Sections

Page screenshot: Menus → Menu Sections
URL /wp-admin/edit-tags.php?taxonomy=fdm-menu-section&post_type=fdm-menu-item
Aspect menu-item
HTTP status 200
Load time 0.348 s
Memory usage 4.11 MiB
JS errors None
Resource errors None

Menus → Export

Page screenshot: Menus → Export
URL /wp-admin/edit.php?post_type=fdm-menu&page=fdm-export
Aspect menu-item
HTTP status 200
Load time 0.346 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Menus → Import

Page screenshot: Menus → Import
URL /wp-admin/edit.php?post_type=fdm-menu&page=fdm-import
Aspect menu-item
HTTP status 200
Load time 0.367 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Menus → Settings

Page screenshot: Menus → Settings
URL /wp-admin/edit.php?post_type=fdm-menu&page=food-and-drink-menu-settings
Aspect menu-item
HTTP status 200
Load time 0.498 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

Menus → Settings → Advanced

Page screenshot: Menus → Settings → Advanced
URL /wp-admin/edit.php?post_type=fdm-menu&page=food-and-drink-menu-settings&tab=fdm-advanced-tab
Aspect menu-item-tab
HTTP status 200
Load time 0.376 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

Menus → Settings → Ordering

Page screenshot: Menus → Settings → Ordering
URL /wp-admin/edit.php?post_type=fdm-menu&page=food-and-drink-menu-settings&tab=fdm-ordering-tab
Aspect menu-item-tab
HTTP status 200
Load time 0.404 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

Menus → Settings → Custom Fields

Page screenshot: Menus → Settings → Custom Fields
URL /wp-admin/edit.php?post_type=fdm-menu&page=food-and-drink-menu-settings&tab=fdm-custom-fields-tab
Aspect menu-item-tab
HTTP status 200
Load time 0.352 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

Menus → Settings → Labelling

Page screenshot: Menus → Settings → Labelling
URL /wp-admin/edit.php?post_type=fdm-menu&page=food-and-drink-menu-settings&tab=fdm-labelling-tab
Aspect menu-item-tab
HTTP status 200
Load time 0.466 s
Memory usage 4.1 MiB
JS errors None
Resource errors None

Menus → Settings → Styling

Page screenshot: Menus → Settings → Styling
URL /wp-admin/edit.php?post_type=fdm-menu&page=food-and-drink-menu-settings&tab=fdm-styling-tab
Aspect menu-item-tab
HTTP status 200
Load time 0.349 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.290 s
Memory usage 3.92 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.029 s
Memory usage 6.02 MiB
JS errors
External errors: The following JavaScript errors were probably triggered by WordPress itself, or by compatibility issues in the test runner. They are not related to the plugin.
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    },
    {
        "message": "TypeError: Cannot read properties of null (reading 'offsetHeight')\n    at t (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10419)\n    at IntersectionObserver.n.threshold (/wp-includes/js/dist/widgets.min.js?ver=80e98954519d1dad7a91a2248dbc2cc9:7:10591)",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.342 s0.589 s+0.247 s3.72 MiB4.15 MiB+ 444.55 KiB
/wp-admin/edit.php0.200 s0.320 s+0.120 s3.75 MiB4.19 MiB+ 448.88 KiB
/wp-admin/post-new.php0.980 s1.227 s+0.247 s5.53 MiB6.05 MiB+ 534.34 KiB
/wp-admin/upload.php0.437 s0.387 s-0.050 s3.68 MiB4.07 MiB+ 402.93 KiB
/wp-admin/options-writing.php0.156 s0.277 s+0.121 s3.61 MiB4.08 MiB+ 483.51 KiB
/wp-admin/media-new.php0.424 s0.258 s-0.166 s3.66 MiB4.08 MiB+ 431.88 KiB
/wp-admin/edit-tags.php?taxonomy=category0.190 s0.321 s+0.131 s3.68 MiB4.11 MiB+ 438.43 KiB
/wp-admin/post-new.php?post_type=page1.016 s1.042 s+0.026 s5.53 MiB6.04 MiB+ 529.04 KiB
/wp-admin/options-discussion.php0.228 s0.491 s+0.263 s3.59 MiB4.08 MiB+ 503.68 KiB
/wp-admin/edit-comments.php0.232 s0.341 s+0.109 s3.69 MiB4.12 MiB+ 440 KiB
/0.314 s0.222 s-0.092 s3.55 MiB3.93 MiB+ 387.94 KiB
Average 0.411 s0.498 s+0.087 s4 MiB4.45 MiB+ 458.65 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
PHP56.2%13,9355,079193
CSS22.4%5,55225721
JavaScript17.0%4,20556282
Markdown2.5%61103
LESS1.3%330396
XML0.2%4403
SVG0.2%4401
JSON0.1%3601
YAML0.1%1802
Total 24,775 5,937 312

PHP Code Analysis | More results »

Lines of code 13,509
Total complexity 2,476
Median class complexity 6.0
Median method complexity 1.0
Most complex class fdmCustomPostTypes
Most complex function fdmImport::import_menu_items()
Classes 154
Methods 824
Functions 24

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 4

Custom Post Types 2

ID Name
fdm-menuMenus
fdm-menu-itemMenu Items

Sidebar Widgets 2

ID Name
fdm_widget_menuFood and Drink Menu
fdm_widget_menu_itemFood and Drink Menu Item

Meta Boxes

{
    "fdm-menu": {
        "fdm_menu_layout": {
            "title": "Menu Layout",
            "context": "normal"
        },
        "fdm_menu_footer": {
            "title": "Menu Footer",
            "context": "normal"
        }
    },
    "fdm-menu-item": {
        "fdm_menu_item_custom_fields": {
            "title": "Custom Fields",
            "context": "normal"
        },
        "fdm_item_price": {
            "title": "Price",
            "context": "side"
        }
    }
}

PHP Error Log 16 lines

[28-Jun-2022 21:38:00 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:00 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:00 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:00 UTC] PHP Warning:  explode() expects parameter 2 to be string, array given in /wp-includes/class.wp-dependencies.php on line 186
[28-Jun-2022 21:38:00 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-includes/class.wp-dependencies.php on line 187
[28-Jun-2022 21:38:04 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:04 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:04 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:04 UTC] PHP Warning:  explode() expects parameter 2 to be string, array given in /wp-includes/class.wp-dependencies.php on line 186
[28-Jun-2022 21:38:04 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-includes/class.wp-dependencies.php on line 187
[28-Jun-2022 21:38:08 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:08 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:08 UTC] PHP Notice:  Array to string conversion in /wp-includes/block-editor.php on line 340
[28-Jun-2022 21:38:08 UTC] PHP Warning:  explode() expects parameter 2 to be string, array given in /wp-includes/class.wp-dependencies.php on line 186
[28-Jun-2022 21:38:08 UTC] PHP Notice:  Trying to access array offset on value of type null in /wp-includes/class.wp-dependencies.php on line 187
[28-Jun-2022 21:38:08 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5831
See also: All tests for this plugin, How to Hide Five Star Restaurant Menu and Food Ordering Admin Menus and Meta Boxes