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.

Built from https://develop.svn.wordpress.org/trunk@33668


git-svn-id: http://core.svn.wordpress.org/trunk@33635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-08-20 20:22:25 +00:00
parent 4254f22c2d
commit 89c39e7eab
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-33667';
$wp_version = '4.4-alpha-33668';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.