[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 07:43:33 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-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+--------------------------

Comment (by wildworks):

 I tested the latest patch ([https://github.com/WordPress/wordpress-
 develop/pull/8975 PR 8975]) and it works fine.

 - Create a new post.
 - Insert a Site logo, Site Tagline, and Site Logo block.
 - Make changes to the blocks.
 - Save the post.
   - Before: 400 error occurred.
   - After: The post is saved successfully and the settings are updated
 correctly.

 @johnbillion @Mamaduka I think this patch can be shipped, what are your
 thoughts on this? Or is there a different approach?

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


More information about the wp-trac mailing list