Changing post from Pushished to Draft doesn't clear cache
-
When I change my WordPress post statuses from Published to Draft, the site still serves up a the cached version of the published post.
I have to ‘delete cache’ on the settings page for the post to be removed from the site.
I’ve tried checking the box ‘Clear all cache files when a post or page is published or updated.’, but to no avail.
In the log file I see this:
16:32:43 5296 /wp-admin/post.php wp_cache_post_change: draft post, not deleting any cache files.How can I get the cache to clear for a specific post (or the whole site) when I change a post status?
The topic ‘Changing post from Pushished to Draft doesn't clear cache’ is closed to new replies.