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

  1. reimund
    Posted 4 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.



  2. katmmad
    Posted 3 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?


  3. Donncha O Caoimh
    Plugin Author

    Posted 3 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

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic