From cb1ea6f5c81aa408b95cd421e5282dd587dcf695 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 31 May 2015 01:41:28 +0000 Subject: [PATCH] Fix syntax and add missing return descriptions for inline documentation introduced in [32644] for `WP_Posts_List_Table`. See #25408. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32668 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-posts-list-table.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index 59ef296b72..ee819c8ab3 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -984,28 +984,27 @@ class WP_Posts_List_Table extends WP_List_Table { } /** - * Get name of default primary column + * Get the name of the default primary column. * * @since 4.3.0 * @access protected * - * @return string + * @return string Name of the default primary column, in this case, 'title'. */ protected function get_default_primary_column_name() { return( 'title' ); } /** - * Generate and display row actions links + * Generate and display row actions links. * * @since 4.3.0 * @access protected * - * @param object $post Post being acted upon - * @param string $column_name Current column name - * @param string $primary Primary column name - * - * @return string + * @param object $post Post being acted upon. + * @param string $column_name Current column name. + * @param string $primary Primary column name. + * @return string Row actions output for posts. */ protected function handle_row_actions( $post, $column_name, $primary ) { $title = _draft_or_post_title();