Okay, I tried this and it seems to be working. I added this to the code in wp-includes/widgets.php:
and comment_type <> ‘trackback’ and comment_type <> ‘pingback’
So, here is the original code in widgets.php:
$comments = $wpdb->get_results(“SELECT * FROM $wpdb->comments WHERE comment_approved = ‘1’ ORDER BY comment_date_gmt DESC LIMIT $number”);
Here is the code removing author comments from the sidebar:
$comments = $wpdb->get_results(“SELECT * FROM $wpdb->comments WHERE comment_approved = ‘1’ and user_id !=’1′ ORDER BY comment_date_gmt DESC LIMIT $number”);
Here is the code removing trackbacks and pingbacks from the sidebar:
$comments = $wpdb->get_results(“SELECT * FROM $wpdb->comments WHERE comment_approved = ‘1’ and comment_type <> ‘trackback’ and comment_type <> ‘pingback’ ORDER BY comment_date_gmt DESC LIMIT $number”);
And here is the code removing author comments and trackbacks and pingbacks from the sidebar:
$comments = $wpdb->get_results(“SELECT * FROM $wpdb->comments WHERE comment_approved = ‘1’ and user_id !=’1′ and comment_type <> ‘trackback’ and comment_type <> ‘pingback’ ORDER BY comment_date_gmt DESC LIMIT $number”);
I hope that helps. It seems to be working fine on my sidebar.