id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 24548 _wp_menu_item_classes_by_context assumes $queried_object->ancestors is an array wpsmith "Recently, on a site using [http://wordpress.org/plugins/cpt-onomies/ CPT-onomies], I ran into an interesting error with _wp_menu_item_classes_by_context(). In this function, when setting the parent class, there is a large if statement that assumes that `$queried_object->ancestors` and `$possible_taxonomy_ancestors[ $parent_item->object ]` are arrays." defect (bug) new normal Menus normal has-patch dev-feedback