WP REST Cache

Enable caching of the WordPress REST API and auto-flush caches upon wp-admin editing.

v2026.2.0AcatoUpdated Added 10k+ installs98% rating67% support resolved
64
Score
11
Errors
113
Warnings
+0
Change

Category Scores

Security46
Repo94
Performance100
Maintainability71

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

124 findings

Maintainability

89

7 issue groups

Security

34

3 issue groups

Repo Compliance

1

1 issue group

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.34
Category
Maintainability
Occurrences
34
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().33
Category
Maintainability
Occurrences
33
Severity
warning

Sample message

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

WARNINGSecurityDatabase parameter is not escapedUnescaped parameter $check_index_query used in $wpdb->get_results()\n$check_index_query assigned unsafely at line 1898.26
Category
Security
Occurrences
26
Severity
warning

Sample message

Unescaped parameter $check_index_query used in $wpdb->get_results()\n$check_index_query assigned unsafely at line 1898.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

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

Sample message

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

WARNINGSecurityRequest data is not unslashed$_SERVER['REQUEST_METHOD'] not unslashed before sanitization. Use wp_unslash() or similar6
Category
Security
Occurrences
6
Severity
warning

Sample message

$_SERVER['REQUEST_METHOD'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilitySchema ChangeAttempting a database schema change is discouraged.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Attempting a database schema change is discouraged.

WARNINGMaintainabilitytrademarked termThe plugin name includes a restricted term. Your chosen plugin name - "WP REST Cache" - 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 REST Cache" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_URI']. Check that the array index exists before using it.2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER['REQUEST_URI']. Check that the array index exists before using it.

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

Sample message

Function "get_object_subtype()" requires WordPress 4.9.8, but your plugin minimum supported version is WordPress 4.7.0.

Show 1 more
ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.9 < 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.

Score History

First score snapshot

v2026.2.0

64

Latest

Findings
124
Errors
11
Warnings
113
Check
2.0.0

Related Plugins

Disable Gutenberg Autosave

2k+ active installs

99
99
SQLite Object Cache

9k+ active installs

99
98