Changeset 4198 for trunk/wp-includes/classes.php
- Timestamp:
- 09/19/2006 11:56:28 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/classes.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r4196 r4198 389 389 if ( $flat) { 390 390 // Start the element. 391 if ( $element->$id_field != 0 ) {391 if ( isset($element->$id_field) && $element->$id_field != 0 ) { 392 392 $cb_args = array_merge( array($output, $element, $depth - 1), $args); 393 393 $output = call_user_func_array(array(&$this, 'start_el'), $cb_args); … … 395 395 396 396 // End the element. 397 if ( $element->$id_field != 0 ) {397 if ( isset($element->$id_field) && $element->$id_field != 0 ) { 398 398 $cb_args = array_merge( array($output, $element, $depth - 1), $args); 399 399 $output = call_user_func_array(array(&$this, 'end_el'), $cb_args); … … 584 584 } 585 585 586 if ( $show_count )586 if ( isset($show_count) && $show_count ) 587 587 $link .= ' ('.intval($category->category_count).')'; 588 588 589 if ( $show_date ) {589 if ( isset($show_date) && $show_date ) { 590 590 $link .= ' ' . gmdate('Y-m-d', $category->last_update_timestamp); 591 591 }
Note: See TracChangeset
for help on using the changeset viewer.