[wp-trac] [WordPress Trac] #6976: Warning from uninitalized index args in taxonomy.php wp_get_object_terms

WordPress Trac wp-trac at lists.automattic.com
Thu May 15 17:17:05 GMT 2008


#6976: Warning from uninitalized index args in taxonomy.php wp_get_object_terms
---------------------+------------------------------------------------------
 Reporter:  minddog  |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.6      
Component:  General  |     Version:  2.5.1    
 Severity:  normal   |    Keywords:           
---------------------+------------------------------------------------------
 To reproduce the issue, turn on debug mode and do a base installation of
 wordpress.  To resolve this issue of only using args property of a
 taxonomy object is to check to see if $taxonomy->args has been set before
 using.  The patch attached adds an isset() to the start of an if-statement
 to let the operation continue and to remove the warning from happening.

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


More information about the wp-trac mailing list