[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 Jun 23 00:40:57 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 needs-unit-tests | Focuses: rest-api
----------------------------------------+--------------------------
Comment (by wildworks):
@sheldorofazeroth could you check the following points?
- The Settings API doesn't accept URL parameters, so I believe
`$request->get_url_params()` can be removed.
- Let's add unit tests. See
https://core.trac.wordpress.org/ticket/41604?replyto=20#comment:19
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41604#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list