get_category_parents can still be used for #6055