[wp-trac] [WordPress Trac] #30843: get_ancestors filter: Parameter is missing

WordPress Trac noreply at wordpress.org
Thu Jan 8 06:09:58 UTC 2015

#30843: get_ancestors filter: Parameter is missing
 Reporter:  tmatsuur                      |       Owner:  jorbin
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  4.1.1
Component:  Posts, Post Types             |     Version:  4.1
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  has-patch commit fixed-major  |     Focuses:
Changes (by jorbin):

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


 In [changeset:"31084"]:
 #!CommitTicketReference repository="" revision="31084"
 Pass $resource_type to 'get_ancestors' filter.

 The $resource_type argument was added to the get_ancestors() function in
 [30141]. In that changeset, the documentation for the filter was updated
 indicate that it would receive $resource_type as a param, but the filter
 itself was not updated accordingly.

 Merges [30993] to 4.1 branch

 Props tmatsuur, DrewAPicture.
 Fixes #30843.

Ticket URL: <https://core.trac.wordpress.org/ticket/30843#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list