[wp-trac] [WordPress Trac] #23708: get_post_ancestors() no longer works inside loop

WordPress Trac noreply at wordpress.org
Thu Mar 7 06:49:47 UTC 2013


#23708: get_post_ancestors() no longer works inside loop
-------------------------------+--------------------
 Reporter:  ripsup             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  3.5.2
Component:  Post Types         |     Version:  3.5
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+--------------------

Comment (by nacin):

 In [changeset:"23635"]:
 {{{
 #!CommitTicketReference repository="" revision="23635"
 Allow get_post_ancestors() to inspect the $post global, when null/0 is
 received. see #23708.
 }}}

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


More information about the wp-trac mailing list