[wp-trac] Re: [WordPress Trac] #7029: get_post_ancestors() is broken

WordPress Trac wp-trac at lists.automattic.com
Fri May 30 18:18:20 GMT 2008


#7029: get_post_ancestors() is broken
-------------------------+--------------------------------------------------
 Reporter:  temoto       |        Owner:  anonymous
     Type:  defect       |       Status:  new      
 Priority:  normal       |    Milestone:  2.5.2    
Component:  General      |      Version:  2.5.1    
 Severity:  normal       |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------
Comment (by mdawaffe):

 get_post() can take post IDs or post object, (or be told to get the global
 {{{$post}}} by passing it 0).

 Attached.  I think the argument to get_post_ancestors() should not be a
 reference, but I'm not positive.

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


More information about the wp-trac mailing list