mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@21559 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -286,8 +286,6 @@ function _wp_menu_item_classes_by_context( &$menu_items ) {
|
||||
}
|
||||
}
|
||||
}
|
||||
} elseif ( ! empty( $queried_object->post_type ) && is_post_type_hierarchical( $queried_object->post_type ) ) {
|
||||
_get_post_ancestors( $queried_object );
|
||||
} elseif ( ! empty( $queried_object->taxonomy ) && is_taxonomy_hierarchical( $queried_object->taxonomy ) ) {
|
||||
$term_hierarchy = _get_term_hierarchy( $queried_object->taxonomy );
|
||||
$term_to_ancestor = array();
|
||||
|
||||
Reference in New Issue
Block a user