Changeset 13938
- Timestamp:
- 04/02/2010 05:13:57 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-template.php
r13932 r13938 1313 1313 } 1314 1314 unset( $children_elements[ $id ] ); 1315 } elseif ( $max_depth <= $depth + 1 && isset( $children_elements[$id]) ) {1316 // this elseif block is the only change from Walker::display_element()1317 foreach( $children_elements[ $id ] as $child )1318 $this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output );1319 unset( $children_elements[ $id ] );1320 1315 } 1321 1316 … … 1329 1324 $cb_args = array_merge( array(&$output, $element, $depth), $args); 1330 1325 call_user_func_array(array(&$this, 'end_el'), $cb_args); 1326 1327 if ( $max_depth <= $depth + 1 && isset( $children_elements[$id]) ) { 1328 // this if block is the only change from Walker::display_element() 1329 foreach ( $children_elements[ $id ] as $child ) 1330 $this->display_element( $child, $children_elements, $max_depth, $depth, $args, $output ); 1331 unset( $children_elements[ $id ] ); 1332 } 1333 1331 1334 } 1332 1335
Note: See TracChangeset
for help on using the changeset viewer.