[wp-trac] [WordPress Trac] #16464: get_term_by() returns WP_Error as well

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 5 13:36:41 UTC 2011


#16464: get_term_by() returns WP_Error as well
--------------------------+------------------------------
 Reporter:  hakre         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by hakre):

 The root cause for this is that `get_term()` does return WP_Error.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16464#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list