Skip to content

Commit

Permalink
Phpstan issues 1 (#406)
Browse files Browse the repository at this point in the history
* Components fixed

* Ongoing PHPStan issue addressed

* Ongoing PHPStan issue addressed

* Workflow added

* Integration deleted

* Badges added

* Badges design modified

* Version 2.9.5
  • Loading branch information
lloc authored Nov 30, 2024
1 parent 3f2322c commit a613157
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 367 deletions.
382 changes: 41 additions & 341 deletions Changelog.md

Large diffs are not rendered by default.

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.9.4
* Version: 2.9.5
* 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 <[email protected]>
*/
if ( ! defined( 'MSLS_PLUGIN_VERSION' ) ) {
define( 'MSLS_PLUGIN_VERSION', '2.9.4' );
define( 'MSLS_PLUGIN_VERSION', '2.9.5' );
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.

20 changes: 10 additions & 10 deletions css/flags.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,40 +31,40 @@
'cs_CZ' => 'flag-icon-cz',
'cy' => 'flag-icon-gb-wls',
'da_DK' => 'flag-icon-dk',
'de_CH' => 'flag-icon-ch',
'de_CH_informal' => 'flag-icon-ch',
'de_AT' => 'flag-icon-at',
'de_DE' => 'flag-icon-de',
'de_DE_formal' => 'flag-icon-de',
'de_CH' => 'flag-icon-ch',
'dzo' => 'flag-icon-bt',
'el' => 'flag-icon-gr',
'en_GB' => 'flag-icon-gb',
'en_NZ' => 'flag-icon-nz',
'en_AU' => 'flag-icon-au',
'en_CA' => 'flag-icon-ca',
'en_GB' => 'flag-icon-gb',
'en_ZA' => 'flag-icon-za',
'en_NZ' => 'flag-icon-nz',
'eo' => 'flag-icon-eu',
'es_ES' => 'flag-icon-es',
'es_PE' => 'flag-icon-pe',
'es_AR' => 'flag-icon-ar',
'es_MX' => 'flag-icon-mx',
'es_CO' => 'flag-icon-co',
'es_CL' => 'flag-icon-cl',
'es_VE' => 'flag-icon-ve',
'es_EC' => 'flag-icon-ec',
'es_DO' => 'flag-icon-do',
'es_UY' => 'flag-icon-uy',
'es_PR' => 'flag-icon-pr',
'es_PE' => 'flag-icon-pe',
'es_GT' => 'flag-icon-gt',
'es_CR' => 'flag-icon-cr',
'es_MX' => 'flag-icon-mx',
'es_ES' => 'flag-icon-es',
'et' => 'flag-icon-ee',
'eu' => 'flag-icon-es',
'fa_AF' => 'flag-icon-af',
'fa_IR' => 'flag-icon-ir',
'fi' => 'flag-icon-fi',
'fr_CA' => 'flag-icon-ca',
'fr_FR' => 'flag-icon-fr',
'fr_BE' => 'flag-icon-be',
'fr_CA' => 'flag-icon-ca',
'fur' => 'flag-icon-it',
'gd' => 'flag-icon-gb-sct',
'gl_ES' => 'flag-icon-es',
Expand Down Expand Up @@ -97,17 +97,17 @@
'my_MM' => 'flag-icon-mm',
'nb_NO' => 'flag-icon-no',
'ne_NP' => 'flag-icon-np',
'nl_NL_formal' => 'flag-icon-nl',
'nl_NL' => 'flag-icon-nl',
'nl_BE' => 'flag-icon-be',
'nl_NL_formal' => '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_BR' => 'flag-icon-br',
'pt_PT_ao90' => 'flag-icon-90',
'pt_PT' => 'flag-icon-pt',
'pt_PT_ao90' => 'flag-icon-90',
'pt_AO' => 'flag-icon-ao',
'ro_RO' => 'flag-icon-ro',
'ru_RU' => 'flag-icon-ru',
Expand All @@ -133,9 +133,9 @@
'ur' => 'flag-icon-pk',
'uz_UZ' => 'flag-icon-uz',
'vi' => 'flag-icon-vn',
'zh_CN' => 'flag-icon-cn',
'zh_TW' => 'flag-icon-tw',
'zh_HK' => 'flag-icon-hk',
'zh_CN' => 'flag-icon-cn',
);

/**
Expand Down
20 changes: 10 additions & 10 deletions flags/flags.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,40 +31,40 @@
'cs_CZ' => 'cz.png',
'cy' => 'wales.png',
'da_DK' => 'dk.png',
'de_CH' => 'ch.png',
'de_CH_informal' => 'ch.png',
'de_AT' => 'at.png',
'de_DE' => 'de.png',
'de_DE_formal' => 'de.png',
'de_CH' => 'ch.png',
'dzo' => 'bt.png',
'el' => 'gr.png',
'en_GB' => 'gb.png',
'en_NZ' => 'nz.png',
'en_AU' => 'au.png',
'en_CA' => 'ca.png',
'en_GB' => 'gb.png',
'en_ZA' => 'za.png',
'en_NZ' => 'nz.png',
'eo' => 'europeanunion.png',
'es_ES' => 'es.png',
'es_PE' => 'pe.png',
'es_AR' => 'ar.png',
'es_MX' => 'mx.png',
'es_CO' => 'co.png',
'es_CL' => 'cl.png',
'es_VE' => 've.png',
'es_EC' => 'ec.png',
'es_DO' => 'do.png',
'es_UY' => 'uy.png',
'es_PR' => 'pr.png',
'es_PE' => 'pe.png',
'es_GT' => 'gt.png',
'es_CR' => 'cr.png',
'es_MX' => 'mx.png',
'es_ES' => 'es.png',
'et' => 'ee.png',
'eu' => 'es.png',
'fa_AF' => 'af.png',
'fa_IR' => 'ir.png',
'fi' => 'fi.png',
'fr_CA' => 'ca.png',
'fr_FR' => 'fr.png',
'fr_BE' => 'be.png',
'fr_CA' => 'ca.png',
'fur' => 'it.png',
'gd' => 'scotland.png',
'gl_ES' => 'es.png',
Expand Down Expand Up @@ -97,17 +97,17 @@
'my_MM' => 'mm.png',
'nb_NO' => 'no.png',
'ne_NP' => 'np.png',
'nl_NL_formal' => 'nl.png',
'nl_NL' => 'nl.png',
'nl_BE' => 'be.png',
'nl_NL_formal' => 'nl.png',
'nn_NO' => 'no.png',
'oci' => 'catalonia.png',
'pa_IN' => 'in.png',
'pl_PL' => 'pl.png',
'ps' => 'af.png',
'pt_BR' => 'br.png',
'pt_PT_ao90' => '90.png',
'pt_PT' => 'pt.png',
'pt_PT_ao90' => '90.png',
'pt_AO' => 'ao.png',
'ro_RO' => 'ro.png',
'ru_RU' => 'ru.png',
Expand All @@ -133,9 +133,9 @@
'ur' => 'pk.png',
'uz_UZ' => 'uz.png',
'vi' => 'vn.png',
'zh_CN' => 'cn.png',
'zh_TW' => 'tw.png',
'zh_HK' => 'hk.png',
'zh_CN' => 'cn.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.9.4",
"version": "2.9.5",
"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
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Tags: multilingual, multisite, language, switcher, localization
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 2.9.4
Stable tag: 2.9.5
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.9.4",
"version": "2.9.5",
"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 a613157

Please sign in to comment.