]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/pomo/streams.php
WordPress 4.2
[autoinstalls/wordpress.git] / wp-includes / pomo / streams.php
index 8215e2ddaffca6c769d79c926fcf5ee61a9c8643..8e50ab4eac57914bbe1f6aa6de9492f087ca100b 100644 (file)
@@ -40,7 +40,7 @@ class POMO_Reader {
                        return false;
                $endian_letter = ('big' == $this->endian)? 'N' : 'V';
                $int = unpack($endian_letter, $bytes);
-               return array_shift($int);
+               return reset( $int );
        }
 
        /**