[wp-trac] [WordPress Trac] #10902: Display problem with exclude option in wp_list_pages
WordPress Trac
noreply at wordpress.org
Sat Aug 17 12:56:56 UTC 2013
#10902: Display problem with exclude option in wp_list_pages
-------------------------------+----------------------
Reporter: toutantic | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version: 2.8.4
Severity: normal | Resolution: invalid
Keywords: reporter-feedback |
-------------------------------+----------------------
Description changed by SergeyBiryukov:
Old description:
> Create pages A,B,C and D, A parent of B, B of C and C of D[[BR]]
> A[[BR]]
> -B[[BR]]
> --C[[BR]]
> ---D[[BR]]
>
> call in a template
> <?php wp_list_pages("exclude=6"); ?>
> (6 is the ID of page B)
>
> I get this display :[[BR]]
> * A[[BR]]
> * C[[BR]]
> * D[[BR]]
>
> when I expect :[[BR]]
> * A[[BR]]
> * C[[BR]]
> -* D[[BR]]
New description:
Create pages A,B,C and D, A parent of B, B of C and C of D
{{{
A
-B
--C
---D
}}}
call in a template
{{{
<?php wp_list_pages("exclude=6"); ?>
}}}
(6 is the ID of page B)
I get this display:
{{{
* A
* C
* D
}}}
when I expect:
{{{
* A
* C
-* D
}}}
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10902#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list