Server-Side Cache AutoPurge

Purge server-side cache automatically after making website changes. Optimized for servers managed by SureSupport.

v1.0.5suresupportUpdated Added 10k+ installs84% rating
73
Score
16
Errors
17
Warnings
+0
Change

Category Scores

Security56
Repo91
Performance100
Maintainability91

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

33 findings

I18n

14

4 issue groups

Security

9

4 issue groups

Maintainability

8

4 issue groups

Repo Compliance

2

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'server-side-cache-autopurge' but got 'surecache-autopurge'.9
Category
I18n
Occurrences
9
Severity
error

Sample message

Mismatched text domain. Expected 'server-side-cache-autopurge' but got 'surecache-autopurge'.

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

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

Sample message

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

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

Sample message

Detected usage of a non-sanitized input variable: $_ENV['SERVER_ADDR']

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.3
Category
I18n
Occurrences
3
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNINGSecurityRequest data is not unslashed$_POST['wp_nonce'] not unslashed before sanitization. Use wp_unslash() or similar2
Category
Security
Occurrences
2
Severity
warning

Sample message

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

WARNINGMaintainabilityMissing VersionResource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Resource version not set in call to wp_register_script(). This means new versions of the script may not always be loaded due to browser caching.

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.

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

Sample message

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

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

Sample message

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

Show 4 more
WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

ERRORRepo Complianceplugin header no license1
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 tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

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

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "surecache-autopurge", expected "server-side-cache-autopurge".

External Connections

Not analyzed yet.

Score History

First score snapshot

v1.0.5

73

Latest

Findings
33
Errors
16
Warnings
17
Check
2.0.0

Relationship Map

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

29 nodes

Related Plugins