Changeset 9023 for trunk/wp-admin/edit-comments.php
- Timestamp:
- 09/28/2008 05:48:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-comments.php
r9018 r9023 66 66 $comment_status = isset($_GET['comment_status']) ? attribute_escape($_GET['comment_status']) : ''; 67 67 68 $post_id = isset($_GET['p']) ? (int) $_GET['p'] : 0; 69 68 70 $search_dirty = ( isset($_GET['s']) ) ? $_GET['s'] : ''; 69 71 $search = attribute_escape( $search_dirty ); ?> … … 152 154 $start = $offset = ( $page - 1 ) * $comments_per_page; 153 155 154 list($_comments, $total) = _wp_get_comment_list( $comment_status, $search_dirty, $start, $comments_per_page + 5 ); // Grab a few extra156 list($_comments, $total) = _wp_get_comment_list( $comment_status, $search_dirty, $start, $comments_per_page + 5, $post_id ); // Grab a few extra 155 157 156 158 $comments = array_slice($_comments, 0, $comments_per_page);
Note: See TracChangeset
for help on using the changeset viewer.