[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
Thu Jun 5 13:12:31 UTC 2025
#41604: REST API: Attempting to create or update a non-existent setting doesn't
return an error response
----------------------------------------+-----------------------------
Reporter: johnbillion | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses: rest-api
----------------------------------------+-----------------------------
Changes (by johnbillion):
* keywords: has-patch => has-patch needs-unit-tests
* milestone: Awaiting Review => Future Release
Comment:
This is looking good, but we'll need tests for this change too. Is that
something you can look at @sheldorofazeroth? A good starting point would
be the existing tests in `tests/phpunit/tests/rest-api`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41604#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list