mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 15:16:29 +01:00
ce1eb78275
In gettext, `0x950412de` is used to signal GNU MO files. In `WP_Translation_File_MO` this magic marker is used to detect whether a file uses little endian or big endian. On 32 bit systems, this number will be interpreted by PHP as a float rather than an integer. This change adds extra casting to force an integer. A similar change was done in the pomo library in the past, see #3780. Props tmatsuur, swissspidy. Fixes #60678. Built from https://develop.svn.wordpress.org/trunk@57763 git-svn-id: http://core.svn.wordpress.org/trunk@57264 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-translation-controller.php | ||
class-wp-translation-file-mo.php | ||
class-wp-translation-file-php.php | ||
class-wp-translation-file.php | ||
class-wp-translations.php |