Make WordPress Core


Ignore:
Timestamp:
01/11/2020 05:56:15 PM (4 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-posts-list-table.php

    r46596 r47059  
    13211321     * @param string $column_name Current column name.
    13221322     * @param string $primary     Primary column name.
    1323      * @return string Row actions output for posts.
     1323     * @return string Row actions output for posts, or an empty string
     1324     *                if the current column is not the primary column.
    13241325     */
    13251326    protected function handle_row_actions( $post, $column_name, $primary ) {
Note: See TracChangeset for help on using the changeset viewer.