Fix for broken taxonomy links and empty hreflang-headers as reported in https://wordpress.org/support/topic/language-links-in-frontend-damaged-in-10