Changeset 15633 for trunk/wp-admin/includes/default-list-tables.php
- Timestamp:
- 09/18/2010 07:51:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/default-list-tables.php
r15632 r15633 2072 2072 $start = $offset = ( $page - 1 ) * $comments_per_page; 2073 2073 2074 $status_map = array( 2075 'moderated' => 'hold', 2076 'approved' => 'approve' 2077 ); 2078 2074 2079 $args = array( 2075 'status' => ( 'moderated' == $comment_status ) ? 'hold' : $comment_status, // TODO: replace all instances of 'moderated' with 'hold'2080 'status' => isset( $status_map[$comment_status] ) ? $status_map[$comment_status] : $comment_status, 2076 2081 'search' => $search, 2077 2082 'offset' => $start,
Note: See TracChangeset
for help on using the changeset viewer.