Prevent Browser Caching

Updates the assets version of all CSS and JS files. Shows the latest changes on the site without asking the client to clear browser cache.

v2.3.7kostyatereshchukUpdated Added 10k+ installs98% rating
47
Score
18
Errors
10
Warnings
+1
Change

Category Scores

Security6
Repo100
Performance100
Maintainability95

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

28 findings

Security

23

6 issue groups

Maintainability

3

2 issue groups

I18n

2

1 issue group

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.8
Category
Security
Occurrences
8
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$assets_version'.6
Category
Security
Occurrences
6
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$assets_version'.

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_GET['pbc_update_css_js']3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['pbc_update_css_js']

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

Sample message

$_GET['pbc_update_css_js'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_SERVER['HTTP_HOST']. 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['HTTP_HOST']. Check that the array index exists before using it.

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to _e().2
Category
I18n
Occurrences
2
Severity
error

Sample message

Missing $domain parameter in function call to _e().

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

Sample message

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

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

WARNINGSecuritywp redirect wp redirectwp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

External Connections

Potential connections found in static code analysis.

2 domains

Outbound calls

2

External assets

0

Incoming endpoints

1

Notable Domains

tutori.org1 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Admin AJAX endpoints1
wp_ajax_pbc_update_clear_cache_timeauthenticated

wp_ajax

Score History

2 score snapshots

+1
1007550250Jun 20, 2026, 02:19 PM UTC Score 46/100 Plugin v2.3.6 Plugin Check 2.0.0 19 errors, 10 warningsJul 3, 2026, 11:13 AM UTC Score 47/100 Plugin v2.3.7 Plugin Check 2.0.0 18 errors, 10 warningsJun 20, 2026Jul 3, 2026

v2.3.7

47

Latest

Findings
28
Errors
18
Warnings
10
Check
2.0.0

v2.3.6

46

Score

Findings
29
Errors
19
Warnings
10
Check
2.0.0

Relationship Map

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

30 nodes

Related Plugins

TinyMCE Clear Float

10k+ active installs

97
Disable CSS JS Cache

400 active installs

93
reBusted!

6k+ active installs

91
Super Light Cache Buster

700 active installs

91
Clear cache for Timber

500 active installs

89
BB Delete cache

900 active installs

72