[wp-trac] [WordPress Trac] #41370: REST API: Attempting to create an existing term yields HTTP 500

WordPress Trac noreply at wordpress.org
Sun Dec 3 18:10:07 UTC 2017


#41370: REST API: Attempting to create an existing term yields HTTP 500
-------------------------------------------------+-------------------------
 Reporter:  jnylen0                              |       Owner:  kadamwhite
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  4.9
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  good-first-bug has-unit-tests has-   |     Focuses:  rest-api
  patch commit                                   |
-------------------------------------------------+-------------------------

Comment (by rachelbaker):

 In [changeset:"42350"]:
 {{{
 #!CommitTicketReference repository="" revision="42350"
 REST API: Add existing term_id to the error data object when attempting to
 create a duplicate term.

 Props shooper, coleh.
 Fixes #42597. See #41370.
 }}}

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


More information about the wp-trac mailing list