Skip to content

Commit

Permalink
Merge pull request #355 from lloc/refactoring-2-9
Browse files Browse the repository at this point in the history
Version 2.8.2
  • Loading branch information
lloc authored Jul 22, 2024
2 parents c727dc4 + 2cfc86f commit f387e7f
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 29 deletions.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.8.2

- Bugfix: Content filter

## 2.8.1

- Bugfix: Category link
Expand Down
4 changes: 2 additions & 2 deletions MultisiteLanguageSwitcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @wordpress-plugin
*
* Plugin Name: Multisite Language Switcher
* Version: 2.8.1
* Version: 2.8.2
* Plugin URI: http://msls.co/
* Description: A simple but powerful plugin that will help you to manage the relations of your contents in a multilingual multisite-installation.
* Author: Dennis Ploetner
Expand Down Expand Up @@ -40,7 +40,7 @@
* @author Dennis Ploetner <re@lloc.de>
*/
if ( ! defined( 'MSLS_PLUGIN_VERSION' ) ) {
define( 'MSLS_PLUGIN_VERSION', '2.8.1' );
define( 'MSLS_PLUGIN_VERSION', '2.8.2' );
define( 'MSLS_PLUGIN_PATH', plugin_basename( __FILE__ ) );
define( 'MSLS_PLUGIN__FILE__', __FILE__ );

Expand Down
2 changes: 1 addition & 1 deletion build/translations.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions css/flags.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,32 @@
'cs_CZ' => 'flag-icon-cz',
'cy' => 'flag-icon-gb-ls',
'da_DK' => 'flag-icon-dk',
'de_CH' => 'flag-icon-ch',
'de_AT' => 'flag-icon-at',
'de_DE' => 'flag-icon-de',
'de_DE_formal' => 'flag-icon-de',
'de_CH' => 'flag-icon-ch',
'de_CH_informal' => 'flag-icon-ch',
'de_DE' => 'flag-icon-de',
'dzo' => 'flag-icon-bt',
'el' => 'flag-icon-gr',
'en_CA' => 'flag-icon-ca',
'en_ZA' => 'flag-icon-za',
'en_AU' => 'flag-icon-au',
'en_GB' => 'flag-icon-gb',
'en_AU' => 'flag-icon-au',
'en_NZ' => 'flag-icon-nz',
'en_CA' => 'flag-icon-ca',
'eo' => 'flag-icon-eu',
'es_AR' => 'flag-icon-ar',
'es_CL' => 'flag-icon-cl',
'es_ES' => 'flag-icon-es',
'es_MX' => 'flag-icon-mx',
'es_CO' => 'flag-icon-co',
'es_VE' => 'flag-icon-ve',
'es_CR' => 'flag-icon-cr',
'es_VE' => 'flag-icon-ve',
'es_EC' => 'flag-icon-ec',
'es_DO' => 'flag-icon-do',
'es_PE' => 'flag-icon-pe',
'es_UY' => 'flag-icon-uy',
'es_PR' => 'flag-icon-pr',
'es_GT' => 'flag-icon-gt',
'es_CL' => 'flag-icon-cl',
'es_CO' => 'flag-icon-co',
'es_AR' => 'flag-icon-ar',
'et' => 'flag-icon-ee',
'eu' => 'flag-icon-es',
'fa_AF' => 'flag-icon-af',
Expand Down Expand Up @@ -97,16 +97,16 @@
'my_MM' => 'flag-icon-mm',
'nb_NO' => 'flag-icon-no',
'ne_NP' => 'flag-icon-np',
'nl_NL_formal' => 'flag-icon-nl',
'nl_BE' => 'flag-icon-be',
'nl_NL_formal' => 'flag-icon-nl',
'nl_NL' => 'flag-icon-nl',
'nn_NO' => 'flag-icon-no',
'oci' => 'flag-icon-es-ca',
'pa_IN' => 'flag-icon-in',
'pl_PL' => 'flag-icon-pl',
'ps' => 'flag-icon-af',
'pt_PT' => 'flag-icon-pt',
'pt_BR' => 'flag-icon-br',
'pt_PT' => 'flag-icon-pt',
'pt_PT_ao90' => 'flag-icon-90',
'pt_AO' => 'flag-icon-ao',
'ro_RO' => 'flag-icon-ro',
Expand All @@ -133,9 +133,9 @@
'ur' => 'flag-icon-pk',
'uz_UZ' => 'flag-icon-uz',
'vi' => 'flag-icon-vn',
'zh_TW' => 'flag-icon-tw',
'zh_CN' => 'flag-icon-cn',
'zh_HK' => 'flag-icon-hk',
'zh_TW' => 'flag-icon-tw',
);

