[wp-trac] [WordPress Trac] #31954: `wp_update_term()` doesn't check for `null` after `get_term()`

WordPress Trac noreply at wordpress.org
Mon Apr 13 01:20:59 UTC 2015


#31954: `wp_update_term()` doesn't check for `null` after `get_term()`
--------------------------+-----------------------------
 Reporter:  dlh           |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Taxonomy      |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"32117"]:
 {{{
 #!CommitTicketReference repository="" revision="32117"
 `wp_update_term()` should check if `get_term()` returned null.

 props dlh.
 fixes #31954.
 }}}

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


More information about the wp-trac mailing list