[wp-trac] [WordPress Trac] #32786: In get_edit_term_link: $term validation

WordPress Trac noreply at wordpress.org
Thu Jun 25 16:52:01 UTC 2015


#32786: In get_edit_term_link: $term validation
-------------------------+------------------------------
 Reporter:  tmatsuur     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:  4.2.2
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------
Changes (by MikeHansenMe):

 * keywords:   => has-patch


Comment:

 [attachment: 32786.diff] checks term for WP_Error or null which are the 2
 values get_term can return if it is not valid.

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


More information about the wp-trac mailing list