Skip to content

Commit

Permalink
Merge pull request #3 from lloc/version-230
Browse files Browse the repository at this point in the history
Version 230
  • Loading branch information
lloc authored Nov 27, 2023
2 parents af37b95 + fae764e commit 303336f
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 19 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
composer.lock
phpunit.xml.bak
.phpunit.result.cache
.idea/
vendor/
Expand Down
4 changes: 2 additions & 2 deletions MslsSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -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/
*/
Expand Down Expand Up @@ -35,7 +35,7 @@
*/
class MslsSelect {

const VERSION = '2.2.7';
const VERSION = '2.3.0';

public function __construct() {
$options = get_option( 'msls' );
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
25 changes: 13 additions & 12 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<phpunit>
<testsuites>
<testsuite name="wccta">
<directory>./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<file>MslsSelect.php</file>
</whitelist>
</filter>
</phpunit>
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<file>MslsSelect.php</file>
</include>
</coverage>
<testsuites>
<testsuite name="wccta">
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
13 changes: 9 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 303336f

Please sign in to comment.