[wp-trac] [WordPress Trac] #61838: Uncaught TypeError in multiple REST API endpoints from a single bug

WordPress Trac noreply at wordpress.org
Thu Aug 8 10:02:22 UTC 2024


#61838: Uncaught TypeError in multiple REST API endpoints from a single bug
--------------------------+------------------------------
 Reporter:  mlf20         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  6.2.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by mlf20):

 Agreed.
 Should there be a type check on the parameter that returns a 400 instead
 when it fails?

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


More information about the wp-trac mailing list