[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 15:10:44 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:  2.9      
Component:  Taxonomy      |     Version:  2.9      
 Severity:  minor         |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by scribu):

  * keywords:  reporter-feedback => has-patch
  * milestone:  Unassigned => 2.9


Comment:

 Oh, I see. You're right. It should check for a null value before
 filtering, etc.

 See attached patch.

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


More information about the wp-trac mailing list