lloc/Multisite-Language-Switcher — Issue #13: use case of the $plugin parameter in MslsOptions::get_flag_url() is unclear
Author: TobiasBg
Created: 2011-11-26 22:01:46+00:00
State: open

While working on issue #12 and the corresponding pull request, I stumbled upon the $plugin parameter in MslsOptions::get_flag_url(). It seems to be used as a way to stop the manual icon/flag URL to be used. However, in the backend it is only used on /wp-admin/edit.php, but not in other places where the flag icons are shown. This seems to be inconsistent.

If the purpose of the parameter is to load flags in the backend from the plugin subfolder, the parameter would need to be added in a few more function calls.