WordPress.org

Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #10902


Ignore:
Timestamp:
08/17/13 12:56:55 (2 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10902

    • Property Keywords reporter-feedback added; wp_list_pages removed
    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
    • Property Milestone changed from Unassigned to
  • Ticket #10902 – Description

    initial v5  
    1 Create pages A,B,C and D, A parent of B, B of C and C of D[[BR]] 
    2 A[[BR]] 
    3 -B[[BR]] 
    4 --C[[BR]] 
    5 ---D[[BR]] 
    6  
     1Create pages A,B,C and D, A parent of B, B of C and C of D 
     2{{{ 
     3A 
     4-B 
     5--C 
     6---D 
     7}}} 
    78call in a template  
     9{{{ 
    810<?php wp_list_pages("exclude=6"); ?> 
     11}}} 
    912(6 is the ID of page B) 
    1013 
    11 I get this display :[[BR]] 
    12 * A[[BR]] 
    13 * C[[BR]] 
    14 * D[[BR]] 
    15  
    16 when I expect :[[BR]] 
    17 * A[[BR]] 
    18 * C[[BR]] 
    19 -* D[[BR]] 
     14I get this display: 
     15{{{ 
     16* A 
     17* C 
     18* D 
     19}}} 
     20when I expect: 
     21{{{ 
     22* A 
     23* C 
     24-* D 
     25}}}