Add salc_languages filter to allow developers to customize which languages are displayed in the admin bar dropdown. See the Customization section for details.
2.0.5 (2024-10-31)
Fix PHP 8.2 deprecation notice on mb_convert_encoding.
2.0.4 (2021-07-27)
Lower the permissions check – anybody with “read” permissions (e.g., subscriber) can change their locale with the dropdown when logged into the admin.
Hide the language switcher on the front end – the top admin bar is affected by site language, not the user’s choice (opened trac ticket for that)
2.0.3 (2021-05-08)
Replace textdomain kbnt-salc with simple-admin-language-change to make it work with GlotPress (more info)
2.0.2 (2021-05-03)
Fix security issues
Check for the empty nonce.
Escape translations.
2.0.1 (2021-05-03)
Fix security issues (thanks @ErwanLR from WPScan for reporting!)
Check for the empty nonce.
Check for user permission within ajax request.
Retrieve current user ID within the request.
Make error messages translatable.
2.0.0 (2021-05-02)
Drop the old functionality replaced by an integrated solution since WordPress 4.7
Add a simple select box into the admin bar instead.