From a9812be2d9fb7e1cd0e8e83abfe755c0e0ee09c8 Mon Sep 17 00:00:00 2001 From: Dennis Ploetner Date: Mon, 27 Nov 2023 17:01:57 +0100 Subject: [PATCH 1/2] Version 2.3.0 --- .gitignore | 1 + MslsSelect.php | 4 ++-- composer.json | 2 +- phpunit.xml | 25 +++++++++++++------------ readme.txt | 15 ++++++++++----- 5 files changed, 27 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 85b9398..a6c6901 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ composer.lock +phpunit.xml.bak .phpunit.result.cache .idea/ vendor/ diff --git a/MslsSelect.php b/MslsSelect.php index c6692ed..42e911b 100644 --- a/MslsSelect.php +++ b/MslsSelect.php @@ -4,7 +4,7 @@ Plugin Name: MslsSelect Plugin URI: https://github.com/lloc/MslsSelect Description: Transforms the output of the Multisite Language Switcher to an HTML select -Version: 2.2.7 +Version: 2.3.0 Author: Dennis Ploetner Author URI: http://lloc.de/ */ @@ -35,7 +35,7 @@ */ class MslsSelect { - const VERSION = '2.2.7'; + const VERSION = '2.3.0'; public function __construct() { $options = get_option( 'msls' ); diff --git a/composer.json b/composer.json index f70b5b0..ac109c2 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "license": "GPL-2.0-or-later", "homepage": "https://it.wordpress.org/plugins/mslsselect/", "require": { - "php": ">=7.1", + "php": ">=7.4", "composer/installers": "~1.9.0" }, "autoload-dev": { diff --git a/phpunit.xml b/phpunit.xml index 2536cc4..c1594e6 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,12 +1,13 @@ - - - - ./tests/ - - - - - MslsSelect.php - - - \ No newline at end of file + + + + + MslsSelect.php + + + + + ./tests/ + + + diff --git a/readme.txt b/readme.txt index 6b3186a..99b6883 100644 --- a/readme.txt +++ b/readme.txt @@ -3,10 +3,10 @@ Contributors: realloc Donate link: http://www.greenpeace.org/international/ Tags: multilingual, multisite, language, switcher, international, localization, i18n, menu, select-box, html select -Requires at least: 3.6.1 -Tested up to: 6.3 -Requires PHP: 7.1 -Stable tag: 2.2.7 +Requires at least: 5.6 +Tested up to: 6.4 +Requires PHP: 7.4 +Stable tag: 2.3.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -26,6 +26,11 @@ But if you look for an **easy way** to change the output of the _Multisite Langu == Changelog == += 2.3.0 = +* Tested WordPress 6.4 +* Set PHP 7.4 as a minimum requirement +* Set WordPress 5.6 as a minimum requirement + = 2.2.7 = * WordPress 6.3 tested * Small enhancements @@ -68,7 +73,7 @@ But if you look for an **easy way** to change the output of the _Multisite Langu * include output_current_blog right after activation = 1.1 = -* fix backwards compatibility +* fix backwards compatibility2.2.6 = 1.0 = * tagged as stable From fae764ed96c94622471e723fb435300069ccbd7a Mon Sep 17 00:00:00 2001 From: Dennis Ploetner Date: Mon, 27 Nov 2023 17:03:38 +0100 Subject: [PATCH 2/2] Fix readme.txt --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 99b6883..2113350 100644 --- a/readme.txt +++ b/readme.txt @@ -73,7 +73,7 @@ But if you look for an **easy way** to change the output of the _Multisite Langu * include output_current_blog right after activation = 1.1 = -* fix backwards compatibility2.2.6 +* fix backwards compatibility = 1.0 = * tagged as stable