Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPSCFORCEUPDATE is not documented #25565

Closed
htesligte opened this issue Sep 23, 2016 · 3 comments
Closed

WPSCFORCEUPDATE is not documented #25565

htesligte opened this issue Sep 23, 2016 · 3 comments
Labels
[Plugin] Super Cache A fast caching plugin for WordPress.

Comments

@htesligte
Copy link

We have a customer that changes posts frequently to private. This is because sometimes the post need to be visible again but is temporarily hidden. However, the cache is not cleared because wp-cache-phase2.php checks if $post->post_status != "publish".
I noticed that there is a define 'WPSCFORCEUPDATE' that skips this check, but this isn't documented.

Can I use this define safely to clear cache in this case?

@marcomarsala
Copy link

marcomarsala commented May 24, 2017

I'm in the same situation, thank you for pointing out this constant, will help me a lot.

Btw, the page cache should be purged when updating private posts, see my issue #25559.

@stodorovic
Copy link
Contributor

Duplicate of #25571. This issue is most likely fixed in the latest version (1.6.3) of WP Super Cache (PR Automattic/wp-super-cache#577). Could you test it again on latest version?

@kraftbj kraftbj added the [Plugin] Super Cache A fast caching plugin for WordPress. label Aug 12, 2022
@kraftbj kraftbj transferred this issue from Automattic/wp-super-cache Aug 12, 2022
@jeherve
Copy link
Member

jeherve commented Aug 15, 2022

This should now be fixed. Feel free to reopen if the problem ever comes back.

@jeherve jeherve closed this as completed Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Super Cache A fast caching plugin for WordPress.
Projects
None yet
Development

No branches or pull requests

5 participants