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

WordPress Trac noreply at wordpress.org
Sat Oct 26 17:32:34 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:  has-patch commit fixed-major  |
------------------------------------------+--------------------

Comment (by salromano):

 So am I understanding this right? To patch this, I just need to change:

 $excluded_children = array();

 In wp-includes/taxonomy.php to:

 $excluded_children = $exclude_tree;

 ?

 Also, what of the other file, getTerms.php? Where do I find that?

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


More information about the wp-trac mailing list