[wp-trac] [WordPress Trac] #54740: REST API: oneOf validation behaves unexpectedly with strings/arrays

WordPress Trac noreply at wordpress.org
Tue Jan 4 20:02:13 UTC 2022


#54740: REST API: oneOf validation behaves unexpectedly with strings/arrays
--------------------------+------------------------------
 Reporter:  ryelle        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  5.6
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by ryelle):

 * Attachment "54740.diff" added.

 test case

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54740>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list