Changeset 34993
- Timestamp:
- 10/09/2015 09:02:43 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-comment.php
r34992 r34993 133 133 parent::display_element( $element, $children_elements, $max_depth, $depth, $args, $output ); 134 134 135 // If we're at the max depth, and the current element still has children, loop over those and display them at this level 136 // This is to prevent them being orphaned to the end of the list. 135 /* 136 * If we're at the max depth, and the current element still has children, 137 * loop over those and display them at this level. This is to prevent them 138 * being orphaned to the end of the list. 139 */ 137 140 if ( $max_depth <= $depth + 1 && isset( $children_elements[$id]) ) { 138 141 foreach ( $children_elements[ $id ] as $child )
Note: See TracChangeset
for help on using the changeset viewer.