And clean_user_cache hook as well. please.
I temporary added:
add_action(‘clean_user_cache’, array($this, ‘purge_user_on_update’), 10, 1); add_action(‘clean_post_cache’, array($this, ‘purge_post_on_update’), 10, 1); add_action(‘clean_post_cache’, array($this, ‘purge_archive_pages_on_post_update’), 10, 1);
public function purge_user_on_update( $user_id ) {
WPO_Page_Cache::delete_cache_by_url(get_author_posts_url($user_id), true); }
to the file class-wpo-cache-rules.php instead of:
add_action(‘save_post’, array($this, ‘purge_post_on_update’), 10, 1);
add_action(‘save_post’, array($this, ‘purge_archive_pages_on_post_update’), 10, 1);
and can confirme that all works perfectly.
But it would be perfect if it found it’s place in the oficial release, please.
Hi Alexander,
I have added a ticket to our internal development board.
Thank you. It would be nice to be informed when it’s processed.
Hi Alexander,
I would advise that you keep an on our change logs and keep the plugin updated. We make a large number of fixes and updates with each update so it’s really difficult for us to keep track of which users required which fixes.