Make WordPress Core


Ignore:
Timestamp:
10/31/2010 01:17:00 AM (11 years ago)
Author:
scribu
Message:

Move no_items logic to WP_Comments_Table. See #14579

File:
1 edited

Legend:

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

    r16073 r16108  
    112112            'per_page' => $comments_per_page,
    113113        ) );
     114    }
     115
     116    function no_items() {
     117        global $comment_status;
     118
     119        if ( 'moderated' == $comment_status )
     120            _e( 'No comments awaiting moderation… yet.' );
     121        else
     122            _e( 'No comments found.' );
    114123    }
    115124
Note: See TracChangeset for help on using the changeset viewer.