[wp-trac] [WordPress Trac] #25710: wp_list_categories 'exclude' not excluding categories
WordPress Trac
noreply at wordpress.org
Sat Oct 26 17:54:28 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):
Replying to [comment:9 mbijon]:
> Replying to [comment:8 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;
>
> That's correct. Just change the 1-line and your WP will work again.
>
> The other file is a unit test that the core devs can run to check this
isn't broken in the future. You don't need it at all to run WP.
Got it. Thanks, mate. Worked like a charm!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25710#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list