WordPress.org

Make WordPress Core

Opened 11 months ago

Closed 11 months ago

Last modified 11 months ago

#49170 closed defect (bug) (fixed)

incorrect description of return value in DocBlock of WP_List_Table::handle_row_actions()

Reported by: pbiron Owned by: SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: docs Cc:

Description

Currently the text reads:

The row actions HTML, or an empty string if the current column is the primary column.

and it should read:

The row actions HTML, or an empty string if the current column is not the primary column.

Attachments (1)

49170.diff (1.3 KB) - added by pbiron 11 months ago.

Download all attachments as: .zip

Change History (5)

@pbiron
11 months ago

#1 @pbiron
11 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
11 months ago

  • Milestone changed from Awaiting Review to 5.4
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @SergeyBiryukov
11 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 47058:

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

Props pbiron.
Fixes #49170.

#4 @SergeyBiryukov
11 months ago

In 47059:

Docs: Synchronize @return descriptions for ::handle_row_actions() methods in list tables.

Make sure WP_Comments_List_Table::handle_row_actions() and WP_MS_Sites_List_Table::handle_row_actions() return a string, for consistency with other classes.

See #49170, #48303.

Note: See TracTickets for help on using tickets.