We are using your plugin on several sites, thanks a lot… Recently we run into interesting bug when adding new menu locations, it just didn’t work correctly. It turns out that in your get_next_menu_location_id() function, you use last() function, to get last array element in order to get last menu id, and in multilingual environments there was a language, instead of a number, so $last_id + 1 didn’t work correctly, when $last_id was “en”.
Since we are using free version of your plugin, and we can not expect fast fixes, we fixed it for now ourselves, by using fourth element of the array, instead of the last one ($menu_id = $parts;).
Hopefully this is not going to break it 🙂 please let us know if this makes sense, and if it does, please fix in your code that for all of us! thanks!
- The topic ‘Bug in multilingual environment (Polylang)’ is closed to new replies.