Make WordPress Core

Ticket #42997: 42997.diff

File 42997.diff, 701 bytes (added by soulseekah, 8 years ago)

Concept

  • src/wp-admin/includes/class-wp-comments-list-table.php

     
    134134                        'post_type' => $post_type,
    135135                );
    136136
     137                /**
     138                 * Filters the comments listed in the comments list table.
     139                 *
     140                 * @since trunk
     141                 *
     142                 * @param array $args The arguments to the following get_comments calls.
     143                 */
     144                $args = apply_filters( 'comment_list_table_args', $args );
     145
    137146                $_comments = get_comments( $args );
    138147                if ( is_array( $_comments ) ) {
    139148                        update_comment_cache( $_comments );