From a6eda30d3b5ac31e2eb5a7167b0e665a1700fed7 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Tue, 14 Dec 2010 19:51:13 +0000 Subject: [PATCH] Fix nesting of parentheses. fixes #14995, props duck_, jakub.misek. git-svn-id: https://develop.svn.wordpress.org/trunk@16929 602fd350-edb4-49c9-b593-d223f7449a82 --- .../js/tinymce/plugins/spellchecker/classes/utils/JSON.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php b/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php index 1c46116768..1f2b92caa2 100644 --- a/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php +++ b/wp-includes/js/tinymce/plugins/spellchecker/classes/utils/JSON.php @@ -532,15 +532,15 @@ class Moxiecode_JSON { $i += 2; $output .= sprintf('\u%04s', bin2hex($this->_utf82utf16($char))); } if (($byte & 0xF8) == 0xF0) { - $char = pack('C*', $byte, ord($input[$i + 1]), ord($input[$i + 2], ord($input[$i + 3]))); + $char = pack('C*', $byte, ord($input[$i + 1]), ord($input[$i + 2]), ord($input[$i + 3])); $i += 3; $output .= sprintf('\u%04s', bin2hex($this->_utf82utf16($char))); } if (($byte & 0xFC) == 0xF8) { - $char = pack('C*', $byte, ord($input[$i + 1]), ord($input[$i + 2], ord($input[$i + 3]), ord($input[$i + 4]))); + $char = pack('C*', $byte, ord($input[$i + 1]), ord($input[$i + 2]), ord($input[$i + 3]), ord($input[$i + 4])); $i += 4; $output .= sprintf('\u%04s', bin2hex($this->_utf82utf16($char))); } if (($byte & 0xFE) == 0xFC) { - $char = pack('C*', $byte, ord($input[$i + 1]), ord($input[$i + 2], ord($input[$i + 3]), ord($input[$i + 4]), ord($input[$i + 5]))); + $char = pack('C*', $byte, ord($input[$i + 1]), ord($input[$i + 2]), ord($input[$i + 3]), ord($input[$i + 4]), ord($input[$i + 5])); $i += 5; $output .= sprintf('\u%04s', bin2hex($this->_utf82utf16($char))); } else if ($byte < 128)