For some reason it was *re-escaping* single-quoted strings; this would lead to corruption in LocalisationUpdate.
array( '\\\'' => '\'', '\\\\' => '\\' ) );
if ( $str !== '' && @$str[0] == '"' )
// Double-quoted string
array( '\\\'' => '\'', '\\\\' => '\\' ) );
if ( $str !== '' && @$str[0] == '"' )
// Double-quoted string
- return strtr( stripcslashes( substr( $str, 1, -1 ) ),
- array( '\'' => '\\\'' ) );
+ return stripcslashes( substr( $str, 1, -1 ) );
if ( substr( $str, 0, 4 ) == 'true' )
return true;
if ( substr( $str, 0, 5 ) == 'false' )
if ( substr( $str, 0, 4 ) == 'true' )
return true;
if ( substr( $str, 0, 5 ) == 'false' )