[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
Mon Dec 1 15:01:43 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:  dev-feedback        |     Focuses:  rest-api
--------------------------------+--------------------------

Comment (by SergeyBiryukov):

 In [changeset:"61335" 61335]:
 {{{
 #!CommitTicketReference repository="" revision="61335"
 Options, Meta APIs: Revert additional request validity handling that was
 added to the `/wp/v2/settings` REST API route. This change needs more work
 to account for URL query parameters used in place of body data.

 This reverts [60357] and [60301].

 Reviewed by johnbillion, SergeyBiryukov.
 Merges [61324] to the 6.9 branch.

 See #41604.
 }}}

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


More information about the wp-trac mailing list