Make WordPress Core


Ignore:
Timestamp:
04/24/2009 02:25:20 AM (17 years ago)
Author:
azaozz
Message:

Fix hiding of comments after approving/unapproving them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r11044 r11073  
    21262126                                        $actions['approve'] = "<a href='$approve_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='" . __( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>';
    21272127                                        $actions['unapprove'] = "<a href='$unapprove_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='" . __( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
    2128                                         if ( $comment_status ) { // not looking at all comments
     2128                                        if ( $comment_status && 'all' != $comment_status ) { // not looking at all comments
    21292129                                                if ( 'approved' == $the_comment_status ) {
    21302130                                                        $actions['unapprove'] = "<a href='$unapprove_url' class='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment&amp;new=unapproved vim-u vim-destructive' title='" . __( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
Note: See TracChangeset for help on using the changeset viewer.