Hreflang language IDs being removed on array_flip
-
Hello,
In our wp multisite, we have multiple sites with an hreflang language id of “en-us” or “en-gb”.e.g.
Site ID….HrefLang
1 …….. en-us
2 …….. en-us
3 …….. en-gb
4 …….. en-gbWithin the hreflang add_links class, when the function get_language_id( $blog_id ) runs the array_flip( $this->language_blogs->to_array() ) it removes 2 values and i am left with:
en-us => 2
en-gb => 4This same thing happens in the Hreflang wp_head(). Can you fix this?
btw, Love the plugin!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Hreflang language IDs being removed on array_flip’ is closed to new replies.