From 3725befcd871ea2876eb667e7f08cb1987eac15d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 31 May 2015 01:22:28 +0000 Subject: [PATCH] Fix formatting and add a missing return description for inline documentation introduced in [32644] for `WP_Links_List_Table`. See #25408. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@32661 602fd350-edb4-49c9-b593-d223f7449a82 --- .../includes/class-wp-links-list-table.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/wp-admin/includes/class-wp-links-list-table.php b/src/wp-admin/includes/class-wp-links-list-table.php index 922b3fe399..471a877ed1 100644 --- a/src/wp-admin/includes/class-wp-links-list-table.php +++ b/src/wp-admin/includes/class-wp-links-list-table.php @@ -140,12 +140,11 @@ class WP_Links_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, 'name'. */ protected function get_default_primary_column_name() { return 'name'; @@ -251,16 +250,15 @@ class WP_Links_List_Table extends WP_List_Table { } /** - * Generate and display row actions links + * Generate and display row actions for links. * - * @since 4.3 + * @since 4.3.0 * @access protected * - * @param object $link Link being acted upon - * @param string $column_name Current column name - * @param string $primary Primary column name - * - * @return string + * @param object $link Link being acted upon. + * @param string $column_name Current column name. + * @param string $primary Primary column name. + * @return string Row action output for links. */ protected function handle_row_actions( $link, $column_name, $primary ) { if( $primary === $column_name ) {