[wp-trac] [WordPress Trac] #11112: get_term() does not verify for valid output from wpdb::get_row()
WordPress Trac
wp-trac at lists.automattic.com
Tue Nov 10 12:12:06 UTC 2009
#11112: get_term() does not verify for valid output from wpdb::get_row()
--------------------------+-------------------------------------------------
Reporter: johncoswell | Owner: filosofo
Type: defect (bug) | Status: new
Priority: low | Milestone: Unassigned
Component: Taxonomy | Version: 2.9
Severity: minor | Keywords: reporter-feedback
--------------------------+-------------------------------------------------
Changes (by scribu):
* keywords: => reporter-feedback
Comment:
This is the documented return value:
{{{
* @return mixed|null|WP_Error Term Row from database. Will return null if
$term is empty. If taxonomy does not exist then WP_Error will be returned.
}}}
So it's the expected behaviour. Could you paste a specific error and in
what context you got it?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11112#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list