[wp-trac] [WordPress Trac] #1277: Extend is_page() to support child_of and decendent_of

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 3 22:10:33 UTC 2011


#1277: Extend is_page() to support child_of and decendent_of
--------------------------+-------------------------
 Reporter:  astorm        |       Owner:  westi
     Type:  enhancement   |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Template      |     Version:  2.1
 Severity:  normal        |  Resolution:  worksforme
 Keywords:  dev-feedback  |
--------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => worksforme
 * milestone:  Future Release =>


Comment:

 As solarissmoke pointed out, it's now possible to use `get_ancestors()`.

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


More information about the wp-trac mailing list