Plugin Directory

Changeset 3414079


Ignore:
Timestamp:
12/08/2025 10:08:26 AM (5 weeks ago)
Author:
realloc
Message:

Update to version 2.10.1 from GitHub

Location:
multisite-language-switcher
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • multisite-language-switcher/tags/2.10.1/MultisiteLanguageSwitcher.php

    r3409411 r3414079  
    44 *
    55 * Plugin Name: Multisite Language Switcher
    6  * Version: 2.10.0
     6 * Version: 2.10.1
    77 * Plugin URI: http://msls.co/
    88 * Description: A simple but powerful plugin that will help you to manage the relations of your contents in a multilingual multisite-installation.
     
    4242 */
    4343if ( ! defined( 'MSLS_PLUGIN_VERSION' ) ) {
    44     define( 'MSLS_PLUGIN_VERSION', '2.10.0' );
     44    define( 'MSLS_PLUGIN_VERSION', '2.10.1' );
    4545    define( 'MSLS_PLUGIN_PATH', plugin_basename( __FILE__ ) );
    4646    define( 'MSLS_PLUGIN__FILE__', __FILE__ );
  • multisite-language-switcher/tags/2.10.1/assets/css-flags/flags.php

    r3409411 r3414079  
    44 * File is auto-generated
    55 *
    6 * 131 translations-teams for WordPress found
     6 * 131 translations-teams for WordPress found
    77 */
    88// Unhandled language: am (Amharic)
     
    3333    'da_DK' => 'flag-icon-dk',
    3434    'de_AT' => 'flag-icon-at',
    35     'de_CH_informal' => 'flag-icon-ch',
    3635    'de_DE' => 'flag-icon-de',
    3736    'de_DE_formal' => 'flag-icon-de',
    3837    'de_CH' => 'flag-icon-ch',
     38    'de_CH_informal' => 'flag-icon-ch',
    3939    'dzo' => 'flag-icon-bt',
    4040    'el' => 'flag-icon-gr',
     
    9898    'nb_NO' => 'flag-icon-no',
    9999    'ne_NP' => 'flag-icon-np',
     100    'nl_BE' => 'flag-icon-be',
    100101    'nl_NL' => 'flag-icon-nl',
    101     'nl_BE' => 'flag-icon-be',
    102102    'nl_NL_formal' => 'flag-icon-nl',
    103103    'nn_NO' => 'flag-icon-no',
  • multisite-language-switcher/tags/2.10.1/assets/flags/flags.php

    r3409411 r3414079  
    44 * File is auto-generated
    55 *
    6 * 131 translations-teams for WordPress found
     6 * 131 translations-teams for WordPress found
    77 */
    88// Unhandled language: am (Amharic)
     
    3333    'da_DK' => 'dk.png',
    3434    'de_AT' => 'at.png',
    35     'de_CH_informal' => 'ch.png',
    3635    'de_DE' => 'de.png',
    3736    'de_DE_formal' => 'de.png',
    3837    'de_CH' => 'ch.png',
     38    'de_CH_informal' => 'ch.png',
    3939    'dzo' => 'bt.png',
    4040    'el' => 'gr.png',
     
    9898    'nb_NO' => 'no.png',
    9999    'ne_NP' => 'np.png',
     100    'nl_BE' => 'be.png',
    100101    'nl_NL' => 'nl.png',
    101     'nl_BE' => 'be.png',
    102102    'nl_NL_formal' => 'nl.png',
    103103    'nn_NO' => 'no.png',
  • multisite-language-switcher/tags/2.10.1/assets/js/msls-widget-block/block.json

    r3409411 r3414079  
    66  "category": "widgets",
    77  "name": "lloc/msls-widget-block",
    8   "version": "2.10.0",
     8  "version": "2.10.1",
    99  "description": "Review the settings for the Multisite Language Switcher plugin, as the block utilizes the API function `the_msls()` for its output.",
    1010  "example": {},
  • multisite-language-switcher/tags/2.10.1/includes/MslsPlugin.php

    r3409411 r3414079  
    207207     * deleted after the uninstall procedure.
    208208     *
    209      * @return boolean
    210      */
    211     public static function uninstall() {
     209     * @return void
     210     */
     211    public static function uninstall(): void {
    212212        /**
    213213         * We want to be sure that the user has not deactivated the
     
    226226        }
    227227
    228         return self::cleanup();
     228        self::cleanup();
    229229    }
    230230
  • multisite-language-switcher/tags/2.10.1/includes/deprectated.php

    r3409411 r3414079  
    66 * Deprecated: Get the output for using the links to the translations in your code.
    77 *
    8  * @deprecated 2.9.7 Use msls_get_the_msls()
     8 * @deprecated 2.10.1 Use msls_get_switcher()
    99 *
    1010 * @param mixed $attr
     
    1414// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    1515function get_the_msls( $attr ): string {
    16     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_get_the_msls' );
     16    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_get_switcher' );
    1717
    1818    return msls_get_switcher( $attr );
     
    2222 * Deprecated: Output the links to the translations in your template.
    2323 *
    24  * @deprecated 2.9.7 Use msls_the_msls()
     24 * @deprecated 2.10.1 Use msls_the_switcher()
    2525 *
    2626 * @param string[] $arr
     
    2828// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    2929function the_msls( array $arr = array() ): void {
    30     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_the_msls' );
     30    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_the_switcher' );
    3131    msls_the_switcher( $arr );
    3232}
     
    3535 * Deprecated: Gets the URL of the country flag-icon for a specific locale.
    3636 *
    37  * @deprecated 2.9.7 Use msls_get_flag_url()
     37 * @deprecated 2.10.1 Use msls_get_flag_url()
    3838 *
    3939 * @param string $locale
     
    4343// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    4444function get_msls_flag_url( string $locale ): string {
    45     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_get_flag_url' );
     45    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_get_flag_url' );
    4646
    4747    return msls_get_flag_url( $locale );
     
    5151 * Deprecated: Gets the description for a blog for a specific locale.
    5252 *
    53  * @deprecated 2.9.7 Use msls_get_blog_description()
     53 * @deprecated 2.10.1 Use msls_get_blog_description()
    5454 *
    5555 * @param string $locale
     
    6060// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    6161function get_msls_blog_description( string $locale, string $preset = '' ): string {
    62     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_get_blog_description' );
     62    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_get_blog_description' );
    6363
    6464    return msls_get_blog_description( $locale, $preset );
     
    6868 * Deprecated: Gets the permalink for a translation of the current post in a given language.
    6969 *
    70  * @deprecated 2.9.7 Use msls_get_permalink()
     70 * @deprecated 2.10.1 Use msls_get_permalink()
    7171 *
    7272 * @param string $locale
     
    7777// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    7878function get_msls_permalink( string $locale, string $preset = '' ): string {
    79     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_get_permalink' );
     79    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_get_permalink' );
    8080
    8181    return msls_get_permalink( $locale, $preset );
  • multisite-language-switcher/tags/2.10.1/vendor/composer/autoload_static.php

    r3287198 r3414079  
    88{
    99    public static $prefixLengthsPsr4 = array (
    10         'l' => 
     10        'l' =>
    1111        array (
    1212            'lloc\\Msls\\' => 10,
    1313        ),
    14         'C' => 
     14        'C' =>
    1515        array (
    1616            'Composer\\Installers\\' => 20,
     
    1919
    2020    public static $prefixDirsPsr4 = array (
    21         'lloc\\Msls\\' => 
     21        'lloc\\Msls\\' =>
    2222        array (
    2323            0 => __DIR__ . '/../..' . '/includes',
    2424        ),
    25         'Composer\\Installers\\' => 
     25        'Composer\\Installers\\' =>
    2626        array (
    2727            0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
  • multisite-language-switcher/tags/2.10.1/vendor/composer/installed.php

    r3409411 r3414079  
    22    'root' => array(
    33        'name' => 'lloc/multisite-language-switcher',
    4         'pretty_version' => '2.10.0',
    5         'version' => '2.10.0.0',
    6         'reference' => '897c7ea2766f60104e532f9183a1eccbbba090ac',
     4        'pretty_version' => '2.10.1',
     5        'version' => '2.10.1.0',
     6        'reference' => 'f04b60335851d0d906a5cf8e738da28726c08131',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'lloc/multisite-language-switcher' => array(
    23             'pretty_version' => '2.10.0',
    24             'version' => '2.10.0.0',
    25             'reference' => '897c7ea2766f60104e532f9183a1eccbbba090ac',
     23            'pretty_version' => '2.10.1',
     24            'version' => '2.10.1.0',
     25            'reference' => 'f04b60335851d0d906a5cf8e738da28726c08131',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
  • multisite-language-switcher/trunk/MultisiteLanguageSwitcher.php

    r3409411 r3414079  
    44 *
    55 * Plugin Name: Multisite Language Switcher
    6  * Version: 2.10.0
     6 * Version: 2.10.1
    77 * Plugin URI: http://msls.co/
    88 * Description: A simple but powerful plugin that will help you to manage the relations of your contents in a multilingual multisite-installation.
     
    4242 */
    4343if ( ! defined( 'MSLS_PLUGIN_VERSION' ) ) {
    44     define( 'MSLS_PLUGIN_VERSION', '2.10.0' );
     44    define( 'MSLS_PLUGIN_VERSION', '2.10.1' );
    4545    define( 'MSLS_PLUGIN_PATH', plugin_basename( __FILE__ ) );
    4646    define( 'MSLS_PLUGIN__FILE__', __FILE__ );
  • multisite-language-switcher/trunk/assets/css-flags/flags.php

    r3409411 r3414079  
    44 * File is auto-generated
    55 *
    6 * 131 translations-teams for WordPress found
     6 * 131 translations-teams for WordPress found
    77 */
    88// Unhandled language: am (Amharic)
     
    3333    'da_DK' => 'flag-icon-dk',
    3434    'de_AT' => 'flag-icon-at',
    35     'de_CH_informal' => 'flag-icon-ch',
    3635    'de_DE' => 'flag-icon-de',
    3736    'de_DE_formal' => 'flag-icon-de',
    3837    'de_CH' => 'flag-icon-ch',
     38    'de_CH_informal' => 'flag-icon-ch',
    3939    'dzo' => 'flag-icon-bt',
    4040    'el' => 'flag-icon-gr',
     
    9898    'nb_NO' => 'flag-icon-no',
    9999    'ne_NP' => 'flag-icon-np',
     100    'nl_BE' => 'flag-icon-be',
    100101    'nl_NL' => 'flag-icon-nl',
    101     'nl_BE' => 'flag-icon-be',
    102102    'nl_NL_formal' => 'flag-icon-nl',
    103103    'nn_NO' => 'flag-icon-no',
  • multisite-language-switcher/trunk/assets/flags/flags.php

    r3409411 r3414079  
    44 * File is auto-generated
    55 *
    6 * 131 translations-teams for WordPress found
     6 * 131 translations-teams for WordPress found
    77 */
    88// Unhandled language: am (Amharic)
     
    3333    'da_DK' => 'dk.png',
    3434    'de_AT' => 'at.png',
    35     'de_CH_informal' => 'ch.png',
    3635    'de_DE' => 'de.png',
    3736    'de_DE_formal' => 'de.png',
    3837    'de_CH' => 'ch.png',
     38    'de_CH_informal' => 'ch.png',
    3939    'dzo' => 'bt.png',
    4040    'el' => 'gr.png',
     
    9898    'nb_NO' => 'no.png',
    9999    'ne_NP' => 'np.png',
     100    'nl_BE' => 'be.png',
    100101    'nl_NL' => 'nl.png',
    101     'nl_BE' => 'be.png',
    102102    'nl_NL_formal' => 'nl.png',
    103103    'nn_NO' => 'no.png',
  • multisite-language-switcher/trunk/assets/js/msls-widget-block/block.json

    r3409411 r3414079  
    66  "category": "widgets",
    77  "name": "lloc/msls-widget-block",
    8   "version": "2.10.0",
     8  "version": "2.10.1",
    99  "description": "Review the settings for the Multisite Language Switcher plugin, as the block utilizes the API function `the_msls()` for its output.",
    1010  "example": {},
  • multisite-language-switcher/trunk/includes/MslsPlugin.php

    r3409411 r3414079  
    207207     * deleted after the uninstall procedure.
    208208     *
    209      * @return boolean
    210      */
    211     public static function uninstall() {
     209     * @return void
     210     */
     211    public static function uninstall(): void {
    212212        /**
    213213         * We want to be sure that the user has not deactivated the
     
    226226        }
    227227
    228         return self::cleanup();
     228        self::cleanup();
    229229    }
    230230
  • multisite-language-switcher/trunk/includes/deprectated.php

    r3409411 r3414079  
    66 * Deprecated: Get the output for using the links to the translations in your code.
    77 *
    8  * @deprecated 2.9.7 Use msls_get_the_msls()
     8 * @deprecated 2.10.1 Use msls_get_switcher()
    99 *
    1010 * @param mixed $attr
     
    1414// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    1515function get_the_msls( $attr ): string {
    16     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_get_the_msls' );
     16    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_get_switcher' );
    1717
    1818    return msls_get_switcher( $attr );
     
    2222 * Deprecated: Output the links to the translations in your template.
    2323 *
    24  * @deprecated 2.9.7 Use msls_the_msls()
     24 * @deprecated 2.10.1 Use msls_the_switcher()
    2525 *
    2626 * @param string[] $arr
     
    2828// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    2929function the_msls( array $arr = array() ): void {
    30     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_the_msls' );
     30    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_the_switcher' );
    3131    msls_the_switcher( $arr );
    3232}
     
    3535 * Deprecated: Gets the URL of the country flag-icon for a specific locale.
    3636 *
    37  * @deprecated 2.9.7 Use msls_get_flag_url()
     37 * @deprecated 2.10.1 Use msls_get_flag_url()
    3838 *
    3939 * @param string $locale
     
    4343// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    4444function get_msls_flag_url( string $locale ): string {
    45     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_get_flag_url' );
     45    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_get_flag_url' );
    4646
    4747    return msls_get_flag_url( $locale );
     
    5151 * Deprecated: Gets the description for a blog for a specific locale.
    5252 *
    53  * @deprecated 2.9.7 Use msls_get_blog_description()
     53 * @deprecated 2.10.1 Use msls_get_blog_description()
    5454 *
    5555 * @param string $locale
     
    6060// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    6161function get_msls_blog_description( string $locale, string $preset = '' ): string {
    62     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_get_blog_description' );
     62    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_get_blog_description' );
    6363
    6464    return msls_get_blog_description( $locale, $preset );
     
    6868 * Deprecated: Gets the permalink for a translation of the current post in a given language.
    6969 *
    70  * @deprecated 2.9.7 Use msls_get_permalink()
     70 * @deprecated 2.10.1 Use msls_get_permalink()
    7171 *
    7272 * @param string $locale
     
    7777// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
    7878function get_msls_permalink( string $locale, string $preset = '' ): string {
    79     _deprecated_function( __FUNCTION__, '2.9.7', 'msls_get_permalink' );
     79    _deprecated_function( __FUNCTION__, '2.10.1', 'msls_get_permalink' );
    8080
    8181    return msls_get_permalink( $locale, $preset );
  • multisite-language-switcher/trunk/vendor/composer/autoload_static.php

    r3287198 r3414079  
    88{
    99    public static $prefixLengthsPsr4 = array (
    10         'l' => 
     10        'l' =>
    1111        array (
    1212            'lloc\\Msls\\' => 10,
    1313        ),
    14         'C' => 
     14        'C' =>
    1515        array (
    1616            'Composer\\Installers\\' => 20,
     
    1919
    2020    public static $prefixDirsPsr4 = array (
    21         'lloc\\Msls\\' => 
     21        'lloc\\Msls\\' =>
    2222        array (
    2323            0 => __DIR__ . '/../..' . '/includes',
    2424        ),
    25         'Composer\\Installers\\' => 
     25        'Composer\\Installers\\' =>
    2626        array (
    2727            0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
  • multisite-language-switcher/trunk/vendor/composer/installed.php

    r3409411 r3414079  
    22    'root' => array(
    33        'name' => 'lloc/multisite-language-switcher',
    4         'pretty_version' => '2.10.0',
    5         'version' => '2.10.0.0',
    6         'reference' => '897c7ea2766f60104e532f9183a1eccbbba090ac',
     4        'pretty_version' => '2.10.1',
     5        'version' => '2.10.1.0',
     6        'reference' => 'f04b60335851d0d906a5cf8e738da28726c08131',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'lloc/multisite-language-switcher' => array(
    23             'pretty_version' => '2.10.0',
    24             'version' => '2.10.0.0',
    25             'reference' => '897c7ea2766f60104e532f9183a1eccbbba090ac',
     23            'pretty_version' => '2.10.1',
     24            'version' => '2.10.1.0',
     25            'reference' => 'f04b60335851d0d906a5cf8e738da28726c08131',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.