[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 27 14:25:24 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:  closed
 Priority:  normal                    |   Milestone:  6.9
Component:  Options, Meta APIs        |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+--------------------------
Changes (by johnbillion):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60357" 60357]:
 {{{
 #!CommitTicketReference repository="" revision="60357"
 Options, Meta APIs: Account for URL query parameters when checking the
 validity of requests to the `/wp/v2/settings` REST API route.

 Follow-up to [60301].

 Props sheldorofazeroth, Mamaduka, wildworks, johnbillion

 Fixes #41604
 }}}

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


More information about the wp-trac mailing list