[wp-trac] [WordPress Trac] #41604: REST API: Attempting to create or update a non-existent setting doesn't return an error response

WordPress Trac noreply at wordpress.org
Fri Jun 13 10:28:10 UTC 2025


#41604: REST API: Attempting to create or update a non-existent setting doesn't
return an error response
----------------------------------------+--------------------------
 Reporter:  johnbillion                 |       Owner:  johnbillion
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:  6.9
Component:  Options, Meta APIs          |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-unit-tests needs-patch  |     Focuses:  rest-api
----------------------------------------+--------------------------

Comment (by johnbillion):

 I think that makes sense. Let's give it a try. You can use my tests from
 https://github.com/WordPress/wordpress-develop/pull/8967 and add any more
 that you see fit.

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


More information about the wp-trac mailing list