Hi :)
I have a strange problem, i was able to analyze a bit, but i don't know enough about wordpress to fix it myself.
it all starts with calling add_items(), then this calls add_singular_items(), this calls add_post_hierarchy(). From there add_path_parents is called while rewrite['slug'] contains something like <unlocalizedPageName>/<unlocalizedPageName>.
Within add_path_parents the first get_page_by_path doesn't return an object, but the second time below it returns the unlocalized object.
So add_post_parents is called and get_the_title() returns the unlocalized title from the parent.
However the breadcrumb seems to localize the second page, but not the first one. This leeds to a breadcrumb similiar like <localizedHomePageName>/<unlocalizedPage>/<localizedSubpage>/<someOtherParameter>
Hi :) I have a strange problem, i was able to analyze a bit, but i don't know enough about wordpress to fix it myself.
it all starts with calling add_items(), then this calls add_singular_items(), this calls add_post_hierarchy(). From there add_path_parents is called while rewrite['slug'] contains something like
<unlocalizedPageName>/<unlocalizedPageName>
. Within add_path_parents the first get_page_by_path doesn't return an object, but the second time below it returns the unlocalized object. So add_post_parents is called and get_the_title() returns the unlocalized title from the parent.However the breadcrumb seems to localize the second page, but not the first one. This leeds to a breadcrumb similiar like
<localizedHomePageName>/<unlocalizedPage>/<localizedSubpage>/<someOtherParameter>