Changeset 8111
- Timestamp:
- 06/17/2008 03:07:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r7944 r8111 430 430 ($max_depth != 0 && $max_depth > $depth+1 )) { //whether to descend 431 431 432 for ( $i = 0; $i < sizeof( $children_elements ); $i++ ) { 432 $num_elements = sizeof( $children_elements ); 433 for ( $i = 0; $i < $num_elements; $i++ ) { 433 434 434 435 $child = $children_elements[$i]; … … 443 444 444 445 array_splice( $children_elements, $i, 1 ); 446 $num_elements--; 445 447 $this->display_element( $child, $children_elements, $max_depth, $depth + 1, $args, $output ); 446 448 $i = -1;
Note: See TracChangeset
for help on using the changeset viewer.