Make WordPress Core


Ignore:
Timestamp:
08/30/2006 09:46:31 PM (18 years ago)
Author:
ryan
Message:

Use get_option instead of get_settings. Just 'cause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-post.php

    r3984 r4144  
    3737$comment_type = '';
    3838
    39 if ( get_settings('require_name_email') && !$user->ID ) {
     39if ( get_option('require_name_email') && !$user->ID ) {
    4040    if ( 6 > strlen($comment_author_email) || '' == $comment_author )
    4141        wp_die( __('Error: please fill the required fields (name, email).') );
Note: See TracChangeset for help on using the changeset viewer.