[wp-trac] [WordPress Trac] #29614: wp_update_term() shouldn't allow a term to be assigned to a missing parent

WordPress Trac noreply at wordpress.org
Thu Oct 9 18:11:19 UTC 2014


#29614: wp_update_term() shouldn't allow a term to be assigned to a missing parent
-----------------------------+---------------------------
 Reporter:  danielbachhuber  |       Owner:  boonebgorges
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  4.1
Component:  Taxonomy         |     Version:
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29867"]:
 {{{
 #!CommitTicketReference repository="" revision="29867"
 Return an error when adding a term to a non-existent parent.

 Parallels the logic of wp_insert_term(), introduced in [29196].

 Props jesin.
 Fixes #29614.
 }}}

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


More information about the wp-trac mailing list