[wp-trac] [WordPress Trac] #8050: is_child()

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 19 15:52:48 UTC 2010


#8050: is_child()
----------------------------+-----------------------------------------------
 Reporter:  youngmicroserf  |       Owner:  westi          
     Type:  enhancement     |      Status:  accepted       
 Priority:  normal          |   Milestone:  Awaiting Triage
Component:  Template        |     Version:                 
 Severity:  normal          |    Keywords:  needs-patch    
----------------------------+-----------------------------------------------

Comment(by scribu):

 I was about to make cat_is_ancestor_of() use get_ancestors().

 Then I realized that cat_is_ancestor_of(), as it is now, will stop once it
 finds a match, whereas get_ancestors() wouldn't.

 So yeah, disregard comment:8

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


More information about the wp-trac mailing list