admin comments skip validation

This commit is contained in:
real_nowhereman 2008-03-08 14:05:10 +00:00
parent 0073013ef5
commit 9433f88372

View File

@ -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;