1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-06 23:06:59 +02:00

Bump version to 3.0.244

This commit is contained in:
Ryan Cramer
2025-01-10 14:13:34 -05:00
parent 4e678c1584
commit f22739a54c
3 changed files with 11 additions and 3 deletions

View File

@@ -1065,6 +1065,14 @@ $config->pageNameCharset = 'ascii';
*
* Please note this whitelist is only used if pageNameCharset is 'UTF8'.
*
* If your ProcessWire version is 3.0.244+ AND your installation date was before 10 Jan 2025,
* AND you are enabling UTF8 page names now, please add the text `v3` (without the quotes)
* at the beginning or end of your pageNameWhitelist. This will ensure that it uses a
* newer/better UTF-8 page name conversion. The older version is buggy on PHP versions 7.4+,
* but is used for existing installations so as not to unexpectedly change any existing page
* names. When a new ProcessWire installation occurs after 5 Jan 2025 it automatically uses
* the newer/better version and does not require anything further.
*
* @var string
*
*/

View File

@@ -17,7 +17,7 @@ require_once(__DIR__ . '/boot.php');
* ~~~~~
* #pw-body
*
* ProcessWire 3.x, Copyright 2024 by Ryan Cramer
* ProcessWire 3.x, Copyright 2025 by Ryan Cramer
* https://processwire.com
*
* Default API vars (A-Z)
@@ -80,7 +80,7 @@ class ProcessWire extends Wire {
* Reversion revision number
*
*/
const versionRevision = 243;
const versionRevision = 244;
/**
* Version suffix string (when applicable)

View File

@@ -1181,7 +1181,7 @@ class Sanitizer extends Wire {
if($version) break;
}
}
if(!$version) $version = $config->installedAfter('2025-01-04') ? 3 : 1;
if(!$version) $version = $config->installedAfter('2025-01-10') ? 3 : 1;
if(!function_exists('idn_to_utf8')) $version = 2;
if($version >= 3 && version_compare(phpversion(), '7.4.0', '<')) $version = 2;
return $version;