Ticket #15214: class-wp-walker.php.patch
File class-wp-walker.php.patch, 591 bytes (added by , 13 years ago) |
---|
-
class-wp-walker.php
125 125 //display this element 126 126 if ( is_array( $args[0] ) ) 127 127 $args[0]['has_children'] = ! empty( $children_elements[$element->$id_field] ); 128 elseif ( is_object( $args[0] ) ) 129 $args[0]->has_children = ! empty( $children_elements[$element->$id_field] ); 128 130 $cb_args = array_merge( array(&$output, $element, $depth), $args); 129 131 call_user_func_array(array(&$this, 'start_el'), $cb_args); 130 132