mithra62
Member
Posted 3 years ago #
I'm not sure if this is the place to post this topic but I couldn't find any other place to post a bug / issue ticket.
I've noticed that when I'm editing a post or page that is scheduled to publish at a later date I get served the cached version instead of the edited version.
To reproduce:
1. Create and schedule post for a later date.
2. Continue editing the post.
3. Click Preview
Expected Result:
Page should display the edited version but it doesn't.
I'm using WP Super Cache 0.9.3.1 on WordPress 2.7.1
You should click "Update Post" before previewing. Works for me.
mithra62
Member
Posted 3 years ago #
Yeah, I do that too, but it's a hassle and breaks the writing flow. When you click Preview the post should be previewed without having to take any extra steps.
It's a bug I guess and a minor one. I had a quick look at what WordPress does and it looks like the cache should be cleared. If I find time I'll investigate further but feel free to poke around too!
djquinn
Member
Posted 3 years ago #
This might be a solution, though I'm not sure if it's ideal:
djquinn
Member
Posted 3 years ago #
Thanks djquinn - I fixed the preview problem by not caching previews at all, and I added your profile update hook into wp-cache-phase2.php so you can remove them from core if you update to the development version (which should update in the next 15 minutes)
djquinn
Member
Posted 3 years ago #
awesome - I'll download right away. And thanks again for WP Super Cache. WordPress would probably implode if we didn't have it!