do_action( 'comment_add_author_url'
);
print( wp_update_comment( $comment ) );
die();
} } } public static function comment_row_action( $a,
$comment ) { $akismet_result =
get_comment_meta( $comment->comment_ID, 'akismet_result', true
);
$akismet_error =
get_comment_meta( $comment->comment_ID, 'akismet_error', true
);
$user_result =
get_comment_meta( $comment->comment_ID, 'akismet_user_result', true
);
$comment_status =
wp_get_comment_status( $comment->comment_ID
);
$desc = null;
if ( $akismet_error ) { $desc =
__( 'Awaiting spam check' , 'akismet'
);
} elseif ( !
$user_result ||
$user_result ==
$akismet_result ) { // Show the original Akismet result if the user hasn't overridden it, or if their decision was the same
if ( $akismet_result == 'true' &&
$comment_status != 'spam' &&
$comment_status != 'trash'
) $desc =
__( 'Flagged as spam by Akismet' , 'akismet'
);
elseif ( $akismet_result == 'false' &&
$comment_status == 'spam'
) $desc =
__( 'Cleared by Akismet' , 'akismet'
);
} else { $who =
get_comment_meta( $comment->comment_ID, 'akismet_user', true
);