diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php index b83a2ce861..0f31b031dd 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -1,6 +1,6 @@ comment_ID ); } } - -/** - * Post Comments List Table class. - * - * @package WordPress - * @subpackage List_Table - * @since 3.1.0 - * @access private - * - * @see WP_Comments_Table - */ -class WP_Post_Comments_List_Table extends WP_Comments_List_Table { - - /** - * - * @return array - */ - protected function get_column_info() { - return array( - array( - 'author' => __( 'Author' ), - 'comment' => _x( 'Comment', 'column name' ), - ), - array(), - array(), - 'comment', - ); - } - - /** - * - * @return array - */ - protected function get_table_classes() { - $classes = parent::get_table_classes(); - $classes[] = 'wp-list-table'; - $classes[] = 'comments-box'; - return $classes; - } - - /** - * - * @param bool $output_empty - */ - public function display( $output_empty = false ) { - $singular = $this->_args['singular']; - - wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); -?> - - > - display_rows_or_placeholder(); - } ?> - - - __( 'Author' ), + 'comment' => _x( 'Comment', 'column name' ), + ), + array(), + array(), + 'comment', + ); + } + + /** + * + * @return array + */ + protected function get_table_classes() { + $classes = parent::get_table_classes(); + $classes[] = 'wp-list-table'; + $classes[] = 'comments-box'; + return $classes; + } + + /** + * + * @param bool $output_empty + */ + public function display( $output_empty = false ) { + $singular = $this->_args['singular']; + + wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' ); +?> + + > + display_rows_or_placeholder(); + } ?> + + + 'terms', 'WP_Users_List_Table' => 'users', 'WP_Comments_List_Table' => 'comments', - 'WP_Post_Comments_List_Table' => 'comments', + 'WP_Post_Comments_List_Table' => 'post-comments', 'WP_Links_List_Table' => 'links', 'WP_Plugin_Install_List_Table' => 'plugin-install', 'WP_Themes_List_Table' => 'themes',