﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
11112	get_term() does not verify for valid output from wpdb::get_row()	johncoswell	filosofo	"It's possible for wpdb::get_row() to return invalid data from a request to get_term(), yet there's no type checking done on the return value from wpdb::get_row(), which can cause PHP to raise warnings when returning something other than an object. Something similar to this should fix the issue (/wp-includes/taxonomy.php, ~line 332):

{{{
if (is_object($_term)) {
  if ($output == OBJECT) {
    ...
  } elseif (...) {
    ...
  }
} else {
  return $_term; // or maybe WP_Error
}
}}}"	defect (bug)	closed	low	2.9	Taxonomy	2.9	minor	fixed	has-patch	
