[wp-trac] Re: [WordPress Trac] #5662: Class Ancestor Pages

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 15 03:56:26 GMT 2008


#5662: Class Ancestor Pages
---------------------------+------------------------------------------------
 Reporter:  AaronCampbell  |        Owner:  anonymous
     Type:  enhancement    |       Status:  new      
 Priority:  normal         |    Milestone:  2.5      
Component:  General        |      Version:           
 Severity:  normal         |   Resolution:           
 Keywords:  has-patch      |  
---------------------------+------------------------------------------------
Changes (by AaronCampbell):

  * keywords:  => has-patch

Comment:

 I only have 2.3.2 installed, so I can't test this patch right now on
 trunk, and it *is* slightly different (get_page changed).  Basically, it
 achieves what the plugin does, but it does it in `get_pages` and
 `get_post`.  For `get_post`, it uses a new function,
 `get_post_ancestors()`.  Someone please test it and let me know how it
 works.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5662#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list