- WordPress 6.0 tested
- Improvements in code quality
- Secondary buttons from MetaBoxes removed
- Flags refreshed
- Tested with 5.9
- Bugfix for request
- Flags regenerated (CSS and PNG)
- Content importer
- Flags regenerated (CSS and PNG)
- Filters added to control output of alternate url and blog-permalink url of blog-specific hreflang tags
- Language codes of formal languages map now to the correct flag (de_DE_formal -> de, de_CH_formal -> ch, nl_NL_formal -> nl)
- hotfix call to get_super_admin() is to early
- docs updated for the possibility to remove action for alternative output in hreflang
- admin bar output is now exclusive for super admins
- Notice in HrefLang object
- hotfix for admin-bar primary blog could be excluded
- the value for hrefLang in head is now more specific. It will now return a specific language-code if there are similar locales like 'en_US' and 'en_GB' ('en-US' and 'en-GB' in this case).
- Sites in the admin-bar show now the description-part.
- fix for alternate links for hreflang
- new SVG flags use now the same logic as the PNG flags for getting the right name
- use of \Locale class removed because it expects PHP Intl installed which seems not the standard case
- Min PHP Version is now 7.0
- Code enhancements & Bugfixes
- https://github.com/lloc/Multisite-Language-Switcher/commits/master
- New API functions
get_msls_flag_url( string $language ): string;
get_msls_blog_description( string $language ): bool|string;
get_msls_permalink( string $locale ): string;
- Flags There was a general improvement how MSLS gets the icons
- New filter: 'msls_supported_post_types' is now available if you need MSLS for non-public post types
- Taxonomies ternary stacking problem solved
- Gutenberg block you'll find now also a new block in the widget-category
- New shortcode there is a new shortcode [sc_msls_widget] available that renders the widget
- Language lookup
us
was saved but code looked up foren_US
- Widget namespace from base_id removed
- Admin Options was 2 times called
- Shortcode corrected
- Alternate href links reintegrated
- Content import
- new experimental content import feature introduced
- PHP improvements
- 5.6 is minimum
- MetaBox:
- WordPress Coding Standards
- OptionsPage:
- set American English
- admin language removed
- menu slug corrected
- Tests:
- MslsPostTag* corrected
- blog collection injected
- bootstrap updated
- getMock removed
- .travis.yml updated
- WP-CLI plugin-tests bug fix
- Blog slug:
- save the slug in the primary blog
- Composer:
- psr 0 autoload added
- license updated
- psr 4 autoloader added
- travis deploy added
- Filter:
- filter 'check_url' in get_postlink refactored
- new filter msls_get_postlink introduced
- refactoring get_postlink()
- Namespace:
- namespace completly introduced
- PHP:
- set version 5.6 to minimal requirement
- PhpDox:
- PhpDox for code documentation added
- Rewrites:
- panels added
- Languages:
- languages files for Mexican Spansh (es_MX) by Fernando Mata added
- Fix and enhancements for translated slugs
- Bugfix for issue American English doesn't work with WordPress 4.3
- text domain is now 'multisite-language-switcher', translation files moved to refelect this change
- language files for Bulgarian (bg_BG) by Vencislav Raev added
- admin options page heading is now h1 instead of h2
- Filter 'msls_meta_box_render_select_hierarchical' closes issue 64
- Bugfix for issue 73
- language files for Norwegian (nb_NO) by Ibrahim Qraiqe added
- Bugfix for issue Multisite Language Switcher Options is empty
- language files for Arabic (ar) by Mohamed Elwan added
- Bugfix: alternate hreflang for the current blog was empty
- Filter: 'msls_options_get_flag_icon' introduced
- Shortcode [sc_msls] added
- Bugfix: term links were damaged when term_base option were used
- Bugfix: en_GB & en_US both displayed as 'English' in Settings > MLS >Blog & Admin language
- Filter 'msls_meta_box_render_input_button' introduced
- Bugfix: filter internal types from get_post_stati
- you can choose now your frontend/backend language from the installed languages in the plugins settings
- support for 25 languages
- numerous enhancements and fixes (coding style, sql cache, performance, api docs, unit tests ...)
[...]
- Option to transform the dropdowns for choosing the connections into text-inputs with jquery-ui autocomplete
- Plugin cleans up the option-tables now when uninstalled
- Problem with multiple admin resolved, there is now a "Reference User"-option available
- a lot of new filters/action, more on this later in the Wiki
- now you can use
<?php if ( function_exists( 'msls_filter_string' ) ) msls_filter_string(); ?>
if you'ld like to print the "hint"-string anywhere in your templates - language files for ca_ES by Joan López, cs_CZ by Rastr and bn_BD by Md. Nazmul Huda added
- MslsCustomFilter-Class by Maciej Czerpiński
- and tons of other minor improvements
[...]
- Fix of the "MslsOptionsQueryDay.php"-bug
- language files for es_ES updated by José Luis Pajares
- further bugfixes and enhancements
- a lot of bugfixes and enhancements
- some modifications - how the meta box handles hierarchical post types - by Joost de Keijzer
- behaviour - how the plugin collects the blogs - changed
- language files for ro_RO added
- new: Support for author- and date-archives
- language files for hr_HR added
- some modifications of the image path handling by Tobias Bäthge
[...]
- first version