[wp-trac] [WordPress Trac] #53319: Add support for a "reverse" argument in get_term_parents_list() function

WordPress Trac noreply at wordpress.org
Mon Jun 7 17:17:13 UTC 2021


#53319: Add support for a "reverse" argument in get_term_parents_list() function
-------------------------------------------------+-------------------------
 Reporter:  bedas                                |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  5.9
Component:  Taxonomy                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by jnylen0):

 * keywords:  has-patch needs-refresh => has-patch needs-refresh needs-unit-
     tests


Comment:

 Replying to [comment:6 mukesh27]:
 > @jnylen0 is [attachment:"53319.diff"] working for you?
 I've not tested this but the author reports that it is working as intended
 on multiple sites. A unit test or two would be good to confirm correct
 operation now and in the future.

 Also, not sure if this needs an `@since` annotation for the new parameter?

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


More information about the wp-trac mailing list