Changeset 35931
- Timestamp:
- 12/14/2015 07:36:05 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r35877 r35931 1331 1331 $comments_flat = array(); 1332 1332 foreach ( $_comments as $_comment ) { 1333 $comments_flat = array_merge( $comments_flat, array( $_comment ), $_comment->get_children( array( 1333 $comments_flat[] = $_comment; 1334 $comment_children = $_comment->get_children( array( 1334 1335 'format' => 'flat', 1335 1336 'status' => $comment_args['status'], 1336 1337 'orderby' => $comment_args['orderby'] 1337 ) ) ); 1338 ) ); 1339 1340 foreach ( $comment_children as $comment_child ) { 1341 $comments_flat[] = $comment_child; 1342 } 1338 1343 } 1339 1344
Note: See TracChangeset
for help on using the changeset viewer.