Skip to content

Commit

Permalink
Docs: Add documentation for WP_Comments_List_Table::display().
Browse files Browse the repository at this point in the history
Props itowhid06, dinhtungdu.
Fixes #47929.

git-svn-id: https://develop.svn.wordpress.org/trunk@46336 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Sep 27, 2019
1 parent 4ffefc2 commit ab8c873
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wp-admin/includes/class-wp-comments-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,9 @@ protected function get_default_primary_column_name() {
}

/**
* Display the comments table. Override the parent method to render extra comments.
*
* @since 3.1.0
*/
public function display() {
wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );
Expand Down

0 comments on commit ab8c873

Please sign in to comment.