From 8e9d235218459ff7eda5d0718d42a08a07149d4b Mon Sep 17 00:00:00 2001
From: Paul Biron <paul@sparrowhawkcomputing.com>
Date: Sat, 11 Jan 2020 09:13:17 -0700
Subject: [PATCH] Correct description of return value in DocBlock of
WP_List_Table::handle_row_actions().
---
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 7ddef7fc03..9ecc6659e8 100644
|
a
|
b
|
class WP_List_Table { |
| 1373 | 1373 | * @param object $item The item being acted upon. |
| 1374 | 1374 | * @param string $column_name Current column name. |
| 1375 | 1375 | * @param string $primary Primary column name. |
| 1376 | | * @return string The row actions HTML, or an empty string if the current column is the primary column. |
| | 1376 | * @return string The row actions HTML, or an empty string if the current column is not the primary column. |
| 1377 | 1377 | */ |
| 1378 | 1378 | protected function handle_row_actions( $item, $column_name, $primary ) { |
| 1379 | 1379 | return $column_name === $primary ? '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>' : ''; |