Make WordPress Core


Ignore:
Timestamp:
09/26/2010 10:02:23 AM (15 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/includes/default-list-tables.php

    r15653 r15666  
    24412441                    $action .= ' hide-if-no-js';
    24422442                elseif ( ( $action == 'untrash' && $the_comment_status == 'trash' ) || ( $action == 'unspam' && $the_comment_status == 'spam' ) ) {
    2443                     if ( '1' == get_comment_meta( $comment_id, '_wp_trash_meta_status', true ) )
     2443                    if ( '1' == get_comment_meta( $comment->comment_ID, '_wp_trash_meta_status', true ) )
    24442444                        $action .= ' approve';
    24452445                    else
Note: See TracChangeset for help on using the changeset viewer.