diff options
Diffstat (limited to 'wp-comments-post.php')
-rw-r--r-- | wp-comments-post.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |