Automattic / Automattic/wp-super-cache

Enhancement: show a notice and link to clear the cache when the theme is changed

Open
#988 1 comment 0 reactions 1 assignee Claimed by @donnchawp View on GitHub
[Plugin] Super Cache enhancement
Dominant language
PHP
Stars
436
Forks
130
Avg merge
15h 11m
Merged PRs (30d)
10

Description

### Impacted plugin

Super Cache

### What

The plugin should show an admin notice and a "clear cache" button when the theme is changed

### How

As mentioned in this post, WP Super Cache does not clear the cache when the theme is changed. I believe this is the right thing to do because the theme may be changed to test a new one temporarily.
However, an admin notice containing a "Clear Cache" button on the themes page that appears when the theme is changed would be a nice shortcut.

If caching is enabled for logged-in users, we should display an admin notice on the themes page informing the user that the cache must be cleared manually.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.