Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#17354 closed enhancement (duplicate)

Let the add_*_page() functions take an array

Reported by: markjaquith Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Plugins Keywords:
Focuses: Cc:


For some of the admin header changes we're working on for the UI refresh, we need some more things to be specified when registering admin pages. Our existing functions take far too many parameters to be order-based. Let's have it accept a named array, which will be the exclusive way of specifying any new parameters we add.

Change History (3)

#1 @markjaquith
7 years ago

  • Resolution set to duplicate
  • Status changed from new to closed
  • Summary changed from Let the add_*_menu() functions take an array to Let the add_*_page() functions take an array

Duplicate of #15067

#2 @nacin
7 years ago

  • Type changed from task (blessed) to enhancement

#3 @nacin
7 years ago

  • Milestone 3.2 deleted
Note: See TracTickets for help on using tickets.