mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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:
parent
6a3deacf86
commit
d469aa8162
@ -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>' : '';
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user