WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Plugin breaks edit post/page preview (8 posts)

  1. mithra62
    Member
    Posted 5 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

  2. Donncha O Caoimh
    Member
    Posted 5 years ago #

    You should click "Update Post" before previewing. Works for me.

  3. mithra62
    Member
    Posted 5 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.

  4. Donncha O Caoimh
    Member
    Posted 5 years ago #

    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!

  5. djquinn
    Member
    Posted 5 years ago #

    This might be a solution, though I'm not sure if it's ideal:

  6. djquinn
    Member
    Posted 5 years ago #

  7. Donncha O Caoimh
    Member
    Posted 5 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)

  8. djquinn
    Member
    Posted 5 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!

Topic Closed

This topic has been closed to new replies.

About this Topic