[wp-trac] [WordPress Trac] #65271: REST API Integer Type Check Fails on Large Ints
WordPress Trac
noreply at wordpress.org
Wed May 20 03:15:52 UTC 2026
#65271: REST API Integer Type Check Fails on Large Ints
----------------------------------------+-----------------------------
Reporter: kevinfodness | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version: trunk
Severity: minor | Resolution:
Keywords: needs-unit-tests has-patch | Focuses:
----------------------------------------+-----------------------------
Comment (by gautam23):
Okay so I put together a small patch for this. I handles the leading and
trailing spaces and also kept support for signs to keep it as close to the
current implementation as possible.
While I think I covered all edge cases, let me know if I missed something!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65271#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list