Changeset 15969
- Timestamp:
- 10/26/2010 04:48:03 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/list-table-comments.php
r15958 r15969 7 7 * @since 3.1.0 8 8 */ 9 10 /**11 * Post Comments List Table class.12 *13 * @package WordPress14 * @subpackage List_Table15 * @since 3.1.016 *17 * @see WP_Comments_Table18 */19 class WP_Post_Comments_Table extends WP_Comments_Table {20 21 function get_columns() {22 return array(23 'author' => __( 'Author' ),24 'comment' => _x( 'Comment', 'column name' ),25 );26 }27 28 function get_sortable_columns() {29 return array();30 }31 }32 9 33 10 /** … … 511 488 } 512 489 } 490 491 /** 492 * Post Comments List Table class. 493 * 494 * @package WordPress 495 * @subpackage List_Table 496 * @since 3.1.0 497 * 498 * @see WP_Comments_Table 499 */ 500 class WP_Post_Comments_Table extends WP_Comments_Table { 501 502 function get_columns() { 503 return array( 504 'author' => __( 'Author' ), 505 'comment' => _x( 'Comment', 'column name' ), 506 ); 507 } 508 509 function get_sortable_columns() { 510 return array(); 511 } 512 } 513 514 ?>
Note: See TracChangeset
for help on using the changeset viewer.