Make WordPress Core

Changeset 1013


Ignore:
Timestamp:
03/25/2004 08:28:09 PM (22 years ago)
Author:
saxmatt
Message:

Added missing API hooks.

File:
1 edited

Legend:

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

    r1012 r1013  
    535535
    536536    wp_set_comment_status($comment, "delete");
     537    do_action('delete_comment', $comment);
    537538
    538539    if (($HTTP_SERVER_VARS['HTTP_REFERER'] != "") && (false == $noredir)) {
     
    679680        if (!empty($referredby)) header('Location: ' . $referredby);
    680681        else header ("Location: edit.php?p=$comment_post_ID&c=1#comments");
    681         do_action('edit_comment', $post_ID);
     682        do_action('edit_comment', $comment_ID);
    682683        break;
    683684
Note: See TracChangeset for help on using the changeset viewer.