[wp-trac] [WordPress Trac] #4888: Taxonomy clean_object_term_cache uses undefined var

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 1 22:21:07 GMT 2007


#4888: Taxonomy clean_object_term_cache uses undefined var
---------------------+------------------------------------------------------
 Reporter:  arnee    |       Owner:  anonymous 
     Type:  defect   |      Status:  new       
 Priority:  normal   |   Milestone:  2.4 (next)
Component:  General  |     Version:  2.3       
 Severity:  normal   |    Keywords:            
---------------------+------------------------------------------------------
 clean_object_term_cache() uses:
 {{{
 if ( !is_array($ids) )
   $ids = array($ids);
 }}}
 "$ids" is not defined anywhere, but the function has a "$object_ids"
 parameter which isn't used. Should "$ids" be "$object_ids"?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4888>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list