page edits not triggering cache delete
-
When editing and saving pages, the cache is not being deleted by the plugin. Posts work fine.
I added
add_filter ('edit_post', array($this, 'deleteCache'));
to detectNewPost(), and now it works fine.For some reason, the publish_post filter only worked for posts, not for pages. I read in the WP codex that this might have anything to do with the priority for this hook, but I’m too much of a noob to really understand what’s happening there.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘page edits not triggering cache delete’ is closed to new replies.