WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Cannot delete individual cached pages - possible fix (3 posts)

  1. reimund
    Member
    Posted 2 years ago #

    Found a bug which prevented me from deleting indivudual cached pages.

    I modified the code on line 1865 to read:

    if ( !is_array( $cache_stats ) || (isset($_GET['action']) && $_GET['action'] == 'deletewpcache') || ( $valid_nonce && array_key_exists('action', $_GET) && $_GET[ 'action' ] == 'regenerate_cache_stats' ) ) {

    In order words, i added || (isset($_GET['action']) && $_GET['action'] == 'deletewpcache') which solves it for me.

    I'm confused how something like this could've slipped through though and I didn't find anyone else having this problem.

    Please enlighten me.

    Peace.

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. katmmad
    Member
    Posted 2 years ago #

    I'm having a similar problem and have been trying to find a solution -- I cached some important pages and now can't uncache them even if I delete the plugin -- I also couldn't delete them (although that's not an ideal solution since then I'll lose all SEO). Does anyone know how to uncache individual pages?

    thanks!

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    I think I've fixed this in the development version that's listed on the download page if you want to give that a go. I'd love to get some feedback on it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic