Changeset 22118 for trunk/wp-includes/class-wp-walker.php
- Timestamp:
- 10/04/2012 08:00:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-walker.php
r19712 r22118 127 127 $args[0]['has_children'] = ! empty( $children_elements[$element->$id_field] ); 128 128 $cb_args = array_merge( array(&$output, $element, $depth), $args); 129 call_user_func_array(array( &$this, 'start_el'), $cb_args);129 call_user_func_array(array($this, 'start_el'), $cb_args); 130 130 131 131 $id = $element->$id_field; … … 140 140 //start the child delimiter 141 141 $cb_args = array_merge( array(&$output, $depth), $args); 142 call_user_func_array(array( &$this, 'start_lvl'), $cb_args);142 call_user_func_array(array($this, 'start_lvl'), $cb_args); 143 143 } 144 144 $this->display_element( $child, $children_elements, $max_depth, $depth + 1, $args, $output ); … … 150 150 //end the child delimiter 151 151 $cb_args = array_merge( array(&$output, $depth), $args); 152 call_user_func_array(array( &$this, 'end_lvl'), $cb_args);152 call_user_func_array(array($this, 'end_lvl'), $cb_args); 153 153 } 154 154 155 155 //end this element 156 156 $cb_args = array_merge( array(&$output, $element, $depth), $args); 157 call_user_func_array(array( &$this, 'end_el'), $cb_args);157 call_user_func_array(array($this, 'end_el'), $cb_args); 158 158 } 159 159
Note: See TracChangeset
for help on using the changeset viewer.