mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 16:21:26 +01:00
fe29c9c881
Fixes an issue where submitting a well-formed request to create a term inappropriately returns a 500 error status if that term already exists. HTTP 5xx error codes should be reserved for unexpected server errors, so "409 Conflict" is a more appropriate response. Props alibasheer, guzzilar, shooper. Fixes #41370. Built from https://develop.svn.wordpress.org/trunk@41737 git-svn-id: http://core.svn.wordpress.org/trunk@41571 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-rest-attachments-controller.php | ||
class-wp-rest-comments-controller.php | ||
class-wp-rest-controller.php | ||
class-wp-rest-post-statuses-controller.php | ||
class-wp-rest-post-types-controller.php | ||
class-wp-rest-posts-controller.php | ||
class-wp-rest-revisions-controller.php | ||
class-wp-rest-settings-controller.php | ||
class-wp-rest-taxonomies-controller.php | ||
class-wp-rest-terms-controller.php | ||
class-wp-rest-users-controller.php |