Changeset 12079 for trunk/wp-includes/pomo/mo.php
- Timestamp:
- 10/21/2009 07:06:55 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pomo/mo.php
r11626 r12079 3 3 * Class for working with MO files 4 4 * 5 * @version $Id: mo.php 106 2009-04-23 19:48:22Z nbachiyski $5 * @version $Id: mo.php 221 2009-09-07 21:08:21Z nbachiyski $ 6 6 * @package pomo 7 7 * @subpackage mo … … 11 11 require_once dirname(__FILE__) . '/streams.php'; 12 12 13 if ( !class_exists( 'MO' ) ): 13 14 class MO extends Gettext_Translations { 14 15 … … 96 97 97 98 function get_byteorder($magic) { 98 99 99 // The magic is 0x950412de 100 100 … … 103 103 $magic_little_64 = (int) 2500072158; 104 104 // 0xde120495 105 $magic_big = ((int) - 569244523) && 0xFFFFFFFF; 106 105 $magic_big = ((int) - 569244523) & 0xFFFFFFFF; 107 106 if ($magic_little == $magic || $magic_little_64 == $magic) { 108 107 return 'little'; … … 183 182 184 183 } 185 ?> 184 endif;
Note: See TracChangeset
for help on using the changeset viewer.