[wp-trac] [WordPress Trac] #62932: Fatal error in rest api with invalid inputs

WordPress Trac noreply at wordpress.org
Wed Feb 12 21:22:08 UTC 2025


#62932: Fatal error in rest api with invalid inputs
----------------------------+-----------------------
 Reporter:  dd32            |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  low             |   Milestone:  6.8
Component:  REST API        |     Version:
 Severity:  trivial         |  Resolution:
 Keywords:  php8 has-patch  |     Focuses:  rest-api
----------------------------+-----------------------

Comment (by TimothyBlynJacobs):

 Yeah, I agree with @peterwilsoncc. Erroring to the user makes the most
 sense to me. Helpful to know what you're doing wrong, as opposed to just
 seeing a random 404 or something.

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


More information about the wp-trac mailing list