summaryrefslogtreecommitdiffstats
path: root/wp-includes/gettext.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-11-30 18:54:22 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-11-30 18:54:22 +0000
commit9415bbca12c01c39da58e0ed2c4e6b44ff833e5d (patch)
tree72e6c3da0cf5b18f808b7b5002ffd41f3edc0904 /wp-includes/gettext.php
parent475ef251608d4d8a4d44a86d99693c416a1159fd (diff)
downloadwordpress-mu-9415bbca12c01c39da58e0ed2c4e6b44ff833e5d.tar.gz
wordpress-mu-9415bbca12c01c39da58e0ed2c4e6b44ff833e5d.tar.xz
wordpress-mu-9415bbca12c01c39da58e0ed2c4e6b44ff833e5d.zip
WP Merge to 4559
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@816 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/gettext.php')
-rw-r--r--wp-includes/gettext.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/wp-includes/gettext.php b/wp-includes/gettext.php
index cd08044..ed94ca9 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);
}
}