Make WordPress Core


Ignore:
Timestamp:
01/11/2020 05:56:15 PM (5 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r46685 r47059  
    447447     * @param string  $column_name Current column name.
    448448     * @param string  $primary     Primary column name.
    449      * @return string Row actions output for terms.
     449     * @return string Row actions output for terms, or an empty string
     450     *                if the current column is not the primary column.
    450451     */
    451452    protected function handle_row_actions( $tag, $column_name, $primary ) {
Note: See TracChangeset for help on using the changeset viewer.