mirror of
git://develop.git.wordpress.org/
synced 2025-03-17 18:39:51 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@41737 602fd350-edb4-49c9-b593-d223f7449a82