[wp-trac] [WordPress Trac] #47313: Handle error in wp_insert_term if writing to the term_taxonomy table fails

WordPress Trac noreply at wordpress.org
Sat May 18 18:34:31 UTC 2019


#47313: Handle error in wp_insert_term if writing to the term_taxonomy table fails
--------------------------+-----------------------------
 Reporter:  mbabker       |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.3
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:3 johnbillion]:
 > The error message could probably be clarified a bit. How about `Could
 not insert term taxonomy relationship into the database.`.

 I've considered this, but thought it might be a bit more confusing, since
 the message is about the `term_taxonomy` table, not `term_relationships`.

 "Term taxonomy" wording is used in quite a few DocBlocks, so the message
 seems fine as is to me.

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


More information about the wp-trac mailing list