- Timestamp:
- 01/06/2011 04:11:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-comments-list-table.php
r17168 r17228 67 67 68 68 $page = $this->get_pagenum(); 69 69 70 70 if ( isset( $_REQUEST['start'] ) ) { 71 71 $start = $_REQUEST['start']; … … 73 73 $start = ( $page - 1 ) * $comments_per_page; 74 74 } 75 75 76 76 if ( $doing_ajax && isset( $_REQUEST['offset'] ) ) { 77 77 $start += $_REQUEST['offset']; … … 116 116 ) ); 117 117 } 118 118 119 119 function get_per_page( $comment_status = 'all' ) { 120 120 $comments_per_page = $this->get_items_per_page( 'edit_comments_per_page' ); … … 514 514 515 515 function get_column_info() { 516 $this->_column_headers = array( 516 $this->_column_headers = array( 517 517 array( 518 518 'author' => __( 'Author' ), … … 522 522 array(), 523 523 ); 524 524 525 525 return $this->_column_headers; 526 526 } 527 527 528 528 function get_table_classes() { 529 529 $classes = parent::get_table_classes(); … … 531 531 return $classes; 532 532 } 533 533 534 534 function display( $output_empty = false ) { 535 535 extract( $this->_args ); … … 542 542 <?php 543 543 } 544 544 545 545 function get_per_page( $comment_status = false ) { 546 546 return 10;
Note: See TracChangeset
for help on using the changeset viewer.