[wp-trac] [WordPress Trac] #33565: Add option to pass an array of objects or IDs to $current_category in wp_list_categories()

WordPress Trac noreply at wordpress.org
Wed Aug 26 22:17:53 UTC 2015


#33565: Add option to pass an array of objects or IDs to $current_category in
wp_list_categories()
-------------------------------------+------------------------------
 Reporter:  vilkatis                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Taxonomy                 |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by vilkatis):

 I added two unit tests that I could think of , don't know if that's enough
 or if I did them right.

 I used it for some clients who had products belonging to a couple of
 categories at the same time , as they wanted all relevant categories to be
 highlighted in a sidebar menu.

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


More information about the wp-trac mailing list