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
This commit is contained in:
John Blackbourn 2016-01-10 00:52:25 +00:00
parent 16fe7012dd
commit f63dc802cb
2 changed files with 14 additions and 10 deletions

View File

@ -510,9 +510,9 @@ class WP_Comments_List_Table extends WP_List_Table {
* *
* @global string $comment_status Status for the current listed comments. * @global string $comment_status Status for the current listed comments.
* *
* @param object $comment Comment being acted upon. * @param WP_Comment $comment The comment object.
* @param string $column_name Current column name. * @param string $column_name Current column name.
* @param string $primary Primary column name. * @param string $primary Primary column name.
* @return string|void Comment row actions output. * @return string|void Comment row actions output.
*/ */
protected function handle_row_actions( $comment, $column_name, $primary ) { 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 ) { public function column_cb( $comment ) {
if ( $this->user_can ) { ?> 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 ) { public function column_comment( $comment ) {
echo '<div class="comment-author">'; echo '<div class="comment-author">';
@ -672,7 +672,7 @@ class WP_Comments_List_Table extends WP_List_Table {
* *
* @global string $comment_status * @global string $comment_status
* *
* @param object $comment * @param WP_Comment $comment The comment object.
*/ */
public function column_author( $comment ) { public function column_author( $comment ) {
global $comment_status; global $comment_status;
@ -712,6 +712,8 @@ class WP_Comments_List_Table extends WP_List_Table {
/** /**
* @access public * @access public
*
* @param WP_Comment $comment The comment object.
*/ */
public function column_date( $comment ) { public function column_date( $comment ) {
echo '<div class="submitted-on">'; echo '<div class="submitted-on">';
@ -728,8 +730,10 @@ class WP_Comments_List_Table extends WP_List_Table {
/** /**
* @access public * @access public
*
* @param WP_Comment $comment The comment object.
*/ */
public function column_response() { public function column_response( $comment ) {
$post = get_post(); $post = get_post();
if ( ! $post ) { if ( ! $post ) {
@ -765,8 +769,8 @@ class WP_Comments_List_Table extends WP_List_Table {
/** /**
* *
* @param object $comment * @param WP_Comment $comment The comment object.
* @param string $column_name * @param string $column_name The custom column's name.
*/ */
public function column_default( $comment, $column_name ) { public function column_default( $comment, $column_name ) {
/** /**

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-36247'; $wp_version = '4.5-alpha-36248';
/** /**
* 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.