diff options
author | John Blackbourn <johnbillion@git.wordpress.org> | 2025-06-11 17:40:44 +0000 |
---|---|---|
committer | John Blackbourn <johnbillion@git.wordpress.org> | 2025-06-11 17:40:44 +0000 |
commit | eeb8fbf81bfc3fe83efd9bc327ac5015211b76b7 (patch) | |
tree | abb7fb8ba7baff85d8629577eb2eb950c7f6a2d2 /src/js/_enqueues/admin/user-profile.js | |
parent | 1f9d279390123225ef9dba85db54b58a8a2537d3 (diff) | |
download | wordpress-trunk.tar.gz wordpress-trunk.zip |
REST API: Return a more appropriate HTTP 400 response code when attempting to create or update a non-existent setting.HEADtrunk
This switches the response from a 200, which is not appropriate for invalid requests.
Props sheldorofazeroth, johnbillion
Fixes #41604
git-svn-id: https://develop.svn.wordpress.org/trunk@60301 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/_enqueues/admin/user-profile.js')
0 files changed, 0 insertions, 0 deletions