Opened 18 months ago

Closed 2 weeks ago

Last modified 2 weeks 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: markoheijnen

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)

  • Component changed from General to Template
  • Type changed from defect (bug) to enhancement

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

  • Keywords dev-feedback removed
  • Milestone Awaiting Review deleted
  • Status changed from new to closed

Duplicate of #9153.

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