From 4d502263f6188948447f19beacf863e9f2b45a79 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Mon, 11 Oct 2004 18:45:14 +0000 Subject: [PATCH] PHP 5 fix from http://www.fredfred.net/skriker/index.php?p=84 There be dragons here git-svn-id: https://develop.svn.wordpress.org/trunk@1779 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/gettext.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-includes/gettext.php b/wp-includes/gettext.php index 8c7ee5942d..af314336dc 100755 --- a/wp-includes/gettext.php +++ b/wp-includes/gettext.php @@ -53,8 +53,10 @@ class gettext_reader { return; } - $MAGIC1 = (int)0x950412de; - $MAGIC2 = (int)0xde120495; + // $MAGIC1 = (int)0x950412de; //bug in PHP 5 + $MAGIC1 = (int) - 1794895138; + // $MAGIC2 = (int)0xde120495; //bug + $MAGIC2 = (int) - 569244523; $this->STREAM = $Reader;