Add missing return descriptions and fix formatting of inline documentation introduced in [32644].
See #25408. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a59ebc0ed4
commit
5b06d42c51
@ -375,12 +375,12 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get name of default primary column
|
* Get the name of the default primary column.
|
||||||
*
|
*
|
||||||
* @since 4.3.0
|
* @since 4.3.0
|
||||||
* @access protected
|
* @access protected
|
||||||
*
|
*
|
||||||
* @return string
|
* @return string Name of the default primary column, in this case, 'comment'.
|
||||||
*/
|
*/
|
||||||
protected function get_default_primary_column_name() {
|
protected function get_default_primary_column_name() {
|
||||||
return 'comment';
|
return 'comment';
|
||||||
@ -449,16 +449,15 @@ class WP_Comments_List_Table extends WP_List_Table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate and display row actions links
|
* Generate and display row actions links.
|
||||||
*
|
*
|
||||||
* @since 4.3.0
|
* @since 4.3.0
|
||||||
* @access protected
|
* @access protected
|
||||||
*
|
*
|
||||||
* @param object $comment Comment being acted upon
|
* @param object $comment Comment being acted upon.
|
||||||
* @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
|
|
||||||
*/
|
*/
|
||||||
protected function handle_row_actions( $comment, $column_name, $primary ) {
|
protected function handle_row_actions( $comment, $column_name, $primary ) {
|
||||||
global $comment_status;
|
global $comment_status;
|
||||||
|
Loading…
Reference in New Issue
Block a user