Revision 2009
Added by darkviper almost 11 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
=============================================================================== |
13 | 13 |
|
14 |
27 Nov-2013 Build 2009 Manuela v.d.Decken(DarkViper) |
|
15 |
! framework/functions-utf8::entities_to_7bit() deprecated warning for modifier /e in preg_replace() corrected |
|
14 | 16 |
25 Nov-2013 Build 2008 Manuela v.d.Decken(DarkViper) |
15 | 17 |
! /include/idna_convert protect unneeded files in an zip file. |
16 | 18 |
23 Nov-2013 Build 2007 Manuela v.d.Decken(DarkViper) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
51 | 51 |
|
52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.3'); |
54 |
if(!defined('REVISION')) define('REVISION', '2008');
|
|
54 |
if(!defined('REVISION')) define('REVISION', '2009');
|
|
55 | 55 |
if(!defined('SP')) define('SP', ''); |
branches/2.8.x/wb/framework/functions-utf8.php | ||
---|---|---|
406 | 406 |
// convert to HTML-entities, and replace entites by hex-numbers |
407 | 407 |
$str = utf8_fast_umlauts_to_entities($str, false); |
408 | 408 |
$str = str_replace(''', ''', $str); |
409 |
$str = preg_replace('/&#([0-9]+);/e', "dechex('$1')", $str); |
|
409 |
if (version_compare(PHP_VERSION, '5.3', '<')) { |
|
410 |
$str = preg_replace('/&#([0-9]+);/e', "dechex('$1')", $str); |
|
411 |
} else { |
|
412 |
$str = preg_replace_callback('/&#([0-9]+);/', create_function('$aMatches', 'return dechex($aMatches[1]);'), $str); |
|
413 |
} |
|
410 | 414 |
// maybe there are some > < ' " & left, replace them too |
411 | 415 |
$str = str_replace(array('>', '<', ''', '\'', '"', '&'), '', $str); |
412 | 416 |
$str = str_replace('&', '', $str); |
Also available in: Unified diff
! framework/functions-utf8::entities_to_7bit() deprecated warning for modifier /e in preg_replace() corrected