Menu Caching

This plugin caches WordPress classic menus to improve page loading time.

v1.1.4Theo GkitsosUpdated Added 500 installs100% rating
87
Score
3
Errors
12
Warnings
+0
Change

Category Scores

Security81
Repo94
Performance100
Maintainability91

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

15 findings

Maintainability

8

6 issue groups

Security

5

2 issue groups

I18n

1

1 issue group

Repo Compliance

1

1 issue group

WARNINGSecurityRequest data is not unslashed$_POST['nocache_menus'] not unslashed before sanitization. Use wp_unslash() or similar3
Category
Security
Occurrences
3
Severity
warning

Sample message

$_POST['nocache_menus'] not unslashed before sanitization. Use wp_unslash() or similar

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

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST['nonce_ajax']2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST['nonce_ajax']

ERRORMaintainabilitywp function not compatible with requires wpFunction "wp_get_environment_type()" requires WordPress 5.5.0, but your plugin minimum supported version is WordPress 5.3.0.2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

Function "wp_get_environment_type()" requires WordPress 5.5.0, but your plugin minimum supported version is WordPress 5.3.0.

WARNINGI18nDiscouraged text-domain loadingload_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.1
Category
I18n
Occurrences
1
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "run_dc_menu_caching".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: "run_dc_menu_caching".

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$plugin_admin".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$plugin_admin".

ERRORRepo Complianceoutdated tested upto headerTested up to: 6.7 < 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: 6.7 < 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.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

2

External assets

0

Incoming endpoints

2

Notable Domains

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints2
wp_ajax_dc_menu_caching_purge_allauthenticated

wp_ajax

wp_ajax_dc_save_nocache_menusauthenticated

wp_ajax

Score History

First score snapshot

v1.1.4

87

Latest

Findings
15
Errors
3
Warnings
12
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

30 nodes

Related Plugins

App for Cloudflare®

1k+ active installs

98
Instant Back/Forward

10k+ active installs

98
Leverage Browser Caching

10k+ active installs

97
MO Cache

1k+ active installs

97
Fresh Forms for Gravity

3k+ active installs

96