Files
wordpress/wp-admin/post.php
Weston Ruter 275127f8b3 Posts, Post Types: Use relevant HTTP status codes for wp_die() calls in wp-admin/post.php.
The status code is now explicitly set in each `wp_die()` call so that the default 500 status code is not sent unless it is the most appropriate.

Props callumbw95, kkmuffme, mindctrl, westonruter.
Fixes #63836.

Built from https://develop.svn.wordpress.org/trunk@60713


git-svn-id: http://core.svn.wordpress.org/trunk@60049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-09-06 06:49:31 +00:00

10 KiB