WordPress.org

Make WordPress Core

Changeset 6708


Ignore:
Timestamp:
02/02/08 17:49:37 (8 years ago)
Author:
ryan
Message:

Avoid the 64bit dragons. Fixes #3780 for 2.3 props nbachiyski.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/wp-includes/gettext.php

    r5266 r6708  
    115115        $this->STREAM = $Reader; 
    116116        $magic = $this->readint(); 
    117         if ($magic == ($MAGIC1 & 0xFFFFFFFF) || $magic == ($MAGIC3 & 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms 
     117        if ($magic == $MAGIC1 || $magic == $MAGIC3) { // to make sure it works for 64-bit platforms 
    118118            $this->BYTEORDER = 0; 
    119119        } elseif ($magic == ($MAGIC2 & 0xFFFFFFFF)) { 
Note: See TracChangeset for help on using the changeset viewer.