lloc / Multisite-Language-Switcher

WordPress Plugin: Multisite Language Switcher
http://msls.co
134 stars 41 forks source link

Wrong description for current language in widget #49

Closed speccode closed 10 years ago

speccode commented 10 years ago

If you will check "Display link to the current language" option then widget will act weird. I created three sites:

On "PL Test1" blog (no sorting) widget list looks like this: "Display: Flag and description" and "Display: description and flag"

"Display: description only"

"Display: flag only"

On "EN Test2" description and title is "PL Test1". On "DE Test3" description and title is {txt}. DE Test3 is first on list so I guess that somewhere in loop it miss variable.

lloc commented 10 years ago

Do you have the latest MslsOutput.php? Because I was working on this issue: https://github.com/lloc/Multisite-Language-Switcher/blob/master/includes/MslsOutput.php#L59

speccode commented 10 years ago

Yes. I double check your master branch.