From b310f8ddc0d81a6a2638acee8df79bf1fcfb2f61 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 31 May 2015 01:37:36 +0000 Subject: [PATCH] Fix formatting and add missing return descriptions for inline documentation introduced in [32644] for `WP_MS_Users_List_Table`. See #25408. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32666 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-ms-users-list-table.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/includes/class-wp-ms-users-list-table.php b/src/wp-admin/includes/class-wp-ms-users-list-table.php index d7b7145fca..d05a6f1e72 100644 --- a/src/wp-admin/includes/class-wp-ms-users-list-table.php +++ b/src/wp-admin/includes/class-wp-ms-users-list-table.php @@ -325,28 +325,27 @@ class WP_MS_Users_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, 'username'. */ protected function get_default_primary_column_name() { return 'username'; } /** - * Generate and display row actions links + * Generate and display row actions links. * * @since 4.3.0 * @access protected * - * @param object $user User being acted upon - * @param string $column_name Current column name - * @param string $primary Primary column name - * - * @return string + * @param object $user User being acted upon. + * @param string $column_name Current column name. + * @param string $primary Primary column name. + * @return string Row actions output for users in Multisite. */ protected function handle_row_actions( $user, $column_name, $primary ) { $super_admins = get_super_admins(); @@ -361,8 +360,7 @@ class WP_MS_Users_List_Table extends WP_List_Table { } /** - * Filter the action links displayed under each user - * in the Network Admin Users list table. + * Filter the action links displayed under each user in the Network Admin Users list table. * * @since 3.2.0 *