Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#19478 closed enhancement (duplicate)

exclude_tree parameter should be an array

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

Description

When using exclude_tree as a parameter in wp_dropdown_pages you only can fill in one page id.
The codex says you can fill in a comma-separated list of parent Page IDs but that is incorrect.

I think it is better to make it an array and make a change to get_pages

Change History (3)

#1 @dd32
15 years ago

  • Component General → Template
  • Type defect (bug) → enhancement

updated codex to reflect it's intended purpose - to exclude a single tree.

#2 @SergeyBiryukov
14 years ago

  • Keywords dev-feedback removed
  • Milestone Awaiting Review
  • Status new → closed

Duplicate of #9153.

#3 @SergeyBiryukov
14 years ago

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