Changeset 7082 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 02/28/2008 06:50:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r6983 r7082 355 355 $search = isset($_POST['s']) ? $_POST['s'] : false; 356 356 $start = isset($_POST['page']) ? intval($_POST['page']) * 25 - 1: 24; 357 358 list($comments, $total) = _wp_get_comment_list( $search, $start, 1 ); 357 $status = isset($_POST['comment_status']) ? $_POST['comment_status'] : false; 358 $mode = isset($_POST['mode']) ? $_POST['mode'] : 'detail'; 359 360 list($comments, $total) = _wp_get_comment_list( $status, $search, $start, 1 ); 359 361 360 362 if ( !$comments ) … … 364 366 get_comment( $comment ); 365 367 ob_start(); 366 _wp_comment_ list_item( $comment->comment_ID);368 _wp_comment_row( $comment->comment_ID, $mode ); 367 369 $comment_list_item = ob_get_contents(); 368 370 ob_end_clean();
Note: See TracChangeset
for help on using the changeset viewer.