X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/cc7b1505cd9fafd87c3672f669e13e98b0c544f7..022dfbbbe3215917d84708eb09acca93b21ae9e0:/wp-includes/gettext.php diff --git a/wp-includes/gettext.php b/wp-includes/gettext.php index cd080444..ed94ca9e 100644 --- a/wp-includes/gettext.php +++ b/wp-includes/gettext.php @@ -63,10 +63,12 @@ class gettext_reader { function readint() { if ($this->BYTEORDER == 0) { // low endian - return array_shift(unpack('V', $this->STREAM->read(4))); + $low_end = unpack('V', $this->STREAM->read(4)); + return array_shift($low_end); } else { // big endian - return array_shift(unpack('N', $this->STREAM->read(4))); + $big_end = unpack('N', $this->STREAM->read(4)); + return array_shift($big_end); } }