WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16202


Ignore:
Timestamp:
01/12/11 17:30:12 (3 years ago)
Author:
dd32
Comment:

The attached patch needs to be updated to allow an array to be passed.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16202

    • Property Component changed from Menus to Template
    • Property Summary changed from Exclude tree bug to Add support to get_pages() to allow multiple exclude_tree exclusions
    • Property Milestone changed from Awaiting Review to Future Release
    • Property Keywords needs-patch added; exclude tree post removed
    • Property Type changed from defect (bug) to enhancement
  • Ticket #16202 – Description

    initial v1  
    1 While adding more items in the wp_list_pages to the '''exclude tree''' argument (like 12,41,11) only the first tree is excluded.  
     1get_pages() does not support the use of multiple parents in the exclude_tree arguement. 
     2 
     3The attached patch allows for a comma seperated list to be passed.