/**
Expand Down
22 changes: 11 additions & 11 deletions flags/flags.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,32 @@
'cs_CZ' => 'cz.png',
'cy' => 'wales.png',
'da_DK' => 'dk.png',
'de_CH' => 'ch.png',
'de_AT' => 'at.png',
'de_DE' => 'de.png',
'de_DE_formal' => 'de.png',
'de_CH' => 'ch.png',
'de_CH_informal' => 'ch.png',
'de_DE' => 'de.png',
'dzo' => 'bt.png',
'el' => 'gr.png',
'en_CA' => 'ca.png',
'en_ZA' => 'za.png',
'en_AU' => 'au.png',
'en_GB' => 'gb.png',
'en_AU' => 'au.png',
'en_NZ' => 'nz.png',
'en_CA' => 'ca.png',
'eo' => 'europeanunion.png',
'es_AR' => 'ar.png',
'es_CL' => 'cl.png',
'es_ES' => 'es.png',
'es_MX' => 'mx.png',
'es_CO' => 'co.png',
'es_VE' => 've.png',
'es_CR' => 'cr.png',
'es_VE' => 've.png',
'es_EC' => 'ec.png',
'es_DO' => 'do.png',
'es_PE' => 'pe.png',
'es_UY' => 'uy.png',
'es_PR' => 'pr.png',
'es_GT' => 'gt.png',
'es_CL' => 'cl.png',
'es_CO' => 'co.png',
'es_AR' => 'ar.png',
'et' => 'ee.png',
'eu' => 'es.png',
'fa_AF' => 'af.png',
Expand Down Expand Up @@ -97,16 +97,16 @@
'my_MM' => 'mm.png',
'nb_NO' => 'no.png',
'ne_NP' => 'np.png',
'nl_NL_formal' => 'nl.png',
'nl_BE' => 'be.png',
'nl_NL_formal' => 'nl.png',
'nl_NL' => 'nl.png',
'nn_NO' => 'no.png',
'oci' => 'catalonia.png',
'pa_IN' => 'in.png',
'pl_PL' => 'pl.png',
'ps' => 'af.png',
'pt_PT' => 'pt.png',
'pt_BR' => 'br.png',
'pt_PT' => 'pt.png',
'pt_PT_ao90' => '90.png',
'pt_AO' => 'ao.png',
'ro_RO' => 'ro.png',
Expand All @@ -133,9 +133,9 @@
'ur' => 'pk.png',
'uz_UZ' => 'uz.png',
'vi' => 'vn.png',
'zh_TW' => 'tw.png',
'zh_CN' => 'cn.png',
'zh_HK' => 'hk.png',
'zh_TW' => 'tw.png',
);

/**
Expand Down
2 changes: 1 addition & 1 deletion js/msls-widget-block/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"icon": "translation",
"category": "widgets",
"name": "lloc/msls-widget-block",
"version": "2.8.1",
"version": "2.8.2",
"description": "Review the settings for the Multisite Language Switcher plugin, as the block utilizes the API function `the_msls()` for its output.",
"example": {},
"supports": {
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Contributors: realloc, lucatume
Donate link: https://www.greenpeace.org/international/
Tags: multilingual, multisite, language, switcher, localization
Requires at least: 6.1
Tested up to: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 2.8.1
Stable tag: 2.8.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down
2 changes: 1 addition & 1 deletion src/msls-widget-block/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"icon": "translation",
"category": "widgets",
"name": "lloc/msls-widget-block",
"version": "2.8.1",
"version": "2.8.2",
"description": "Review the settings for the Multisite Language Switcher plugin, as the block utilizes the API function `the_msls()` for its output.",
"example": {},
"supports": {
Expand Down

0 comments on commit f387e7f

Please sign in to comment.