WordPress.org

Make WordPress Core

Ticket #19581: wp_list_comments_args.diff

File wp_list_comments_args.diff, 550 bytes (added by greenshady, 2 years ago)
  • wp-includes/comment-template.php

     
    14221422                'page' => '', 'per_page' => '', 'avatar_size' => 32, 'reverse_top_level' => null, 'reverse_children' => ''); 
    14231423 
    14241424        $r = wp_parse_args( $args, $defaults ); 
     1425        $r = apply_filters( 'wp_list_comments_args', $r ); 
    14251426 
    14261427        // Figure out what comments we'll be looping through ($_comments) 
    14271428        if ( null !== $comments ) {