Make WordPress Core

Ticket #42997: 42997.1.diff

File 42997.1.diff, 712 bytes (added by soulseekah, 8 years ago)

Naming

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

     
    134134                        'post_type' => $post_type,
    135135                );
    136136
     137                /**
     138                 * Filters the arguments for the comment query in the comments list table.
     139                 *
     140                 * @since trunk
     141                 *
     142                 * @param array $args An array of get_comments() arguments.
     143                 */
     144                $args = apply_filters( 'comments_list_table_query_args', $args );
     145
    137146                $_comments = get_comments( $args );
    138147                if ( is_array( $_comments ) ) {
    139148                        update_comment_cache( $_comments );