[wp-trac] [WordPress Trac] #15029: Make it possible to determine resource in get_ancestors()

WordPress Trac noreply at wordpress.org
Sat Nov 1 02:57:33 UTC 2014


#15029: Make it possible to determine resource in get_ancestors()
--------------------------+---------------------------
 Reporter:  filosofo      |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Taxonomy      |     Version:  3.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30141"]:
 {{{
 #!CommitTicketReference repository="" revision="30141"
 Allow resource_type to be specified in `get_ancestors()`.

 Being explicit about resource type (taxonomy vs post_type) allows for the
 proper resolution of conflicts when a taxonomy and post_type share a slug.

 Props filosofo.
 Fixes #15029.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15029#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list