WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/26/2010 10:02:23 AM (8 years ago)
Author:
dd32
Message:

Use the correct variable names, Fixes "Empty Spam" comments & "Approve" link. Add a clear to push "No comments found." into place. Fixes #14964

File:
1 edited

Legend:

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

    r15642 r15666  
    1818    check_admin_referer( 'bulk-comments' );
    1919
    20     if ( 'delete_all' == $do_action && !empty( $_REQUEST['pagegen_timestamp'] ) ) {
     20    if ( 'delete_all' == $doaction && !empty( $_REQUEST['pagegen_timestamp'] ) ) {
    2121        $comment_status = $wpdb->escape( $_REQUEST['comment_status'] );
    2222        $delete_time = $wpdb->escape( $_REQUEST['pagegen_timestamp'] );
     
    3030    } else {
    3131        wp_redirect( wp_get_referer() );
     32        exit;
    3233    }
    3334
     
    218219<?php } ?>
    219220
     221<br class="clear" />
     222
    220223<?php if ( $wp_list_table->has_items() ) { ?>
    221224
Note: See TracChangeset for help on using the changeset viewer.