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

WordPress Trac noreply at wordpress.org
Thu Apr 4 15:57:47 UTC 2013


#23708: get_post_ancestors() no longer works inside loop
------------------------------+---------------------
 Reporter:  ripsup            |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5.2
Component:  Post Types        |     Version:  3.5
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

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

 Merges [23635] to the 3.5 branch.
 fixes #23708.
 }}}

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


More information about the wp-trac mailing list