Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: WP Sweep and Topic changelogs

@robin-w

Moderator

if you go into the plugin and find

wp-sweep.php

find line 557 which says

foreach ( $query as $id ) {
												wp_delete_post_revision( (int) $id );
}

and amend to

foreach ( $query as $id ) {
$post_parent_id = wp_get_post_parent_id ($id) ;
$type = get_post_type ($post_parent_id) ;
if ($type != 'topic' && $type != 'reply' ) 
wp_delete_post_revision( (int) $id );
}

that should do it

Skip to toolbar