[wp-trac] [WordPress Trac] #63836: Use more appropriate HTTP status codes for wp_die

WordPress Trac noreply at wordpress.org
Mon Sep 1 21:32:51 UTC 2025


#63836: Use more appropriate HTTP status codes for wp_die
-----------------------------------+-------------------------
 Reporter:  kkmuffme               |       Owner:  callumbw95
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  6.9
Component:  General                |     Version:
 Severity:  minor                  |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:
-----------------------------------+-------------------------

Comment (by westonruter):

 Just left a review on the PR as well. I missed the discussion above about
 `423 Locked`. I think it is appropriate to use it, but if not, then the
 `409 Conflict` would be more specific than `400 Bad Request`.

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


More information about the wp-trac mailing list