Support for bigint IDs
-
Hi
I have WP site with bigint post IDs, i.e. 1099013653123751516
My server setup is 64bit, so serverside it is not a problem. But my browser is 32bit, so 1099013653123751516 gets rounded to 1099013653123751600 (it’s treated as a float by JS).Suggestion: change the following lines in regenerate-thumbnails.php
//line 162
$ids = (count($images)?"'":"").implode( "','", $images ).(count($images)?"'":"");//line 176
$ids = (count($ids)?"'":"").implode( "','", $ids ).(count($ids)?"'":"");This will output ids to JS as strings, not numbers.
The topic ‘Support for bigint IDs’ is closed to new replies.