wecodemore/wcm_lang_switch — pull request #10 by stephenh1988 (2013-01-16 01:57:16+00:00)
Title: Fixes bug with format_lang_code

Couple of bugs fixed in this:

- Removes storing of result as a static
- Uses `reset()` rather than `array_shift()` so that it doesn't modify the array