﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
8683,exclude_tree in wp_list_pages not working consistently,jayp,anonymous,"The exlcude_tree parameter in the template tag wp_list_pages is not working reliably for me. I have a situation with pages and child pages, and when using the following,

{{{
wp_list_pages('title_li=&sort_column=menu_order&exclude_tree=2,50,51,379');
}}}

shows page 379 and its child nodes and shows the child nodes of 51 but not 51 itself.

Changing the function to:

{{{
wp_list_pages('title_li=&sort_column=menu_order&exclude=2,50,51,379&exclude_tree=2,50,51,379');
}}}

Then hides 379 but not its child nodes. The child nodes of 51 also remain visible.

I've moved 379 and 51 to various levels in the pages hierachy. I've set their status to draft and then published them again. Nothing makes a difference.

I'm terribly sorry I can't be more specific for the conditions that are causing the bug. I am happy to allow someone to look at the database and site if need be.",defect (bug),closed,normal,,Template,2.7,normal,duplicate,has-patch needs-testing reporter-feedback,
