Make WordPress Core


Ignore:
Timestamp:
03/01/2004 06:13:32 AM (21 years ago)
Author:
saxmatt
Message:

Migration to get_settings

File:
1 edited

Legend:

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

    r914 r956  
    4040    die('Sorry, comments are closed for this item.');
    4141
    42 if ($require_name_email && ($email == '' || $author == '')) { //original fix by Dodo, and then Drinyth
     42if (get_settings('require_name_email') && ($email == '' || $author == '')) { //original fix by Dodo, and then Drinyth
    4343    die('Error: please fill the required fields (name, email).');
    4444}
     
    102102    }
    103103   
    104     if (($comments_notify) && ($approved)) {
     104    if ((get_settings('comments_notify')) && ($approved)) {
    105105        wp_notify_postauthor($comment_ID, 'comment');
    106106    }
Note: See TracChangeset for help on using the changeset viewer.