- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-comments-list-table.php
r19296 r20533 131 131 132 132 if ( 'moderated' == $comment_status ) 133 _e( 'No comments awaiting moderation … yet.' );133 _e( 'No comments awaiting moderation.' ); 134 134 else 135 135 _e( 'No comments found.' ); … … 137 137 138 138 function get_views() { 139 global $post_id, $comment_status ;139 global $post_id, $comment_status, $comment_type; 140 140 141 141 $status_links = array(); … … 187 187 if ( in_array( $comment_status, array( 'all', 'approved' ) ) ) 188 188 $actions['unapprove'] = __( 'Unapprove' ); 189 if ( in_array( $comment_status, array( 'all', 'moderated' , 'spam') ) )189 if ( in_array( $comment_status, array( 'all', 'moderated' ) ) ) 190 190 $actions['approve'] = __( 'Approve' ); 191 191 if ( in_array( $comment_status, array( 'all', 'moderated', 'approved' ) ) ) … … 557 557 } 558 558 } 559 560 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)