[wp-trac] Re: [WordPress Trac] #3566: Request for new function get_page_parents

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 11 15:08:11 GMT 2009


#3566: Request for new function get_page_parents
-----------------------------------+----------------------------------------
 Reporter:  snakefoot              |        Owner:  anonymous
     Type:  enhancement            |       Status:  closed   
 Priority:  normal                 |    Milestone:           
Component:  Template               |      Version:  2.1      
 Severity:  normal                 |   Resolution:  invalid  
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Changes (by Denis-de-Bernardy):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Future Release =>


Comment:

 get_post_ancestors() does the trick. but the ticket was really about
 adding a breadcrumb. there are a few plugins that do this well already.

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


More information about the wp-trac mailing list