Make WordPress Core

Changeset 984 for trunk/wp-trackback.php


Ignore:
Timestamp:
03/21/2004 08:31:33 AM (21 years ago)
Author:
saxmatt
Message:

New comment moderation code, for trackbacks and comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-trackback.php

    r957 r984  
    6767    $moderation_notify = get_settings('moderation_notify');
    6868
    69     if ('manual' == $comment_moderation) {
     69    if(check_comment($author, $email, $url, $comment, $user_ip)) {
     70        $approved = 1;
     71    } else {
    7072        $approved = 0;
    71     } else if ('auto' == $comment_moderation) {
    72         $approved = 0;
    73     } else { // none
    74         $approved = 1;
    7573    }
    7674
Note: See TracChangeset for help on using the changeset viewer.