Docs: Add documentation for `WP_Comments_List_Table::display()`.

Props itowhid06, dinhtungdu.
Fixes #47929.
Built from https://develop.svn.wordpress.org/trunk@46336


git-svn-id: http://core.svn.wordpress.org/trunk@46135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-09-27 23:03:58 +00:00
parent d4c6ebeb89
commit 07a753cb35
2 changed files with 4 additions and 1 deletions

View File

@ -487,6 +487,9 @@ class WP_Comments_List_Table extends WP_List_Table {
} }
/** /**
* Display the comments table. Override the parent method to render extra comments.
*
* @since 3.1.0
*/ */
public function display() { public function display() {
wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' ); wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-beta1-46335'; $wp_version = '5.3-beta1-46336';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.