[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:42:25 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 second patch "corrects" the return value for the function
 {{{get_term_by()}}} based on the information in the function's docblock
 comment (return false on error).

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

More information about the wp-trac mailing list