WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/28/2008 03:37:59 PM (14 years ago)
Author:
ryan
Message:

Fix duplicate comment notifications. Props MtDewVirus. fixes #6892 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/comment.php

    r7998 r8004  
    194194    wp_set_comment_status( $comment->comment_ID, 'approve' );
    195195
    196     if ( true == get_option('comments_notify') )
    197         wp_notify_postauthor( $comment->comment_ID );
    198 
    199 
    200196    if ( '' != wp_get_referer() && false == $noredir )
    201197        wp_redirect( wp_get_referer() );
Note: See TracChangeset for help on using the changeset viewer.