Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#49170 closed defect (bug) (fixed)

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

Reported by: pbiron's profile pbiron Owned by: sergeybiryukov's profile 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 5 years ago.

Download all attachments as: .zip

Change History (5)

@pbiron
5 years ago

#1 @pbiron
5 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
5 years ago

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

#3 @SergeyBiryukov
5 years 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
5 years 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.