Make WordPress Core


Ignore:
Timestamp:
11/16/2005 06:29:36 AM (19 years ago)
Author:
ryan
Message:

Add comment_count to the posts table. Props donncha. fixes #1860

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/list-manipulation.php

    r3061 r3104  
    5757        die('-1');
    5858
    59     if ( wp_set_comment_status($comment->comment_ID, "delete") ) {
    60         do_action('delete_comment', $comment->comment_ID);
     59    if ( wp_delete_comment($comment->comment_ID) ) {
    6160        die('1');
    6261    } else {
Note: See TracChangeset for help on using the changeset viewer.