[wp-trac] [WordPress Trac] #8558: Excluding a page from
wp_list_pages doesn't exclude children
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 10 14:16:51 GMT 2008
#8558: Excluding a page from wp_list_pages doesn't exclude children
----------------------+-----------------------------------------------------
Reporter: donpaolo | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7.1
Component: General | Version: 2.7
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
I have a page titled "About" with ID "5" and its child "Me" with ID "6".
If I write:
<?php wp_list_pages('exclude=5&title_li='); ?>
The "Me" page still shows up as a link.
wp_list_pages should exclude the children of the excluded pages, too.
It's reported in http://wordpress.org/support/topic/194657?replies=3 that
this bug appeared after 2.3 version.
--
Ticket URL: <http://trac.wordpress.org/ticket/8558>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list