Ticket #14518: objects-not-own-ancestors.14518.diff
| File objects-not-own-ancestors.14518.diff, 1015 bytes (added by , 16 years ago) |
|---|
-
wp-includes/nav-menu-template.php
403 403 'post_type' == $parent_item->type && 404 404 ! empty( $queried_object->post_type ) && 405 405 is_post_type_hierarchical( $queried_object->post_type ) && 406 in_array( $parent_item->object_id, $queried_object->ancestors ) 406 in_array( $parent_item->object_id, $queried_object->ancestors ) && 407 $parent_item->object != $queried_object->ID 407 408 ) || 408 409 409 410 // ancestral term 410 411 ( 411 412 'taxonomy' == $parent_item->type && 412 413 isset( $possible_taxonomy_ancestors[ $parent_item->object ] ) && 413 in_array( $parent_item->object_id, $possible_taxonomy_ancestors[ $parent_item->object ] ) 414 in_array( $parent_item->object_id, $possible_taxonomy_ancestors[ $parent_item->object ] ) && 415 $parent_item->object_id != $queried_object->term_id 414 416 ) 415 417 ) 416 418 ) {
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)