Changeset 3419741
- Timestamp:
- 12/15/2025 06:38:54 AM (4 months ago)
- Location:
- linguise
- Files:
-
- 8 edited
- 1 copied
-
tags/2.2.10 (copied) (copied from linguise/trunk)
-
tags/2.2.10/linguise.php (modified) (2 diffs)
-
tags/2.2.10/readme.txt (modified) (2 diffs)
-
tags/2.2.10/src/constants.php (modified) (1 diff)
-
tags/2.2.10/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/linguise.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/constants.php (modified) (1 diff)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linguise/tags/2.2.10/linguise.php
r3415968 r3419741 5 5 * Plugin URI: https://www.linguise.com/ 6 6 * Description: Linguise translation plugin 7 * Version:2.2. 97 * Version:2.2.10 8 8 * Text Domain: linguise 9 9 * Domain Path: /languages … … 739 739 } 740 740 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 } 743 745 } 744 746 }, 11); -
linguise/tags/2.2.10/readme.txt
r3415968 r3419741 4 4 Requires at least: 4.0 5 5 Tested up to: 6.9 6 Stable tag: 2.2. 96 Stable tag: 2.2.10 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 107 107 108 108 == Changelog == 109 = 2.2.10 = 110 - Fix: Do not sent linguise_lang cookie header if already sent 109 111 110 112 = 2.2.9 = -
linguise/tags/2.2.10/src/constants.php
r3415968 r3419741 1 1 <?php 2 2 if (!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'); 4 4 } 5 5 6 6 if (!defined('LINGUISE_VERSION')) { 7 define('LINGUISE_VERSION', '2.2. 9');7 define('LINGUISE_VERSION', '2.2.10'); 8 8 } -
linguise/tags/2.2.10/vendor/composer/installed.php
r3415968 r3419741 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 3a5d90b0a02e8b9f93e23bd919ed10104e385b23',6 'reference' => '0925ed80d947105bcec40828b854aaeefa08e6c7', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 32 32 'pretty_version' => 'dev-master', 33 33 'version' => 'dev-master', 34 'reference' => ' 3a5d90b0a02e8b9f93e23bd919ed10104e385b23',34 'reference' => '0925ed80d947105bcec40828b854aaeefa08e6c7', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../../', -
linguise/trunk/linguise.php
r3415968 r3419741 5 5 * Plugin URI: https://www.linguise.com/ 6 6 * Description: Linguise translation plugin 7 * Version:2.2. 97 * Version:2.2.10 8 8 * Text Domain: linguise 9 9 * Domain Path: /languages … … 739 739 } 740 740 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 } 743 745 } 744 746 }, 11); -
linguise/trunk/readme.txt
r3415968 r3419741 4 4 Requires at least: 4.0 5 5 Tested up to: 6.9 6 Stable tag: 2.2. 96 Stable tag: 2.2.10 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 107 107 108 108 == Changelog == 109 = 2.2.10 = 110 - Fix: Do not sent linguise_lang cookie header if already sent 109 111 110 112 = 2.2.9 = -
linguise/trunk/src/constants.php
r3415968 r3419741 1 1 <?php 2 2 if (!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'); 4 4 } 5 5 6 6 if (!defined('LINGUISE_VERSION')) { 7 define('LINGUISE_VERSION', '2.2. 9');7 define('LINGUISE_VERSION', '2.2.10'); 8 8 } -
linguise/trunk/vendor/composer/installed.php
r3415968 r3419741 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 3a5d90b0a02e8b9f93e23bd919ed10104e385b23',6 'reference' => '0925ed80d947105bcec40828b854aaeefa08e6c7', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 32 32 'pretty_version' => 'dev-master', 33 33 'version' => 'dev-master', 34 'reference' => ' 3a5d90b0a02e8b9f93e23bd919ed10104e385b23',34 'reference' => '0925ed80d947105bcec40828b854aaeefa08e6c7', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.