Make WordPress Core

Opened 16 years ago

Closed 13 years ago

Last modified 13 years ago

#16202 closed enhancement (duplicate)

Add support to get_pages() to allow multiple exclude_tree exclusions

Reported by: jefsnare Owned by:
Priority: normal Milestone:
Component: Template Version: 3.1
Severity: normal Keywords:
Cc: Focuses:

Description (last modified by dd32)

get_pages() does not support the use of multiple parents in the exclude_tree arguement.

The attached patch allows for a comma seperated list to be passed.

Attachments (1)

exclude_tree.patch​ (1.1 KB ) - added by jefsnare 16 years ago.

Download all attachments as: .zip

Change History (4)

#1 @dd32
16 years ago

  • Component Menus → Template
  • Description modified (diff)
  • Keywords needs-patch added; exclude tree post removed
  • Milestone Awaiting Review → Future Release
  • Summary Exclude tree bug → Add support to get_pages() to allow multiple exclude_tree exclusions
  • Type defect (bug) → enhancement

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

#2 @SergeyBiryukov
13 years ago

  • Keywords needs-patch removed
  • Milestone Future Release
  • Status new → closed

Duplicate of #9153.

#3 @SergeyBiryukov
13 years ago

  • Resolution → duplicate
Note: See TracTickets for help on using tickets.