[wp-trac] [WordPress Trac] #10445: Undefined variable: term in wp-includes/taxonomy.php on line 188

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 10 09:23:26 UTC 2009


#10445: Undefined variable: term  in wp-includes/taxonomy.php on line 188
--------------------------+-------------------------------------------------
 Reporter:  sirzooro      |       Owner:  ryan            
     Type:  defect (bug)  |      Status:  assigned        
 Priority:  normal        |   Milestone:  Future Release  
Component:  Taxonomy      |     Version:  2.8.1           
 Severity:  normal        |    Keywords:  has-patch tested
--------------------------+-------------------------------------------------

Comment(by dd32):

 I have absolutely no idea what the $term was meant to be for there..

 At present, Its operating as it would without it being there.

 Since that function has absolutely no idea about the data of the term, it
 can safely be removed.

 That function basically sets it to either:

 "issue=" or "taxonomy=issue&term="

 which seems like the correct functionality.. as then it'll get substituted
 as "issue=44" or "taxonomy=issue&term=44" in the query parsing.

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


More information about the wp-trac mailing list