Docs: Correct @return description for WP_List_Table::handle_row_actions().

Props pbiron.
Fixes #49170.
Built from https://develop.svn.wordpress.org/trunk@47058


git-svn-id: http://core.svn.wordpress.org/trunk@46858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-11 17:57:03 +00:00
parent 6a3deacf86
commit d469aa8162
2 changed files with 3 additions and 2 deletions

View File

@ -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 ? '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>' : '';

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-47057';
$wp_version = '5.4-alpha-47058';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.