[wp-trac] [WordPress Trac] #25710: wp_list_categories 'exclude' not excluding categories

WordPress Trac noreply at wordpress.org
Sat Oct 26 06:47:18 UTC 2013


#25710: wp_list_categories 'exclude' not excluding categories
--------------------------+--------------------
 Reporter:  mbijon        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.7.1
Component:  Template      |     Version:  3.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+--------------------

Comment (by dd32):

 This was caused by [25162].

 The behaviour of the `exclude_tree` `get_terms()` parameter changed, it
 now only excludes the children, not the actual parents, which is wrong.

 Patch and unit tests incoming.

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


More information about the wp-trac mailing list