Plugin Directory

Changeset 3419741


Ignore:
Timestamp:
12/15/2025 06:38:54 AM (4 months ago)
Author:
linguise
Message:

Updating to version 2.2.10

Location:
linguise
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • linguise/tags/2.2.10/linguise.php

    r3415968 r3419741  
    55 * Plugin URI: https://www.linguise.com/
    66 * Description: Linguise translation plugin
    7  * Version:2.2.9
     7 * Version:2.2.10
    88 * Text Domain: linguise
    99 * Domain Path: /languages
     
    739739        }
    740740
    741         // cache for a month
    742         setcookie('linguise_lang', $current_lang, time() + MONTH_IN_SECONDS, '/', COOKIE_DOMAIN);
     741        // cache for a month - ensure header is not sent yet
     742        if (!headers_sent()) {
     743            setcookie('linguise_lang', $current_lang, time() + MONTH_IN_SECONDS, '/', COOKIE_DOMAIN);
     744        }
    743745    }
    744746}, 11);
  • linguise/tags/2.2.10/readme.txt

    r3415968 r3419741  
    44Requires at least: 4.0
    55Tested up to: 6.9
    6 Stable tag: 2.2.9
     6Stable tag: 2.2.10
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    107107
    108108== Changelog ==
     109= 2.2.10 =
     110- Fix: Do not sent linguise_lang cookie header if already sent
    109111
    110112= 2.2.9 =
  • linguise/tags/2.2.10/src/constants.php

    r3415968 r3419741  
    11<?php
    22if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) {
    3     define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.9');
     3    define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.10');
    44}
    55
    66if (!defined('LINGUISE_VERSION')) {
    7     define('LINGUISE_VERSION', '2.2.9');
     7    define('LINGUISE_VERSION', '2.2.10');
    88}
  • linguise/tags/2.2.10/vendor/composer/installed.php

    r3415968 r3419741  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '3a5d90b0a02e8b9f93e23bd919ed10104e385b23',
     6        'reference' => '0925ed80d947105bcec40828b854aaeefa08e6c7',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    3232            'pretty_version' => 'dev-master',
    3333            'version' => 'dev-master',
    34             'reference' => '3a5d90b0a02e8b9f93e23bd919ed10104e385b23',
     34            'reference' => '0925ed80d947105bcec40828b854aaeefa08e6c7',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../../',
  • linguise/trunk/linguise.php

    r3415968 r3419741  
    55 * Plugin URI: https://www.linguise.com/
    66 * Description: Linguise translation plugin
    7  * Version:2.2.9
     7 * Version:2.2.10
    88 * Text Domain: linguise
    99 * Domain Path: /languages
     
    739739        }
    740740
    741         // cache for a month
    742         setcookie('linguise_lang', $current_lang, time() + MONTH_IN_SECONDS, '/', COOKIE_DOMAIN);
     741        // cache for a month - ensure header is not sent yet
     742        if (!headers_sent()) {
     743            setcookie('linguise_lang', $current_lang, time() + MONTH_IN_SECONDS, '/', COOKIE_DOMAIN);
     744        }
    743745    }
    744746}, 11);
  • linguise/trunk/readme.txt

    r3415968 r3419741  
    44Requires at least: 4.0
    55Tested up to: 6.9
    6 Stable tag: 2.2.9
     6Stable tag: 2.2.10
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    107107
    108108== Changelog ==
     109= 2.2.10 =
     110- Fix: Do not sent linguise_lang cookie header if already sent
    109111
    110112= 2.2.9 =
  • linguise/trunk/src/constants.php

    r3415968 r3419741  
    11<?php
    22if (!defined('LINGUISE_SCRIPT_TRANSLATION_VERSION')) {
    3     define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.9');
     3    define('LINGUISE_SCRIPT_TRANSLATION_VERSION', 'wordpress_plugin/2.2.10');
    44}
    55
    66if (!defined('LINGUISE_VERSION')) {
    7     define('LINGUISE_VERSION', '2.2.9');
     7    define('LINGUISE_VERSION', '2.2.10');
    88}
  • linguise/trunk/vendor/composer/installed.php

    r3415968 r3419741  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '3a5d90b0a02e8b9f93e23bd919ed10104e385b23',
     6        'reference' => '0925ed80d947105bcec40828b854aaeefa08e6c7',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    3232            'pretty_version' => 'dev-master',
    3333            'version' => 'dev-master',
    34             'reference' => '3a5d90b0a02e8b9f93e23bd919ed10104e385b23',
     34            'reference' => '0925ed80d947105bcec40828b854aaeefa08e6c7',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.