From f63dc802cb8831b0b14b852ea976b968535faa61 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 10 Jan 2016 00:52:25 +0000 Subject: [PATCH] Comments: Correct the docblocks for various methods in the comment list table class. See #32246 Built from https://develop.svn.wordpress.org/trunk@36248 git-svn-id: http://core.svn.wordpress.org/trunk@36215 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../includes/class-wp-comments-list-table.php | 22 +++++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/wp-admin/includes/class-wp-comments-list-table.php b/wp-admin/includes/class-wp-comments-list-table.php index 320860d235..fe5e8dfca0 100644 --- a/wp-admin/includes/class-wp-comments-list-table.php +++ b/wp-admin/includes/class-wp-comments-list-table.php @@ -510,9 +510,9 @@ class WP_Comments_List_Table extends WP_List_Table { * * @global string $comment_status Status for the current listed comments. * - * @param object $comment Comment being acted upon. - * @param string $column_name Current column name. - * @param string $primary Primary column name. + * @param WP_Comment $comment The comment object. + * @param string $column_name Current column name. + * @param string $primary Primary column name. * @return string|void Comment row actions output. */ protected function handle_row_actions( $comment, $column_name, $primary ) { @@ -621,7 +621,7 @@ class WP_Comments_List_Table extends WP_List_Table { /** * - * @param object $comment + * @param WP_Comment $comment The comment object. */ public function column_cb( $comment ) { if ( $this->user_can ) { ?> @@ -632,7 +632,7 @@ class WP_Comments_List_Table extends WP_List_Table { } /** - * @param object $comment + * @param WP_Comment $comment The comment object. */ public function column_comment( $comment ) { echo '
'; @@ -672,7 +672,7 @@ class WP_Comments_List_Table extends WP_List_Table { * * @global string $comment_status * - * @param object $comment + * @param WP_Comment $comment The comment object. */ public function column_author( $comment ) { global $comment_status; @@ -712,6 +712,8 @@ class WP_Comments_List_Table extends WP_List_Table { /** * @access public + * + * @param WP_Comment $comment The comment object. */ public function column_date( $comment ) { echo '