Ticket #35419: 35419-src.diff
File 35419-src.diff, 608 bytes (added by , 9 years ago) |
---|
-
wp-includes/comment-template.php
1323 1323 'count' => true, 1324 1324 'orderby' => false, 1325 1325 'post_id' => $post->ID, 1326 'parent' => 0,1327 1326 'status' => 'approve', 1328 1327 ); 1329 1328 1329 if ( $comment_args['hierarchical'] ) { 1330 $top_level_args['parent'] = 0; 1331 } 1332 1330 1333 if ( isset( $comment_args['include_unapproved'] ) ) { 1331 1334 $top_level_args['include_unapproved'] = $comment_args['include_unapproved']; 1332 1335 }