Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesMissing hfreflang attribute for content's own language #114
Comments
This comment has been minimized.
This comment has been minimized.
Tested, works, closed with f0b6e57. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
Mlp_Hreflang_Header_Output::wp_head()
resp.Mlp_Hreflang_Header_Output::http_header()
only the available translations are searched - excluding the current base content.
That should be included, though :
https://support.google.com/webmasters/answer/189077?hl=en
So maybe
Mlp_Hreflang_Header_Output::get_translations()
should passarray( 'include_base' => TRUE )
when fetching the available translations:https://github.com/inpsyde/multilingual-press/blob/36d312c80c053e4932282df401cd2a776d285511/inc/hreflang-header/Mlp_Hreflang_Header_Output.php#L98