elseif ( isset( $_POST['spam'
] ) && 1 ==
$_POST['spam'
] ) { if ( 'spam' ===
$status ) { wp_die( time() );
} $r =
wp_spam_comment( $comment );
} elseif ( isset( $_POST['unspam'
] ) && 1 ==
$_POST['unspam'
] ) { if ( 'spam' !==
$status ) { wp_die( time() );
} $r =
wp_unspam_comment( $comment );
// Undo spam, not in spam.
if ( !
isset( $_POST['comment_status'
] ) || 'spam' !==
$_POST['comment_status'
] ) { $delta = 1;
} } elseif ( isset( $_POST['delete'
] ) && 1 ==
$_POST['delete'
] ) { $r =
wp_delete_comment( $comment );
} else { wp_die( -1
);
}