[wp-trac] [WordPress Trac] #29278: wp_update_term does not update the term_group value for the term

WordPress Trac noreply at wordpress.org
Wed Aug 20 17:03:09 UTC 2014


#29278: wp_update_term does not update the term_group value for the term
--------------------------+-----------------------------
 Reporter:  djm1119       |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.0
Component:  Taxonomy      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"29549"]:
 {{{
 #!CommitTicketReference repository="" revision="29549"
 `wp_update_term()` should mimic `wp_insert_term()` and set a value for
 `$term_group` before the `alias_of` logic runs. This ensures that
 `$term_group` exists when `compact()` is called.

 See [28461].
 Fixes #29278.
 }}}

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


More information about the wp-trac mailing list