Ticket #24548: nav-menu-template.php.24548.patch
File nav-menu-template.php.24548.patch, 948 bytes (added by , 11 years ago) |
---|
-
wp-includes/nav-menu-template.php
433 433 'post_type' == $parent_item->type && 434 434 ! empty( $queried_object->post_type ) && 435 435 is_post_type_hierarchical( $queried_object->post_type ) && 436 is_array( $queried_object->ancestors ) && 436 437 in_array( $parent_item->object_id, $queried_object->ancestors ) && 437 438 $parent_item->object != $queried_object->ID 438 439 ) || … … 441 442 ( 442 443 'taxonomy' == $parent_item->type && 443 444 isset( $possible_taxonomy_ancestors[ $parent_item->object ] ) && 445 is_array( $possible_taxonomy_ancestors[ $parent_item->object ] ) && 444 446 in_array( $parent_item->object_id, $possible_taxonomy_ancestors[ $parent_item->object ] ) && 445 447 ( 446 448 ! isset( $queried_object->term_id ) ||