From ab8c873323bfa540776ceb61b1d907db8046b5e5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 27 Sep 2019 23:02:29 +0000 Subject: [PATCH] Docs: Add documentation for `WP_Comments_List_Table::display()`. Props itowhid06, dinhtungdu. Fixes #47929. git-svn-id: https://develop.svn.wordpress.org/trunk@46336 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-comments-list-table.php | 3 +++ 1 file changed, 3 insertions(+) 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 3ab1442d14..8abbbdcb06 100644 --- a/src/wp-admin/includes/class-wp-comments-list-table.php +++ b/src/wp-admin/includes/class-wp-comments-list-table.php @@ -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() { wp_nonce_field( 'fetch-list-' . get_class( $this ), '_ajax_fetch_list_nonce' );