Make WordPress Core

Changeset 1690


Ignore:
Timestamp:
09/18/2004 05:56:28 AM (21 years ago)
Author:
rboren
Message:

Fix boulk comment delete. Bug 291. Patch from ringmaster.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-comments.php

    r1551 r1690  
    3939if ( !empty( $_POST['delete_comments'] ) ) :
    4040    $i = 0;
    41     foreach ($delete_comments as $comment) : // Check the permissions on each
     41    foreach ($_POST['delete_comments'] as $comment) : // Check the permissions on each
    4242        $comment = (int) $comment;
    4343        $post_id = $wpdb->get_var("SELECT comment_post_ID FROM $wpdb->comments WHERE comment_ID = $comment");
Note: See TracChangeset for help on using the changeset viewer.