[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
Fri May 17 22:28:04 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:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"45362" 45362]:
{{{
#!CommitTicketReference repository="" revision="45362"
Taxonomy: In `wp_insert_term()`, handle an error if writing to the
`term_taxonomy` table fails.
This complements the check for successful writing to the `terms` table,
added in [7430].
Props mbabker.
Fixes #47313.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47313#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list