From 0af6d275b017981c92d3eb90b96d51509ddc74a3 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 20 Aug 2015 20:21:45 +0000 Subject: [PATCH] Docs: Clarify the different return conditions in the DocBlock for `WP_List_Table->handle_row_actions()`. This clarification follows the introduction of primary columns in 4.3. See #33313. Props morganestes. Fixes #33436. git-svn-id: https://develop.svn.wordpress.org/trunk@33668 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-list-table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index 17e96898bb..d67b24ce6d 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -1260,7 +1260,7 @@ class WP_List_Table { * @param object $item The item being acted upon. * @param string $column_name Current column name. * @param string $primary Primary column name. - * @return string The row actions output. In this case, an empty string. + * @return string The row actions HTML, or an empty string if the current column is the primary column. */ protected function handle_row_actions( $item, $column_name, $primary ) { return $column_name == $primary ? '' : '';