From 9433f88372065177590c24d7bf2b717f9d3e3197 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Sat, 8 Mar 2008 14:05:10 +0000 Subject: [PATCH] admin comments skip validation --- comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comments.php b/comments.php index 66f9c91..01bce0e 100644 --- a/comments.php +++ b/comments.php @@ -104,7 +104,7 @@ $arr['ip-address'] = $v; } - if (apply_filters('comment_validate', true, $arr)) + if ($loggedin || apply_filters('comment_validate', true, $arr)) return $arr; else return false;