[wp-trac] [WordPress Trac] #52932: Rest Api enum validation does not work correctly WordPress 5.7
WordPress Trac
noreply at wordpress.org
Sun Mar 28 15:15:23 UTC 2021
#52932: Rest Api enum validation does not work correctly WordPress 5.7
---------------------------+-----------------------
Reporter: stefanjoebstl | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.7.1
Component: REST API | Version: 5.7
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: rest-api
---------------------------+-----------------------
Comment (by stefanjoebstl):
Thanks for the really fast answer @TimothyBlynJacobs ,
with integer it works as expected. But maybe you should consider the
number with zero fractional part to work again, because in earlier
versions it also worked if I used the number with the integer enum.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52932#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list