[wp-trac] [WordPress Trac] #16717: Wrong error handling in query.php::get_posts()

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 22 20:07:52 UTC 2011


#16717: Wrong error handling in query.php::get_posts()
------------------------------------+---------------------
 Reporter:  fabifott                |       Owner:
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  3.1.1
Component:  Query                   |     Version:  3.1
 Severity:  minor                   |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------

Comment (by automattor):

 (In [17527]) Return false instead of WP_Error from get_term_by() if the
 term does not exist. Makes fetching a term by id consistent with slug and
 name. Props hakre. fixes #16464 #16717 for 3.1

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


More information about the wp-trac mailing list