[wp-trac] [WordPress Trac] #65271: REST API Integer Type Check Fails on Large Ints

WordPress Trac noreply at wordpress.org
Tue May 19 15:09:42 UTC 2026


#65271: REST API Integer Type Check Fails on Large Ints
--------------------------+------------------------------
 Reporter:  kevinfodness  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  trunk
 Severity:  minor         |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by kevinfodness):

 Correction on the math in the original description - in the `2^53 < x <
 2^54` bucket only one out of every four numbers ''will work'' and the
 remaining 3 ''will fail'', so it gets worse the higher the numbers go.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65271#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list