WP API Menus

Extends WordPress WP REST API with new routes pointing to WordPress menus.

v1.3.2Fulvio NotarstefanoUpdated Added 2k+ installs100% rating
35
Score
12
Errors
9
Warnings
+0
Change

Category Scores

Security100
Repo69
Performance100
Maintainability88

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

21 findings

Maintainability

15

6 issue groups

Supply Chain

3

1 issue group

Repo Compliance

3

3 issue groups

ERRORMaintainabilitywp function not compatible with requires wpFunction "get_rest_url()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.6.0.7
Category
Maintainability
Occurrences
7
Severity
error

Sample message

Function "get_rest_url()" requires WordPress 4.4.0, but your plugin minimum supported version is WordPress 3.6.0.

ERRORSupply ChainHidden files includedHidden files are not permitted.3
Category
Supply Chain
Occurrences
3
Severity
error

Sample message

Hidden files are not permitted.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP API Menus" - contains the restricted term "wp" which cannot be used at all in your plugin name.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP API Menus" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGMaintainabilityNon-prefixed classClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_JSON_Menus".2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "WP_JSON_Menus".

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "wp_rest_menus_init".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "wp_rest_menus_init".

WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "json_menus_format_menu_item".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "json_menus_format_menu_item".

WARNINGMaintainabilitymismatched plugin namePlugin name "WP API Menus" is different from the name declared in plugin header "WP REST API Menus".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Plugin name "WP API Menus" is different from the name declared in plugin header "WP REST API Menus".

ERRORRepo Complianceoutdated tested upto headerTested up to: 5.5 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 5.5 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

ERRORRepo Complianceplugin header no licenseMissing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.

WARNINGRepo Compliancereadme parser warnings too many tagsOne or more tags were ignored. Please limit your plugin to 5 tags.1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

Score History

First score snapshot

v1.3.2

35

Latest

Findings
21
Errors
12
Warnings
9
Check
2.0.0

Related Plugins

Hide Drafts in Menus

1k+ active installs

100
Better Aria Label Support

5k+ active installs

99
Responsive Navigation Block

1k+ active installs

99
Shortcode in Menus

50k+ active installs

98
REST API Meta Support

7k+ active installs

96