From 1824604fc09700c2842b66e87823ddaefc588a8c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 11 Jan 2020 17:55:49 +0000 Subject: [PATCH] Docs: Correct `@return` description for `WP_List_Table::handle_row_actions()`. Props pbiron. Fixes #49170. git-svn-id: https://develop.svn.wordpress.org/trunk@47058 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-list-table.php | 3 ++- 1 file changed, 2 insertions(+), 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 7ddef7fc03..1f078edb42 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -1373,7 +1373,8 @@ 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 HTML, or an empty string if the current column is the primary column. + * @return string The row actions HTML, or an empty string + * if the current column is not the primary column. */ protected function handle_row_actions( $item, $column_name, $primary ) { return $column_name === $primary ? '' : '';