Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-comments-list-table.php

    r19296 r20533  
    131131
    132132                if ( 'moderated' == $comment_status )
    133                         _e( 'No comments awaiting moderation… yet.' );
     133                        _e( 'No comments awaiting moderation.' );
    134134                else
    135135                        _e( 'No comments found.' );
    … …  
    137137
    138138        function get_views() {
    139                 global $post_id, $comment_status;
     139                global $post_id, $comment_status, $comment_type;
    140140
    141141                $status_links = array();
    … …  
    187187                if ( in_array( $comment_status, array( 'all', 'approved' ) ) )
    188188                        $actions['unapprove'] = __( 'Unapprove' );
    189                 if ( in_array( $comment_status, array( 'all', 'moderated', 'spam' ) ) )
     189                if ( in_array( $comment_status, array( 'all', 'moderated' ) ) )
    190190                        $actions['approve'] = __( 'Approve' );
    191191                if ( in_array( $comment_status, array( 'all', 'moderated', 'approved' ) ) )
    … …  
    557557        }
    558558}
    559 
    560 ?>
Note: See TracChangeset for help on using the changeset viewer.