From b764f60728be1d4e026f9d7ae618ab47e23322f8 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 31 Aug 2006 14:55:29 +0000 Subject: WP Merge to rev #4147 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@729 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-comments-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-comments-post.php') diff --git a/wp-comments-post.php b/wp-comments-post.php index f2954f2..0563e0f 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -36,7 +36,7 @@ endif; $comment_type = ''; -if ( get_settings('require_name_email') && !$user->ID ) { +if ( get_option('require_name_email') && !$user->ID ) { if ( 6 > strlen($comment_author_email) || '' == $comment_author ) wp_die( __('Error: please fill the required fields (name, email).') ); elseif ( !is_email($comment_author_email)) -- cgit