[wp-trac] Re: [WordPress Trac] #9667: Misinformation in the inline code comment documentation for get_term_children

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 28 12:27:39 GMT 2009


#9667: Misinformation in the inline code comment documentation for
get_term_children
---------------------------+------------------------------------------------
 Reporter:  simonwheatley  |       Owner:  ryan      
     Type:  enhancement    |      Status:  new       
 Priority:  normal         |   Milestone:  Unassigned
Component:  Taxonomy       |     Version:            
 Severity:  minor          |    Keywords:  has-patch 
---------------------------+------------------------------------------------

Comment(by filosofo):

 I think you should use intval instead of absint. Although term ids are not
 going to be negative in most cases (thanks to auto-increment), as far as I
 know nothing precludes them from being negative integers.

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


More information about the wp-trac mailing list