[Plugin: WP Super Cache] Cannot delete individual cached pages – possible fix
-
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.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: WP Super Cache] Cannot delete individual cached pages – possible fix’ is closed to new replies.